Capability · rank 11
tdd
Drive implementation through red-green-refactor with practical test-first habits.
Guides an agent through red-green-refactor loops and practical test-first development.
npx skills add mattpocock/skills --skill tddOverview
Guides an agent through red-green-refactor loops and practical test-first development. Review the sandbox comparison, limitations, permissions, and pinned version before install.
Outcome
Drive implementation through red-green-refactor with practical test-first habits.
Who it is for
Agents implementing features that need durable tests.
What it is not for
Exploratory spikes where discarding code is expected.
Runtime export
codex_skill · markdown_export
Usage
- 1. Inspect trust badges, limitations, and permissions on this page.
- 2. Run the sandbox comparison to see baseline vs skill-enhanced output.
- 3. Install the pinned version with the command below for your agent runtime.
- 4. Agents can also fetch /api/v1/skills/tdd/manifest.
npx skills add mattpocock/skills --skill tddExample prompts & use cases
1 / Prompt
Implement this function with TDD
2 / Prompt
Convert this bug fix into a failing test first
Limitations
- Cannot invent business requirements missing from the brief.
Audience
Agents implementing features that need durable tests.
Not for
Exploratory spikes where discarding code is expected.
Version history
Jan 9, 2026current
Stronger red-green-refactor gating
Oct 3, 2025
Fixture patterns