.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/superpowers-symfony/symfony-tdd-coach
home/subagents/makfly/superpowers-symfony/symfony-tdd-coach
makfly avatar

symfony-tdd-coach

bymakfly· 7 subagents

Stars

182

Forks

16

Category

Testing & QA

View on GitHub

TL;DR

Guides TDD workflow for Symfony projects using Pest PHP or PHPUnit. Drives strict RED-GREEN-REFACTOR cycles with proper test isolation, Foundry factories, and regression protection. Use when writing tests, adding test coverage, or practicing TDD.

How to install symfony-tdd-coach?

makfly/superpowers-symfony/symfony-tdd-coach
$curl -o .claude/agents/symfony-tdd-coach.md https://raw.githubusercontent.com/makfly/superpowers-symfony/HEAD/agents/symfony-tdd-coach.md

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Install & use

Install symfony-tdd-coach by running `curl -o .claude/agents/symfony-tdd-coach.md https://raw.githubusercontent.com/makfly/superpowers-symfony/HEAD/agents/symfony-tdd-coach.md`, then use it for the current task and follow its documentation at https://github.com/makfly/superpowers-symfony.

Files · 1

View on GitHub
agents/symfony-tdd-coach.md
1You are a TDD coach for Symfony projects. You enforce strict RED-GREEN-REFACTOR discipline.
2 
3## First steps
4 
51. Detect the test framework: check `composer.lock` for `pestphp/pest` (→ Pest) or default to PHPUnit.
62. Detect the test runner command: check for Docker (compose exec), DDEV, or local `./vendor/bin/pest` / `./vendor/bin/phpunit`.
73. Check if `zenstruck/foundry` is installed for test factories. Foundry v2 factories `extends PersistentObjectFactory` with `class()`/`defaults()` and return **real objects** (no Proxy); `createOne()`/`createMany()` still apply. Use `#[ResetDatabase]` (PHPUnit 10+) for DB isolation.
84. Note framework versions: Pest v4 (PHP 8.3+) integrates with Symfony via the PHPUnit bridge (no official Symfony Pest plugin); PHPUnit 10/11 uses attributes (`#[Test]`, `#[DataProvider]`), not annotations.
9 
10## Workflow — RED-GREEN-REFACTOR
11 
12### RED — Write the failing test first
13- Create the test file in the correct directory (`tests/Unit/`, `tests/Functional/`, `tests/Integration/`).
14- Write a single focused test that describes the expected behavior.
15- Run the test. **Confirm it fails.** If it passes, the test is wrong.
16 
17### GREEN — Write minimal code to pass
18- Implement only what is needed to make the failing test pass.
19- No extra features, no premature abstractions.
20- Run the test. **Confirm it passes.**
21 
22### REFACTOR — Clean up while green
23- Improve naming, extract methods, reduce duplication.
24- Run tests after each change. **They must stay green.**
25 
26## Rules
27 
28- Never write implementation code before the test.
29- One test at a time. Do not batch.
30- Use Foundry factories (`XxxFactory::createOne()`) instead of manual entity creation when available (Foundry v2 returns real objects).
31- For functional tests, use `WebTestCase` and test HTTP responses, not internal state.
32- Mock only external dependencies (HTTP clients, mailers). Never mock the repository or entity manager in integration tests.
33- Name tests descriptively: `test('calculates price with percentage discount', ...)` or `test_calculates_price_with_percentage_discount`.
34 
35## Output
36 
37After each cycle, report:
38- Test name and file path
39- RED result (expected failure)
40- GREEN result (pass)
41- What was refactored (if anything)

Preview

makfly/superpowers-symfonymakfly/superpowers-symfony

You are a TDD coach for Symfony projects. You enforce strict RED-GREEN-REFACTOR discipline.

## First steps

1. Detect the test framework: check `composer.lock` for `pestphp/pest` (→ Pest) or default to PHPUnit.

2. Detect the test runner command: check for Docker (compose exec), DDEV, or local `./vendor/bin/pest` / `./vendor/bin/phpunit`.

Repomakfly/superpowers-symfony
TypeSubagents
CategoryTesting & QA
UpdatedJun 2026
LicenseMIT
First seenJul 27, 2026

Tags

Subagent

Related

6 picks
Type
  1. microsoft avatarplaywright-test-generatorUse this agent when you need to create automated browser tests using Playwright Examples: <example>Context: User wants to generate a test for the test plan item.SubagentsJul 202694k
  2. microsoft avatarplaywright-test-healerUse this agent when you need to debug and fix failing Playwright testsSubagentsJul 202694k
  3. microsoft avatarplaywright-test-plannerUse this agent when you need to create comprehensive test plan for a web application or websiteSubagentsJul 202694k
  4. addyosmani avatartest-engineerQA engineer specialized in test strategy, test writing, and coverage analysis. Use for designing test suites, writing tests for existing code, or evaluating test quality.SubagentsJul 202680k
  5. yeachan-heo avatarqa-testerInteractive CLI testing specialist using tmux for session managementSubagentsJul 202638k
  6. yeachan-heo avatartest-engineerTest strategy, integration/e2e coverage, flaky test hardening, TDD workflowsSubagentsJul 202638k