
Tdd Coach
Master Red-Green-Refactor with an opinionated TDD mentor that guides coding, reviews PRs, and secures legacy systems.
- Break down complex requirements into a step-by-step TDD execution plan.
- Generate characterization tests to protect legacy code before a refactor.
- Audit PRs to ensure tests were written before implementation code.
Free
Included in download
- Downloadable skill package
- Works with Claude Code, Cursor
- 1 permission declared
Sample input
I need to add a password reset feature to my app. Can you create a TDD plan for the first few steps?
Sample output
[TDD Plan: Password Reset]
- Red: Assert 404 when email doesn't exist. Expected: AssertionError
- Green: Implement basic lookup check.
- Refactor: Move lookup to AuthService.
- Commit: feat(auth): handle missing email in reset. Next Step: Provide the existing AuthService file to begin step 1.

Tdd Coach
Master Red-Green-Refactor with an opinionated TDD mentor that guides coding, reviews PRs, and secures legacy systems.
Free
Included in download
- Downloadable skill package
- Works with Claude Code, Cursor
- 1 permission declared
- Instant install
Sample input
I need to add a password reset feature to my app. Can you create a TDD plan for the first few steps?
Sample output
[TDD Plan: Password Reset]
- Red: Assert 404 when email doesn't exist. Expected: AssertionError
- Green: Implement basic lookup check.
- Refactor: Move lookup to AuthService.
- Commit: feat(auth): handle missing email in reset. Next Step: Provide the existing AuthService file to begin step 1.
About This Skill
Automate Professional TDD Discipline
The TDD Coach is an expert-level engineering skill designed to enforce the Red-Green-Refactor cycle. It solves the common problem of "testing after the fact" by guiding developers through disciplined, behavior-driven development. Whether you are building from scratch or managing legacy systems, this skill ensures your code is fully tested, minimally implemented, and cleanly refactored.
Advanced Multi-Mode Support
- Interactive Coaching: A pair-programming mentor that refuses to let you skip phases. It waits for actual test failure outputs before allowing implementation code.
- Legacy Characterization: Safely wrap untested "black box" code in characterization tests before you attempt migrations or refactors.
- TDD Planning: Converts vague user stories or requirements into a sequence of micro-commits and specific test cases.
- Audit & Scorecard: Reviews Pull Requests to score TDD compliance, flagging "test smells" like over-mocking or implementation coupling.
Why It's Better Than Basic Prompting
Standard LLMs often provide "hallucinated" complete solutions that bypass the TDD loop entirely. This skill forces a state-machine approach: it tracks your progress through the loop, detects when you're trying to do too much at once, and requires objective proof (test output) before moving forward. It supports all major frameworks including Pytest, Vitest, Jest, JUnit, and Go Test.
Use Cases
- Break down complex requirements into a step-by-step TDD execution plan.
- Generate characterization tests to protect legacy code before a refactor.
- Audit PRs to ensure tests were written before implementation code.
- Score an existing codebase for test isolation and refactoring discipline.
Known Limitations
- Cannot execute tests directly; requires user to provide console output. - Performance depends on user-provided context for large legacy systems.
How to Install
mkdir -p ~/.claude/skills && curl -sL https://www.agensi.io/api/install/tdd-coach -o /tmp/tdd-coach.zip && unzip -o /tmp/tdd-coach.zip -d ~/.claude/skills && rm /tmp/tdd-coach.zipFree skills install directly. Paid skills require purchase - use the download button above after buying.
Reviews
No reviews yet - be the first to share your experience.
Only users who have downloaded or purchased this skill can leave a review.
No reviews yet - be the first to share your experience.
Only users who have downloaded or purchased this skill can leave a review.
Security Scanned
Passed automated security review
Permissions
File Scopes
Claude Code, Cursor, Windsurf, GitHub Copilot CLI