跳到正文
cccskills
免费在 GitHub 公开

project-analysis-zend-laminas

Use for deep Zend Framework or Laminas project analysis: bootstrap, config merge order, service manager, MVC flow, data layer, and migration-specific risks.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md3.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

project-analysis-zend-laminas

When to use

Use this skill when:

  • The project uses Zend Framework or Laminas
  • A deep framework-specific analysis is needed
  • universal-project-analysis routes here after framework detection
  • The issue spans bootstrap, config merge, ServiceManager, MVC flow, or migration concerns

Do NOT use when:

  • The task is a small isolated change
  • The project is not Zend/Laminas
  • The issue is already isolated to another specialist domain

Core principles

  • Config merge order is runtime behavior
  • ServiceManager resolution rules matter
  • Shared services can hide state issues
  • Legacy Zend/Laminas migrations often preserve subtle compatibility traps
  • MVC flow and module boundaries must be traced explicitly

Procedure

1. Confirm framework generation and version

Check: composer.lock, composer.json, Zend vs Laminas packages, PHP version, migration-related packages. Validate: framework family is explicit, migration state is known, major modules/components are identified.

2. Analyze bootstrap and config merge order

Inspect: application bootstrap, module loading order, global/local/autoload config, environment-specific overrides, Module.php lifecycle hooks.

Check:

  • merge order surprises
  • missing overrides
  • environment config mismatches
  • heavy bootstrap logic

3. Analyze ServiceManager behavior

Inspect: factories, abstract factories, delegators, initializers, shared vs non-shared services, service aliases.

Check:

  • incorrect sharing/state leakage
  • slow abstract factory fallback
  • delegator order problems
  • initialization side effects

4. Trace request-to-response flow

Trace: route match → dispatch/listener flow → controller → service layer → data access → view model/response rendering. Validate: authorization/input filtering path is visible, service resolution path is visible, rendering flow is explicit.

5. Analyze data layer and migration risks

Inspect: TableGateway/hydrators, Doctrine if present, SQL abstraction vs raw queries, buffered/unbuffered result usage, Zend → Laminas migration artifacts.

Check:

  • namespace drift
  • hidden legacy references
  • data mapping inconsistencies
  • memory/performance risks on large result sets

6. Validate Zend/Laminas analysis quality

Check:

  • bootstrap and merge order are explicit
  • ServiceManager behavior is mapped
  • MVC and data flow are traceable
  • migration/legacy risks are evidence-based
  • next specialist skill is clear if needed

Output format

  1. Framework/version summary
  2. Bootstrap/config findings
  3. ServiceManager findings
  4. MVC/data flow findings
  5. Migration/legacy risks
  6. Key risks and next steps

Gotcha

  • Many Zend/Laminas issues are caused by config order and service resolution, not controller code.
  • Shared services and legacy migration remnants can create cross-request or environment-specific bugs.
  • Old project behavior may depend on historical bootstrap side effects that are easy to miss.

Do NOT

  • Do NOT assume Laminas behavior if the project still carries Zend-era patterns
  • Do NOT ignore config merge order
  • Do NOT ignore shared-service behavior
  • Do NOT treat migration leftovers as harmless
  • Do NOT stop at controller code when bootstrap or ServiceManager behavior is involved

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use when reviewing UI for accessibility — WCAG 2.2 AA, keyboard nav, focus, ARIA, contrast, screen-reader semantics — even on 'is this a11y-OK?' or 'mach das barrierefrei'.

中文简介正在准备中。当前显示原文说明。

event4u-app/agent-config132026年10月22日 更新

Use when defining or auditing the activation event — aha-moment selection, retention correlation, falsifiable definition. Triggers on 'what is our aha moment', 'redefine activation'.

中文简介正在准备中。当前显示原文说明。

event4u-app/agent-config132026年10月22日 更新

Use when capturing an architectural decision — file naming, next ADR number, Status / Context / Decision / Consequences, index regen; fires even without saying 'ADR'.

中文简介正在准备中。当前显示原文说明。

event4u-app/agent-config132026年10月22日 更新

Adversarial critique — devil's advocate, stress-test, honest teardown ('poke holes', 'be brutal', 'was hältst du davon'); explicit request only. Routine code or design review → code-review.

中文简介正在准备中。当前显示原文说明。

event4u-app/agent-config132026年10月22日 更新

Use when reading, creating, or updating agent documentation, module docs, roadmaps, or AGENTS.md. Understands the full .augment/, agents/, and copilot-instructions structure.

中文简介正在准备中。当前显示原文说明。

event4u-app/agent-config132026年10月22日 更新

Use for an adversarial red-team / blue-team / auditor review of an AI agent's CONFIG + behaviour (rules, skills, MCP, hooks, permissions) — attack-chain → defensive-gap list, not a code audit.

中文简介正在准备中。当前显示原文说明。

event4u-app/agent-config132026年10月22日 更新

查看 event4u-app 的全部技能

报告此技能的问题