claude

tdd

Enforces Red-Green-Refactor with hooks, inside-out or outside-in, and explains the rule behind every block

0 on GitHubby Yoan Thirionv0.1.0MITupdated 12 days agodevelopment
/

Plugin tdd from marketplace tdd-guardians in ythirion/tdd-guardian. Commands read from the repo's manifest — 5 days ago.

This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.

What it installs

Skills (1)

  • tdd

    Test-driven development enforced by the TDD Guardian (Red-Green-Refactor, one test at a time, inside-out or outside-in with Fakes). Use when the user mentions TDD, test first, test-driven, red green refactor, inside-out, outside-in, double loop, "build a feature with tests", or whenever .tdd/state.j

Slash commands (6)

  • /tdd:approve

    Human only. Approve the test list and start the first cycle

  • /tdd:mutate

    Run mutation testing on the files touched in this feature and turn survivors into list items

  • /tdd:next

    Move to the next TDD phase if its exit conditions are met, otherwise explain why

  • /tdd:off

    Human only. Turn the TDD Guardian off for this project

  • /tdd:start

    Start a TDD feature (inside-out or outside-in) and draft its test list

  • /tdd:status

    Show the TDD cycle state, list progress, justified mocks and the test review checklist

Subagents (3)

  • tdd-implementer

    Makes one failing test pass with the minimal production code (TDD GREEN phase). Receives the failing test and its output only, never the test list.

  • tdd-refactorer

    Improves the design of code and tests after green, behaviour unchanged (TDD REFACTOR phase). Receives the cycle's diff and the project's rules.

  • tdd-tester

    Writes exactly one failing test for one test-list item or acceptance scenario (TDD ACCEPTANCE and RED phases). Use it so that the agent writing the code is not the one that wrote the test.

Hooks (6)

  • PreToolUse

    node "${CLAUDE_PLUGIN_ROOT}/scripts/guard-write.js"

  • PreToolUse

    node "${CLAUDE_PLUGIN_ROOT}/scripts/guard-bash.js"

  • PreToolUse

    node "${CLAUDE_PLUGIN_ROOT}/scripts/guard-read.js"

  • Stop

    node "${CLAUDE_PLUGIN_ROOT}/scripts/check-stop.js"

  • SessionStart

    node "${CLAUDE_PLUGIN_ROOT}/scripts/session-start.js"

  • UserPromptSubmit

    node "${CLAUDE_PLUGIN_ROOT}/scripts/human-gate.js"

View source on GitHub

Similar plugins

Matt Pocock's agent skills for real engineering (grilling, spec/ticket flows, TDD, code review, domain modelling and more).

39 skills

mattpocock/skills 323,108

superpowers

claudecodex

Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques

15 skills · hooks

obra/superpowers 316,836

context7

claudecodex

Up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your coding agent's context.

1 MCP server

upstash/context7 64,709

Build powerful, stateful CLI interfaces for any GUI application using the cli-anything harness methodology.

5 commands

HKUDS/CLI-Anything 58,665

container

claude

Teaches Claude container's command surface and how it maps to Docker, Lima, Colima, and Podman on macOS

1 skill

apple/container 51,329

Automates browser interactions for web testing, form filling, screenshots, and data extraction

12 skills

vercel-labs/agent-browser 50,373

Maintain tdd?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex pluginslisted