Enforces RED-GREEN-REFACTOR test-driven development with isolated subagents for test writing and implementation.
- CCM score
- 63 of 100
- skills.sh installs
- 262
- GitHub stars
- 416
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers feature and bug-fix workflows through vertical slices, with a green-baseline check before any slice begins
- Includes
run_tests.sh,extract_api.sh, anddiscover_docs.sh, supporting Jest, Vitest, pytest, Go test, cargo test, PHPUnit, and RSpec - Keeps the Test Writer away from implementation code and the Implementer away from the original spec, so tests reflect intent rather than code
- Offers interactive, autonomous (
--auto), resumable, and--dry-runmodes, with human checkpoints at slice approval and each RED step
Install
$ npx -y skills add glebis/claude-skills --skill tdd -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Test-Driven Development — Multi-Agent Orchestration
Enforce disciplined RED-GREEN-REFACTOR cycles using separate subagents for test writing and implementation. The core innovation: the Test Writer never sees implementation code, and the Implementer never sees the specification. This prevents the LLM from leaking implementation intent into test design.
When to Use
- User requests TDD, test-first, or red-green-refactor workflow
- User says
/tddwith a feature description or bug report - User wants to add a feature with test coverage enforced from the start
- User wants to fix a bug by first writing a reproducing test
Invocation Modes
| Invocation | Behavior |
|---|---|
/tdd <feature> | Interactive mode — pause for approval at slices and each RED checkpoint |
/tdd --auto <feature> | Autonomous mode — run all slices without pausing; stop ONLY on unrecoverable errors |
/tdd --resume | Resume from .tdd-state.json in project root |
/tdd --dry-run <feature> | Validation mode — runs Phase 0 + Phase 1 fully, renders all prompts, but skips Task() calls. No code is written. |
Details
- Repository
- github.com/glebis/claude-skills
- Categories
- Testing & QA, Agent Workflow & Planning
- First seen
- Jun 3, 2026
Questions
What does the tdd skill do for Claude Code?
The tdd skill enforces the RED-GREEN-REFACTOR cycle for implementing features or fixing bugs with test-driven development. It uses separate subagents for test writing and implementation, so the Test Writer never sees implementation code and the Implementer never sees the specification.
Which test frameworks does the tdd skill support?
The tdd skill supports Jest, Vitest, pytest, Go test, cargo test, PHPUnit, and RSpec. It detects the framework from project files such as package.json, pyproject.toml, go.mod, Cargo.toml, Gemfile, or composer.json.
How do I install the tdd skill?
Run npx -y skills add glebis/claude-skills --skill tdd -y in your project. This installs the skill so Claude Code can run the test-first workflow when you ask for TDD or use the /tdd command.
Where does the tdd skill rank in the Testing and QA category?
The tdd skill is in the Testing & QA category on Claude Marketplaces. Other skills in that category include test-driven-development, webapp-testing, break-ui, and migrate-to-shoehorn.
More from glebis/claude-skills
All 22- Youtube Transcript259
- Gmail258
- Transcript Analyzer258
- Zoom252
- Fathom249
- Github Gist246
- Llm Cli235
- Chrome History234
- Granola234
- Meta228
- Google Image Search654
- Pdf Generation491
- Health Data399
- Firecrawl Research384
- Deep Research331
- Presentation Generator326
- Decision Toolkit325
- Elevenlabs Tts314
- Telegram287
- Brand Agency276
- Doctorg265
Similar to Tdd
More Testing & QAtest-driven-developmentSkilladdyosmani/agent-skills80.2K installsStructured red-green-refactor workflow that writes a failing test before any code change, including bug fixes.
rtk-tddSkillrtk-ai/rtk2.4K installsEnforces Red-Green-Refactor TDD for Rust, with idiomatic test patterns and a strict pre-commit gate.
dev-practicesPluginspences10/claude-code-toolkit37 starsDevelopment practices: TDD workflow with red-green-refactor
test-skillSkillneolabhq/context-engineering-kit1.3K installsTest skills by running RED-GREEN-REFACTOR cycles on process documentation before deployment.
implementSkillmattpocock/skills901K installsStructured implementation workflow that drives work from a spec or tickets through tests, review, and commit.
golang-testingSkillaffaan-m/ecc16.5K installsGo testing patterns for table-driven tests, subtests, benchmarks, fuzzing, and coverage, following a strict RED-GREEN-REFACTOR TDD cycle.