本文へ移動
cccskills
無料GitHub で公開

project-analysis-symfony

Use for deep Symfony project analysis: kernel/bootstrap, container wiring, routing/request flow, Doctrine, security, Messenger, and Symfony-specific failure patterns.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md3.8 KB

SKILL.md(原文)

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

project-analysis-symfony

When to use

Use this skill when:

  • The project uses Symfony
  • A deep Symfony-specific analysis is needed
  • universal-project-analysis routes here after framework detection
  • The issue spans kernel boot, DI, Doctrine, security, or Messenger

Do NOT use when:

  • The task is a small isolated Symfony code change
  • The issue is already narrowed to a different specialist skill
  • The project is not actually Symfony

Core principles

  • Symfony behavior is highly container-driven
  • Environment-specific config changes meaningfully affect runtime
  • Service wiring and priority/order issues are common
  • Doctrine and Messenger often hide critical operational behavior
  • Security configuration must be traced end-to-end

Procedure

1. Confirm Symfony version and app shape

Check: composer.lock, composer.json, Symfony packages/components, PHP version, environment config structure. Validate: Symfony version is explicit, major bundles/components are identified, environment-specific config layout is known.

2. Analyze kernel and container boot

Inspect: Kernel bootstrap, bundle registration, compiler passes, services.yaml, autowiring/autoconfigure patterns, manual aliases/bindings, cache warmup/compiled container assumptions.

Check:

  • autowiring conflicts
  • decoration order
  • tagged service priority
  • circular dependency symptoms
  • private/public service misuse

3. Trace request-to-response flow

Trace: route → request listeners/subscribers → controller → service layer → repository/Doctrine → serializer/forms → response. Validate: request lifecycle is visible, security checks are visible, serializer/form behavior is explicit, response transformation path is clear.

4. Analyze Doctrine and persistence

Inspect: entity mapping, repositories, lifecycle callbacks, subscribers/listeners, migration posture, DQL/QueryBuilder/native SQL usage.

Check:

  • schema drift
  • proxy/lazy-loading issues
  • N+1 behavior
  • wrong lifecycle hook usage
  • transaction boundaries

5. Analyze security and Messenger

Inspect: firewalls, authenticators, voters, access rules, Messenger transports, handler routing, retry/failed-message behavior.

Check:

  • auth flow correctness
  • firewall separation/context sharing
  • voter assumptions
  • failed-message handling
  • serialization/transport issues

6. Validate Symfony analysis quality

Check:

  • kernel/container behavior is explicit
  • request/security/doctrine paths are mapped
  • version-specific Symfony behavior was considered
  • Messenger/security risks are evidence-based
  • next specialist skill is clear if needed

Output format

  1. Symfony version and app summary
  2. Kernel/container findings
  3. Request/security flow
  4. Doctrine findings
  5. Messenger/async findings
  6. Key risks and next steps

Gotcha

  • In Symfony, configuration and service wiring often explain more than the controller code.
  • Compiler passes, decorators, tags, and priorities can change behavior in non-obvious ways.
  • Doctrine and Messenger issues often appear as "application bugs" but originate in framework integration details.

Do NOT

  • Do NOT analyze Symfony without explicit version context
  • Do NOT ignore service wiring and container behavior
  • Do NOT treat Doctrine entities as simple data objects without lifecycle effects
  • Do NOT skip security/firewall flow when access issues exist
  • Do NOT ignore Messenger transport and retry behavior in async problems

レビュー

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

同じリポジトリのスキル

概要と使いどころ

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月12日 更新

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月12日 更新

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月12日 更新

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月12日 更新

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月12日 更新

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月12日 更新

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

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