跳到正文
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(原文)

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

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

评价

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

评论

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

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

提交后会立即公开。请勿填写邮箱、电话等个人信息。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-config122026年10月18日 更新

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-config122026年10月18日 更新

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-config122026年10月18日 更新

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-config122026年10月18日 更新

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-config122026年10月18日 更新

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-config122026年10月18日 更新

查看 event4u-app 的全部技能

报告此技能的问题