S
symfony:tdd-with-phpunit
About symfony:tdd-with-phpunit
A Symfony testing skill for developers using PHPUnit to turn desired behavior and bug reports into regression-safe tests. It structures work as a RED/GREEN/REFACTOR cycle and emphasizes stable, observable checks.
Key features
- 01RED/GREEN/REFACTOR testing cycle
- 02Test boundary and error paths
- 03Deterministic fixtures and builders
- 04Isolated, CI-stable tests
- 05Report commands and confidence
Use cases
- 01Turn a bug report into a failing test
- 02Add regression coverage for new behavior
- 03Validate unauthorized and not-found paths
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ dev-toolings/ superpowers-symfony --skill symfony:tdd-with-phpunitAfter installing, type/symfony:tdd-with-phpunitin Claude Code to confirm it loaded.
Bundled filesreference.md
Details
From the project READMETdd With Phpunit (Symfony)
Use when
- Building regression-safe behavior with TDD/functional/e2e tests.
- Converting bug reports into executable failing tests.
Default workflow
- Write failing test for target behavior and one boundary case.
- Implement minimal code to pass.
- Refactor while preserving green suite.
- Broaden coverage for invalid/unauthorized/not-found paths.
Guardrails
- Prefer deterministic fixtures/builders.
- Assert observable behavior, not internal implementation.
- Keep tests isolated and stable in CI.
Progressive disclosure
- Use this file for execution posture and risk controls.
- Open references when deep implementation details are needed.
Output contract
- RED/GREEN/REFACTOR trace.
- Test files changed and executed commands.
- Coverage and confidence notes.
References
reference.mddocs/complexity-tiers.md
Comments
Markdown supported