api-platform-dto-resou…
Map entities to API DTOs in API Platform (v5, 4.4, 4.3) with the Symfony Object Mapper (#[Map], stateOptions) for decoupled…
Select and configure the appropriate command runner based on Docker Compose standard, Symfony Docker (FrankenPHP), or host environment
Claude Code
$ npx -y skills add dev-toolings/superpowers-symfony --skill runner-selection --agent claude-code
Codex
$ npx skills add dev-toolings/superpowers-symfony --skill runner-selection -a codex -y
Cursor
$ npx skills add dev-toolings/superpowers-symfony --skill runner-selection -a cursor -y
Gemini CLI
$ npx skills add dev-toolings/superpowers-symfony --skill runner-selection -a gemini-cli -y
GitHub Copilot
$ npx skills add dev-toolings/superpowers-symfony --skill runner-selection -a github-copilot -y
OpenCode
$ npx skills add dev-toolings/superpowers-symfony --skill runner-selection -a opencode -y
Windsurf
$ npx skills add dev-toolings/superpowers-symfony --skill runner-selection -a windsurf -y
name: runner-selection description: Select and configure the appropriate command runner based on Docker Compose standard, Symfony Docker (FrankenPHP), or host environment capabilities: [read, search] tags: [workflow] # projected by `bun run build` — do not edit by hand allowed-tools: - Read - Glob - Grep
1. Run the library's runtime context CLI with `--format=markdown` (or `--format=env` for scripts). 2. Read the detected Docker type (`ddev`, `symfony-docker`, a Compose file, or `none`) and whether the containers are running. 3. Use the prefixed console, composer and test commands it prints, such as `docker compose exec php bin/console`. 4. If the containers are stopped, start them with the guidance it prints (`ddev start` or `docker compose up -d`), then run it again. 5. Reuse the same prefix for every command in the session.
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.
Map entities to API DTOs in API Platform (v5, 4.4, 4.3) with the Symfony Object Mapper (#[Map], stateOptions) for decoupled…
Implement API Platform filters - Parameters API (QueryParameter, v5/4.4/4.3) and the #[ApiFilter] attribute deprecated since 4.4…
Configure API Platform resources (v5, 4.4, 4.3) with explicit operations, pagination, and typed OpenAPI for clean, versioned…
Secure API Platform resources with security expressions, voters, securityPostValidation, and operation-level access control
Control API Platform serialization with groups, #[Context], IRI links (readableLink/writableLink), and custom context builders
Master API Platform State Providers and Processors (v5, 4.4, 4.3) (ProviderInterface/ProcessorInterface) to decouple data…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.