From superpowers-symfony
Guides RED-GREEN-REFACTOR with PHPUnit 10/11 for Symfony; uses KernelTestCase, WebTestCase, attributes (#[Test]/#[DataProvider]), and Foundry.
How this skill is triggered — by the user, by Claude, or both
Slash command
/superpowers-symfony:tdd-with-phpunitThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Building regression-safe behavior with TDD/functional/e2e tests.
reference.mddocs/complexity-tiers.mdnpx claudepluginhub makfly/superpowers-symfony --plugin superpowers-symfonyApplies RED-GREEN-REFACTOR TDD workflow with Pest v4 for Symfony via PHPUnit bridge, using Foundry factories and WebTestCase to verify failures first.
PHPUnit testing framework conventions and practices. Invoke whenever task involves any interaction with PHPUnit — writing tests, configuring PHPUnit, data providers, mocking, assertions, debugging test failures, or coverage.
Enforces Test-Driven Development (TDD) with red-green-refactor cycle. Guides writing failing tests first for features, bug fixes, or when OMC_TDD_MODE enabled and TDD keywords detected.