Works with the AI tools you already use
Tdd Coach
by Matthew King
Most 'TDD' skips the failing test. This mentor enforces Red before Green, even on legacy code.
Free
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.
Details
How to install
Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.
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
Creator
Building quality-driven AI solutions that streamline complex processes, improve decision-making, and deliver outcomes you can trust.
Frequently Asked Questions
Browse More Skills
java-best-practice-checker
Expert Java code auditor for SE 8–24, flagging performance leaks, threading risks, and modernization gaps.
software-architect
A structured framework for planning, reviewing, and evolving complex software systems with explicit trade-offs.
code-reviewer
Reviews your code for bugs, security vulnerabilities, logic errors, performance issues, and style violations. Organizes findings by severity and suggests fixes with code examples.

humanize-writing
Transform robotic AI drafts into natural, human-sounding prose with native-level flow and tone.