Enforces test-driven development through multi-agent orchestration where separate subagents handle test writing and implementation with strict context isolation. The Test Writer never sees implementation code, the Implementer never sees the original spec. Supports interactive mode with human checkpoints at each RED-GREEN-REFACTOR cycle, or autonomous mode that runs all slices without pausing. Works with Jest, Vitest, pytest, Go test, cargo test, PHPUnit, and RSpec. Includes a dry-run mode that validates the entire pipeline without writing code, useful for checking that scripts work in your environment before committing to a full run. The layer-aware slicing respects domain-driven design boundaries if your project has them.

skills.sh installs
260
GitHub stars
412
last updated
Aug 21, 2026

Install

$ npx -y skills add glebis/claude-skills --skill tdd --agent claude-code

Installs into .claude/skills of the current project.

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 /tdd with 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

InvocationBehavior
/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 --resumeResume 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.

Sponsors

Details

Repository
github.com/glebis/claude-skills
Categories
Testing & QA, Documentation, Code Review & Quality, AI & Agent Building, Debugging, Automation & Workflows, Python, Rust
First seen
Jun 3, 2026

More from glebis/claude-skills

All 22
1salesforceairesearch avatartesting-agentforcesalesforceairesearch/agentforce-adlcWrite, run, and analyze structured test suites for Agentforce agents. TRIGGER when: user writes or modifies test spec YAML (AiEvaluationDefinition); runs sf age258skills.sh installs
2proffesor-for-testing avatartest-automation-strategyproffesor-for-testing/agentic-qeDesign and implement effective test automation with proper pyramid, patterns, and CI/CD integration. Use when building automation frameworks or improving test e256skills.sh installs
3borghei avatarsenior-qaborghei/claude-skillsTesting for React/Next.js with Jest, React Testing Library, and Playwright. Use when generating tests, writing unit tests, analyzing coverage, scaffolding E2E t230skills.sh installs
4javalenciacai avatarsenior-qa-engineerjavalenciacai/qaskillsBehave as a Senior QA Engineer covering the complete software testing lifecycle from requirements analysis through test automation and continuous improvement. A229skills.sh installs
5daleseo avatarbun-testdaleseo/bun-skillsConfigure Bun's built-in test runner with Jest-compatible APIs. Use when setting up testing infrastructure, writing unit/integration/snapshot tests, migrating f228skills.sh installs
6bobmatnyc avatarTesting Anti-Patternsbobmatnyc/claude-mpm-skillsNever test mock behavior. Never add test-only methods to production classes. Understand dependencies before mocking. Language-agnostic principles with TypeScrip226skills.sh installs