本文へ移動
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(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

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-config112026年10月13日 更新

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-config112026年10月13日 更新

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-config112026年10月13日 更新

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-config112026年10月13日 更新

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-config112026年10月13日 更新

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-config112026年10月13日 更新

event4u-app のスキルをすべて見る

このスキルの問題を報告する