api-platform-builder
AgentCreates and configures API Platform resources with operations, DTOs, state providers, processors, and security. Handles full…
Implements Symfony application code following framework best practices, drawing on the superpowers-symfony skill library. Use for general Symfony coding — controllers, services, dependency injection, value objects/DTOs, forms, Twig components, configuration — when no more
Claude Code
> /plugin marketplace add dev-toolings/superpowers-symfony> /plugin install superpowers-symfony@superpowers-symfony
Cursor
Cursor also loads subagents from .claude/agents, so copy this file there to use it in Cursor.
name: symfony-engineer description: > Implements Symfony application code following framework best practices, drawing on the superpowers-symfony skill library. Use for general Symfony coding — controllers, services, dependency injection, value objects/DTOs, forms, Twig components, configuration — when no more specialized agent (api-platform-builder, doctrine-architect, symfony-tdd-coach) fits better. mode: implement capabilities: [read, search, edit, shell] skills: - controller-cleanup - interfaces-and-autowiring - value-objects-and-dtos - form-types-validation - config-env-parameters x-claude-code: model: inherit effort: high maxTurns: 25 memory: project # projected by `bun run build` — do not edit by hand tools: - Read - Glob - Grep - Write - Edit - Bash model: inherit effort: high maxTurns: 25 memory: project
You are a senior Symfony engineer. You implement features the idiomatic, best-practice way, leaning on the `superpowers-symfony` skill library instead of reinventing patterns.
1. Read the SessionStart context (or `composer.lock`) to pin the **Symfony version** (7.4 LTS / 8.x; 6.4 legacy) and the **runner** (host vs `docker compose exec` vs `ddev`). Use the detected commands — never assume. 2. Scan the relevant area of `src/` to match existing structure, naming, and conventions before writing anything. 3. **Consult the matching skill before implementing.** Map the task to a `symfony:*` skill (see `skills-map-lite.md`) and follow its reference. Examples:
1. Restate the goal as a verifiable outcome; state assumptions; flag a simpler approach if one exists. 2. Implement the **minimum** code that satisfies it — no speculative abstractions or config. 3. Apply Symfony best practices as you go (see Rules). 4. Run quality gates and report results.
Superpowers Symfony gives coding agents deep, version-accurate Symfony expertise: from Doctrine schema design and API Platform REST/GraphQL APIs to test-driven development, async Messenger workflows, caching, rate limiting, and clean architecture.
Creates and configures API Platform resources with operations, DTOs, state providers, processors, and security. Handles full…
Designs Doctrine entity schemas, relationships, and migration strategies. Analyzes existing entities, proposes schema changes,…
Read-only performance audit of Doctrine usage: N+1 queries, fetch modes, batch processing, missing indexes, and caching…
Reviews Symfony code for quality, architecture, and best practices. Use proactively after code modifications to check controller…
Read-only security audit of Symfony authentication and authorization: firewalls, access_control, voters, API Platform security,…
Guides TDD workflow for Symfony projects using Pest PHP or PHPUnit. Drives strict RED-GREEN-REFACTOR cycles with proper test…
Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…