Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLIVVS CodeWWindsurf+15 more

    TDD Loop Master

    by Arnstein Larsen

    1

    Enforce strict Red-Green-Refactor discipline to build robust, test-driven software with 100% meaningful coverage.

    Free

    0 installsNo reviews yet

    About this skill

    Master the Red-Green-Refactor Cycle

    Most AI agents write code first and tests later, leading to fragile architectures and "tautological" tests that can't actually fail. TDD Loop Master enforces a strict, disciplined Test-Driven Development workflow that ensures your software design is driven by requirements, not implementation details.

    What it does

    This skill guides you through a rigorous TDD cycle for any feature or bug fix. It starts by generating a comprehensive "Test List" from the simplest degenerate cases to complex edge cases. It then methodically steps through the Red-Green-Refactor loop, preventing you from writing a single line of production code until a failing test exists.

    • Strict Red Phase: Generates a specific, failing test case tailored to your stack.
    • Green Phase: Forces the "minimum viable code" to pass the test, preventing over-engineering.
    • Refactor Control: Only allows architectural improvements once the suite is green.
    • Mocking Guardrails: Audits your mocks to ensure they aren't hiding bugs or creating false positives.

    Why use this skill?

    Standard prompting often produces broad code blocks that are hard to debug. This skill break tasks into atomic, verifiable steps. It supports all major frameworks (Jest, PyTest, JUnit, Go Test, etc.) and is ideal for developers who want robust, self-documenting codebases with near-100% meaningful coverage.

    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.

    Security Scanned

    Passed automated security review

    Permissions

    No special permissions declared or detected

    Creator

    Frequently Asked Questions

    Browse More Skills

    Free