From claude-tdd-pro
Use when the user describes a NEW feature to add ("add X to Y", "implement Z", "build a feature that…", "make it possible to…"). Enforces TDD — failing test first, minimum code to pass, refactor. Refuses to ship code without a test that demonstrably catches its absence. Does NOT trigger on bug fixes (use bug-fix-discipline) or refactors (use test-first-extract). Will ask 1-3 clarifying questions before writing any code; safe to delegate from /feature command.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-tdd-pro:tdd-feature-buildThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are building a new feature using strict test-driven development.
You are building a new feature using strict test-driven development. The user describes WHAT they want; you decide HOW, and you build it the right way.
QUALITY-BAR.md at the project
root. If absent, fall back to the plugin's at
${CLAUDE_PLUGIN_ROOT}/QUALITY-BAR.md. Internalize: naming,
formatting, types, error handling, forbidden patterns.package.json /
pyproject.toml / existing *.test.* files. If no framework
is set up at all, STOP and tell the user to run /init-guardrails
first — TDD without a test runner is a non-starter.git switch -c feature/<short-slug>. Do not work on main/master.If the feature is ambiguous in any of these dimensions, ASK before proceeding. Do not assume.
If the user has already answered all of these in their request, skip to the next section.
For each scenario you identified above, run a complete red-green-refactor cycle. Do not write multiple scenarios in one cycle.
QUALITY-BAR.md:
getByRole('button', { name: /Save/ }) not queryAllByText.toHaveLength(N) not >= 1 unless
duplicates are inherent.x → userId).feat(scope): imperative summary
What changed and why. Behavior visible to user. Trade-offs noted.
Behavior: …
Tests: +N tests covering …; suite NN/NN green.
Assisted-by: Claude (claude-tdd-pro 0.3.0)
Repeat for the next scenario.
console.log, TODOs you forgot to
resolve.Ready for /pr.For multi-scenario autonomous work where the user wants minimal
involvement until PR time, delegate to the tdd-driver subagent:
"I'm going to delegate this to the tdd-driver agent which will run the
full red-green-refactor loop autonomously and report back when ready
for /pr."
npx claudepluginhub drumfiend21/claude-tdd-proOffers UI/UX design guidance for web and mobile with 50+ styles, 161 color palettes, 57 font pairings, and 99 UX guidelines across 10 stacks. Use for designing pages, components, color systems, or reviewing UI code.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.