makfly/superpowers-symfony
Overview
This skill delivers robust API Platform contracts in Symfony with explicit operations, mapping, and policy-safe behavior. It helps you define operation-level boundaries, implement DTOs/providers/processors, and align serialization, validation, and security. The goal is predictable, version-aware APIs that avoid accidental exposure of internal entity fields.
How this skill works
The skill inspects your resource definitions and operation configurations, then suggests explicit contracts and payload mappings. It identifies gaps between serialization groups, validation rules, and security expressions, and recommends code-level changes to providers, processors, or DTOs. Finally, it produces a concise output contract listing artifacts changed, security decisions, and functional verification results.
When to use it
- Designing or evolving API Platform resources and operations
- Aligning serialization groups, validation, and security expressions
- Preventing implicit exposure of internal entity fields
- Preparing a version-aware contract for client integration
- Auditing API behavior across happy and negative paths
Best practices
- Define operation-level DTOs to decouple API payloads from entities
- Keep contracts explicit and track version changes in the API spec
- Apply validation and security rules at the operation level, not only at the entity
- Map providers and processors clearly so behavior is predictable
- Run functional checks for both permitted and denied access scenarios
Example use cases
- Creating a PATCH operation with a dedicated DTO and processor to restrict writable fields
- Migrating an entity-backed resource to use read-only DTOs for responses
- Auditing a collection endpoint for leaked internal fields through serializer groups
- Implementing operation-specific security expressions that differ between GET and POST
- Documenting contract decisions for a breaking change prior to a new API version
FAQ
You will receive a list of API artifacts changed (resources/DTOs/providers/processors), the security and contract decisions with rationale, and functional verification results for key paths.
Does it modify entities directly?
No. The recommended approach is to introduce DTOs, explicit mappings, or providers/processors rather than exposing or modifying internal entity fields directly.
32 skills
This skill helps design explicit API Platform contracts in Symfony, aligning operations, serialization, validation, and security with risk aware, versioned
This skill helps you define explicit API Platform contracts in Symfony for serialization, validation, and security across operations.
This skill helps you design and evolve API Platform contracts in Symfony with explicit versioned operations, mappings, and policy-safe behavior.
This skill guides production-grade Symfony bootstrap checks, coordinating architecture changes, checkpoints, and auditable risk decisions for safer releases.
This skill refactors Symfony controllers with controlled checkpoints, delivering architecture improvements and auditable decisions while minimizing risk.
This skill helps you design and validate API Platform contracts in Symfony, enforcing explicit operations, mapping, and security for robust tests.
This skill helps you design production-grade Symfony architectures with bounded tasks, checkpoints, and auditable decision logs.
This skill helps you design and enforce explicit API Platform contracts in Symfony, mapping operations, validation, and security for robust REST resources.
This skill helps you apply production-grade Symfony architecture and workflows with controlled checkpoints to safely execute complex changes.
This skill applies production-grade Symfony architecture and guarded daily workflows with checkpoints, ensuring safe, auditable changes and clear next steps.
This skill helps refine Symfony runner selection by applying production-grade architecture with checkpoints and auditable decisions.
This skill guides Symfony architecture and workflow changes with controlled checkpoints and validation, ensuring safe, auditable ports and adapters adaptations.
This skill helps refine Symfony interfaces and autowiring workflows with controlled checkpoints and auditable decisions for safer architectural changes.
This skill helps implement resilient Symfony Messenger workflows with idempotent handlers, configurable retries, and observability for reliable async
This skill helps refine Symfony config env parameters workflows with controlled checkpoints and auditable decisions to minimize risk.
This skill helps implement resilient Symfony async workflows with idempotent handlers, configurable retries, and observability for cache tasks.
This skill helps evolve Symfony Doctrine models and fixtures safely, ensuring integrity, performance, and rollout discipline across migrations and tests.
This skill helps you safely evolve Symfony Doctrine models and schema, improving integrity, performance, and rollout discipline through targeted fetch mode
This skill helps refine Symfony architecture and execution workflows with controlled checkpoints and auditable decisions to safely manage medium complexity
This skill helps you drive Symfony test doubles mocking with deterministic tests, safeguarding regression coverage across fail and pass paths.
This skill helps implement resilient Symfony async workflows with idempotent handlers, retries, and observability for scheduler tasks.
This skill helps manage Symfony Doctrine migrations safely, optimizing integrity and performance during schema evolution.
This skill helps you evolve Symfony Doctrine models and migrations safely, optimizing relations, integrity, and rollout discipline across entities.
This skill helps you architect Symfony CQRS and handlers with safe checkpoints, incremental changes, and auditable decision logs.
This skill strengthens Symfony form types validation and authorization by applying test-backed boundaries at controllers and API operations.
This skill helps evolve Symfony Doctrine models and schema safely by enforcing transactional boundaries, migrations, and performance tuning.
This skill helps refine Symfony value objects and dtos architecture with checkpointed execution and auditable decisions to manage complexity.
This skill helps you drive Symfony functional tests with deterministic fixtures, regression-focused workflow, and clear red/green/refaactor signals.
This skill helps you drive Symfony development with deterministic tests using pest, enabling regression protection and efficient TDD workflows.
This skill helps implement resilient Symfony async workflows with idempotent handlers, configurable retries, and observability to manage messenger failures.
This skill helps evolve Symfony Doctrine models and schema safely, optimizing batch processing, integrity, and rollout discipline across migrations and tests.
This skill helps you drive deterministic end-to-end tests for Symfony with Panther and Playwright, ensuring regression protection across components.