superpowers-symfony
A Symfony-focused toolkit for Claude Code providing TDD (Pest/PHPUnit), Doctrine ORM, API Platform, Messenger, Voters, quality checks (PHP-CS-Fixer/PHPStan), and pragmatic architecture patterns - Docker Compose and Symfony Docker (FrankenPHP) compatible
pinned to #fecf68dupdated 2 weeks ago
Ask your AI client: “install plugins/superpowers-symfony”.
Requires the metahub MCP server installed in your client. Set up MCP.
mh install plugins/superpowers-symfonymetahub onboarded this repo on the author's behalf.
If you own github.com/MakFly/superpowers-symfony on GitHub, claim the listing to take over publishing. Your claim preserves the existing eval history and badges; only the curator label is replaced with verified-publisher on your next publish.
Stars
173
Last commit
2 weeks ago
Latest release
published
- #ai-agents
- #anthropic
- #api-platform
- #claude-code
- #claude-code-plugin
- #cqrs
- #ddd
- #developer-tools
- #doctrine
- #doctrine-orm
- #frankenphp
- #hexagonal-architecture
- #llm
- #pest
- #php
- #phpunit
- #symfony
- #symfony-bundle
- #symfony-messenger
- #tdd
What's bundled
Items extracted from this plugin's manifest + directory tree.
Skills (44)
skills/api-platform-dto-resourcesMap entities to API DTOs in API Platform v4 with the Symfony Object Mapper (#[Map], stateOptions) for decoupled input/output contractsskills/api-platform-filtersImplement API Platform filters - v4 Parameters API (QueryParameter) and legacy #[ApiFilter] - for search, date, range, boolean, and custom filteringskills/api-platform-resourcesConfigure API Platform v4 resources with explicit operations, pagination, and typed OpenAPI for clean, versioned REST/GraphQL APIsskills/api-platform-securitySecure API Platform resources with security expressions, voters, securityPostValidation, and operation-level access controlskills/api-platform-serializationControl API Platform serialization with groups, #[Context], IRI links (readableLink/writableLink), and custom context buildersskills/api-platform-state-providersMaster API Platform v4 State Providers and Processors (ProviderInterface/ProcessorInterface) to decouple data retrieval and persistence from entitiesskills/api-platform-testsTest API Platform resources with ApiTestCase; assert collections, items, filters, JSON schema, and authenticationskills/api-platform-versioningEvolve API Platform APIs via deprecation (deprecationReason/sunset, RFC 8594/9745), the recommended alternative to versioning; plus path/header strategies
Commands (8)
/brainstormUse the `symfony:brainstorming` skill exactly as written./execute-planUse the `symfony:executing-plans` skill exactly as written./symfony-api-resourcesUse the `symfony:api-platform-resources` skill exactly as written./symfony-cacheUse the `symfony:symfony-cache` skill exactly as written./symfony-checkUse the `symfony:quality-checks` skill exactly as written./symfony-doctrine-relationsUse the `symfony:doctrine-relations` skill exactly as written./symfony-fixturesUse the `symfony:doctrine-fixtures-foundry` skill exactly as written./symfony-messengerUse the `symfony:symfony-messenger` skill exactly as written.
Subagents (7)
api-platform-builder>doctrine-architect>doctrine-performance-optimizer>symfony-engineer>symfony-reviewer>symfony-security-auditor>symfony-tdd-coach>
Evaluation report
WarningsAutomated checks the publisher passed at publish time — structure, docs, safety, and whether the artifact behaves as claimed.fecf68d· 2 weeks ago
Maintenance
21Recent activity
last push 12 days ago
Tests detectedwarn
no test/tests/__tests__/spec/t/ dirs, no JVM src/test/, and no JS/TS/Python/Go/Ruby/Elixir test files
Add tests (even a smoke test). Consumers gauge maintenance quality by their presence.
CI configuration detected
GitHub Actions (3 workflows)
Release history
1- releasecurrentfecf68dwarn2 weeks ago
Contents
Symfony AI development superpowers for Claude Code. 44 expert skills, 7 specialized subagents, and 13 slash commands covering API Platform v4, Doctrine ORM 3, TDD with Pest & PHPUnit, Symfony Messenger, security/voters, and DDD / hexagonal architecture.
Superpowers Symfony is a Claude Code plugin that gives AI 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. It targets Symfony 7.4 LTS and 8.x (6.4 LTS supported as legacy), API Platform v4 (v3 legacy), and Doctrine ORM 3 — so the guidance, signatures, and code examples match the framework you actually run.
Features
- Specialized Agents - 7 subagents with skill preloading and project memory
- TDD Workflows - RED-GREEN-REFACTOR with Pest PHP or PHPUnit
- Doctrine Mastery - Relations, migrations, transactions, Foundry fixtures
- API Platform - Resources, filters, serialization, versioning, DTOs
- Symfony Messenger - Async processing, handlers, retry strategies
- Security - Voters, rate limiting, form validation
- Architecture - Hexagonal/Ports & Adapters, CQRS, DI patterns
- Quality - PHP-CS-Fixer, PHPStan integration
- Docker Support - Docker Compose, Symfony Docker (FrankenPHP), DDEV
- Auto-detection - Detects Symfony version, API Platform, Docker setup, and test framework at session start
Installation
From the marketplace (recommended)
# Add the marketplace
/plugin marketplace add MakFly/superpowers-symfony
# Install the plugin
/plugin install superpowers-symfony@superpowers-symfony
For your team (project-scoped)
Add to your project's .claude/settings.json:
{
"extraKnownMarketplaces": {
"superpowers-symfony": {
"source": {
"source": "github",
"repo": "MakFly/superpowers-symfony"
}
}
},
"enabledPlugins": {
"superpowers-symfony@superpowers-symfony": true
}
}
Usage
Once installed, skills and commands are available automatically. Claude can invoke them based on task context, or you can call them explicitly.
Skills (invoke with /skill-name)
/symfony:tdd-with-pest
/symfony:doctrine-relations
/symfony:api-platform-dto-resources
Slash commands
/brainstorm
/write-plan
/execute-plan
/symfony-check
Available Skills
Onboarding & Configuration
| Skill | Description |
|---|---|
using-symfony-superpowers | Entry point and overview |
runner-selection | Docker vs Host environment detection |
bootstrap-check | Project verification and setup |
daily-workflow | Daily development workflow |
effective-context | Context management best practices |
Testing
| Skill | Description |
|---|---|
tdd-with-pest | TDD workflow with Pest PHP |
tdd-with-phpunit | TDD workflow with PHPUnit |
functional-tests | WebTestCase for HTTP testing |
api-platform-tests | API Platform test utilities |
test-doubles-mocking | Mocks, stubs, and fakes |
e2e-panther-playwright | End-to-end browser testing |
Doctrine ORM
| Skill | Description |
|---|---|
doctrine-relations | Entity relationships (1:1, 1:N, N:N) |
doctrine-migrations | Schema versioning |
doctrine-fixtures-foundry | Test data factories with Foundry |
doctrine-transactions | Transaction handling |
doctrine-batch-processing | Bulk operations |
doctrine-fetch-modes | Performance optimization |
API Platform
| Skill | Description |
|---|---|
api-platform-resources | Resource configuration |
api-platform-filters | Search and filtering |
api-platform-serialization | Serialization groups |
api-platform-state-providers | Custom State Providers & Processors |
api-platform-dto-resources | DTO-based API Resources |
api-platform-security | API security patterns |
api-platform-versioning | API versioning strategies |
Messenger & Async
| Skill | Description |
|---|---|
symfony-messenger | Message handling basics |
messenger-retry-failures | Error handling and retries |
symfony-scheduler | Scheduled tasks |
Security
| Skill | Description |
|---|---|
symfony-voters | Authorization logic |
form-types-validation | Form and validation |
rate-limiting | Rate limiter configuration |
Architecture
| Skill | Description |
|---|---|
interfaces-and-autowiring | Dependency injection |
ports-and-adapters | Hexagonal architecture |
strategy-pattern | Tagged services pattern |
cqrs-and-handlers | Command/Query separation |
value-objects-and-dtos | Value objects design |
config-env-parameters | Environment configuration |
Quality & Performance
| Skill | Description |
|---|---|
quality-checks | PHP-CS-Fixer, PHPStan |
symfony-cache | Caching strategies |
controller-cleanup | Thin controllers pattern |
twig-components | Twig component patterns |
Planning & Workflow
| Skill | Description |
|---|---|
brainstorming | Structured brainstorming sessions |
writing-plans | Implementation planning |
executing-plans | Plan execution with checkpoints |
Slash Commands
| Command | Description |
|---|---|
/brainstorm | Start a brainstorming session |
/write-plan | Create an implementation plan |
/execute-plan | Execute plan with TDD |
/symfony-check | Run quality checks |
/symfony-tdd-pest | TDD workflow with Pest |
/symfony-tdd-phpunit | TDD workflow with PHPUnit |
/symfony-migrations | Doctrine migrations helper |
/symfony-fixtures | Generate test fixtures |
/symfony-doctrine-relations | Design entity relations |
/symfony-api-resources | Create API resources |
/symfony-voters | Implement authorization |
/symfony-messenger | Setup async messaging |
/symfony-cache | Configure caching |
Agents
Specialized subagents that Claude auto-delegates to based on task context. Each agent has skill preloading and project-scoped memory that persists across sessions.
| Agent | Description | Model | Mode |
|---|---|---|---|
symfony-reviewer | Code review for Symfony quality, architecture, and best practices | Sonnet | Read-only |
symfony-tdd-coach | TDD workflow with strict RED-GREEN-REFACTOR cycles | Inherit | Read/Write |
doctrine-architect | Entity design, relationship modeling, and migration planning | Inherit | Read-only (proposes) |
api-platform-builder | API resource scaffolding with DTOs, providers, and security | Inherit | Read/Write |
Claude invokes agents automatically based on your task. You can also reference them explicitly:
@agent-symfony-reviewer look at my recent changes
@agent-symfony-tdd-coach help me write tests for UserService
@agent-doctrine-architect design entities for an e-commerce app
@agent-api-platform-builder create a Product API resource
Supported Versions
| Framework | Version | Status |
|---|---|---|
| Symfony | 8.1 (stable) | Supported |
| Symfony | 8.0 | Supported |
| Symfony | 7.4 LTS | Supported (current LTS) |
| Symfony | 6.4 LTS | Supported (legacy, EOL bugfix 11/2026) |
| API Platform | 4.x | Supported |
| API Platform | 3.x | Supported (legacy) |
Docker Support
The plugin automatically detects your Docker setup at session start:
| Setup | Detection |
|---|---|
| Symfony Docker (FrankenPHP) | compose.yaml with frankenphp/caddy |
| DDEV | .ddev/ directory |
| Docker Compose | compose.yaml / docker-compose.yml |
| Host | Fallback when no Docker detected |
Commands (bin/console, composer, tests) are automatically prefixed with the correct Docker exec wrapper.
Project Structure
superpowers-symfony/
├── .claude-plugin/
│ ├── marketplace.json # Marketplace catalog
│ └── plugin.json # Plugin manifest
├── agents/ # 7 specialized subagents
│ ├── symfony-reviewer.md
│ ├── symfony-tdd-coach.md
│ ├── symfony-engineer.md
│ ├── symfony-security-auditor.md
│ ├── doctrine-architect.md
│ ├── doctrine-performance-optimizer.md
│ └── api-platform-builder.md
├── skills/ # 44 skill definitions
│ ├── tdd-with-pest/
│ │ └── SKILL.md
│ ├── doctrine-relations/
│ │ ├── SKILL.md
│ │ └── reference.md
│ └── ...
├── commands/ # 13 slash commands
│ ├── brainstorm.md
│ ├── write-plan.md
│ └── ...
├── hooks/
│ ├── hooks.json # SessionStart hook config
│ └── session-start.sh # Auto-detection script
├── docs/ # Additional documentation
├── scripts/ # Validation scripts
├── LICENSE
└── README.md
Contributing
- Fork the repository
- Create a feature branch
- Add/modify skills in
skills/directory - Validate:
claude plugin validate . - Submit a pull request
Skill format
Each skill is a directory with a SKILL.md file:
---
name: symfony:skill-name
description: Brief description of the skill
allowed-tools:
- Read
- Write
- Edit
- Bash
- Glob
- Grep
---
# Skill content with code examples, best practices, etc.
License
MIT License - see LICENSE for details.
Acknowledgments
Inspired by superpowers-laravel by JP Caparas.
Support
- Issues: GitHub Issues
- Discussions: GitHub Discussions
<sub>Keywords: Symfony, Claude Code plugin, Claude Code skills, AI coding agent, Anthropic, API Platform, Doctrine ORM, PHP 8, TDD, Pest, PHPUnit, Symfony Messenger, Scheduler, CQRS, hexagonal architecture, ports and adapters, DDD, value objects, DTO, voters, rate limiting, Twig components, Foundry, Panther, FrankenPHP, Symfony Docker, DDEV.</sub>
Reviews
No reviews yet. Be the first.
Related
beagle-ai
Pydantic AI, LangGraph, DeepAgents, and Vercel AI SDK skills for building and reviewing AI applications.
beagle-docs
Documentation quality, generation, and improvement using Diataxis principles. Pairs with beagle-core for full workflow.
espalier-engineering
Train your AI coders the way you'd train a vine — discover your codebase's actual patterns, then encode them as rules, skills, agents, hooks, and a guided pipeline so generated code lands inside your conventions on the first try, not the fifth
mh install plugins/superpowers-symfony