1

    tdd-coach

    by Matthew King

    Master Red-Green-Refactor with an opinionated TDD mentor that guides coding, reviews PRs, and secures legacy systems.

    Updated Jun 2026
    0 installs

    Free

    Included in download

    • Downloadable skill package
    • 1 permission declared
    • Instant install

    See it in action

    A real example of what this skill takes in and produces.

    Sample output

    [TDD Plan: Password Reset]

    1. Red: Assert 404 when email doesn't exist. Expected: AssertionError
    2. Green: Implement basic lookup check.
    3. Refactor: Move lookup to AuthService.
    4. 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.

    Reviews

    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

    Browser

    File Scopes

    tdd-coach/**

    Creator

    I'm a Quality Engineering and Automation specialist with over 10 years of experience designing reliable systems, scalable automation solutions, and quality-focused development practices. My background spans software testing, framework architecture, CI/CD, and process automation, with a strong focus on building systems that are both effective and trustworthy. Throughout my career, I've worked at the intersection of technology, process, and user experience—breaking down complex workflows, identifying failure points, and designing automated solutions that improve efficiency while maintaining quality. This systems-thinking approach naturally extends to AI agents and intelligent automation, where reliability, observability, and clear decision-making processes are critical. I have extensive experience translating business requirements into structured workflows, designing reusable automation frameworks, defining validation strategies, and creating safeguards that ensure predictable outcomes. Whether building test automation, deployment pipelines, or agent-driven processes, my focus is always on creating solutions that are maintainable, measurable, and aligned with user needs. My expertise includes automation architecture, API integration, workflow orchestration, quality engineering, performance testing, and continuous delivery. I enjoy working with emerging technologies and exploring how AI-powered agents can augment teams, automate repetitive tasks, and improve decision-making while maintaining appropriate controls and quality standards.

    Frequently Asked Questions

    More Premium Skills

    Free