tdd is agent-read markdown (skill) from jellydn/my-ai-tools: Guide through the Red-Green-Refactor cycle for test-driven development.
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# Test-Driven Development (TDD)
Guides you through the complete TDD workflow with Red-Green-Refactor cycle.
## Usage
`/tdd <ACTION> [ARGUMENTS]`
## Actions
- **start <FEATURE>** - Initialize TDD session for a feature
- **red <TEST_NAME>** - Create failing test (Red phase)
- **green** - Run tests and implement code (Green phase)
- **refactor** - Guide refactoring process (Refactor phase)
- **cycle <FEATURE>** - Run complete Red-Green-Refactor cycle
- **watch** - Start test watcher for continuous feedback
- **status** - Show current test status and next steps
## TDD Principles
### The Red-Green-Refactor Cycle
1. **Red**: Write a failing test that defines desired behavior
2. **Green**: Write minimal code to make the test pass
3. **Refactor**: Improve code quality while keeping tests green
### Best Practices
- Write tests first - Tests define the interface and behavior
- Small steps - Make tiny, incremental changes
- Fast feedback - Run tests frequently for immediate validation
- Clean code - Refactor regularly to maintain quality
- One concept per test - Keep tests focused and atomic
- AAA Pattern - Structure tests as Arrange, Act, Assert
…
Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
A 17 of 17 checks passed. Deterministic, no model, same answer every run.
pass: Frontmatter block present
pass: Frontmatter declares a name
pass: Frontmatter declares a description
pass: Size between 200 bytes and 200 KB (3157 bytes)
pass: No zero-width or bidi control characters
pass: No instruction hidden inside an HTML comment
pass: No link to an exfiltration or paste host
pass: No credential-shaped string
pass: No instruction to send local credentials anywhere
pass: No text hidden with inline styles
pass: No prompt-injection phrasing
pass: No curl or wget piped into a shell
pass: No recursive delete of root, home or parent
pass: No instruction to read or print local credentials
pass: No base64 blob over 200 characters
pass: No link to a raw IP address
pass: No script tag
Source
GitHub
jellydn/my-ai-tools · 121 stars · license MIT · pushed 2026-09-24 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_z342h5jyefal75uv
GET https://markdownregistry.com/api/v1/resolve?ref=jellydn/my-ai-tools/tdd
GET https://markdownregistry.com/api/v1/blob/85952c6abf8bbc63616a9edf6cb85eeccc59170ce3ae5188bff4422e46efd710
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
jellydn/my-ai-tools · configs/amp/plugins/my-ai-tools-skills/skills/accountable-engineering/SKILL.md · Use explicit human checkpoints for architecture, security, rollout, or operational decisions.
jellydn/my-ai-tools · configs/amp/plugins/my-ai-tools-skills/skills/blindspot-pass/SKILL.md · Inspect history and architecture for hidden constraints before risky cross-cutting changes.
jellydn/my-ai-tools · configs/amp/plugins/my-ai-tools-skills/skills/capability-experiments/SKILL.md · Build an interactive report or experiment when the user asks to explore model capabilities.
jellydn/my-ai-tools · configs/amp/plugins/my-ai-tools-skills/skills/code-quality-review/SKILL.md · Audit a diff for structural maintainability and unnecessary complexity.
jellydn/my-ai-tools · configs/amp/plugins/my-ai-tools-skills/skills/code-review/SKILL.md · Review a branch, PR, or worktree diff for repository conventions and stated intent.
jellydn/my-ai-tools · configs/amp/plugins/my-ai-tools-skills/skills/codemap/SKILL.md · Create a seven-document architecture map when the user asks to map a codebase.
jellydn/my-ai-tools · configs/amp/plugins/my-ai-tools-skills/skills/commit-atomic/SKILL.md · Group staged changes into atomic commits with commitizen convention
jellydn/my-ai-tools · configs/amp/plugins/my-ai-tools-skills/skills/context-discovery/SKILL.md · Use MCP tools to trace behavior that spans multiple modules or history sources.
cursor/plugins · pstack/skills/tdd/SKILL.md · Use only when the user explicitly asks for TDD, a failing test, or a regression test, OR when the bug has an obvious…
codeaholicguy/ai-devkit · skills/tdd/SKILL.md · AI DevKit · Test-driven development — write a failing test before writing production code. Use when implementing new…
bastani-inc/atomic · packages/subagents/skills/tdd/SKILL.md · Test-driven development with red-green-refactor loop. Use when user wants to build features or fix bugs using TDD…
michael-denyer/pstack-claude · plugins/pstack/skills/tdd/SKILL.md · Use only when the user explicitly asks for TDD, a failing test, or a regression test, OR when the bug has an obvious…
backnotprop/pstack · skills/tdd/SKILL.md · Use only when the user explicitly asks for TDD, a failing test, or a regression test, OR when the bug has an obvious…
testdouble/han · han-coding/skills/tdd/SKILL.md · Write code through a disciplined, BDD-framed Test-Driven Development loop: build a behavior test list, then drive each…
arbiterforge/codearbiter · plugins/ca-codex/routines/tdd/SKILL.md · The test-first gate. Routed to by /feature (after the spec is approved), /fix, and /refactor before any implementation…