Home / jellydn / my-ai-tools · configs/amp/plugins/my-ai-tools-skills/skills/tdd/SKILL.md · GitHub

tdd skillA

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
…

Read the whole file at its exact version.

How to install

Latest version
mdr add jellydn/my-ai-tools/tdd@git:20260814.d1987f5
Exact content
mdr add jellydn/my-ai-tools/tdd@sha256:85952c6abf8bbc63

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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_z342h5jyefal75uv.svg)](https://markdownregistry.com/a/art_z342h5jyefal75uv)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260814.d1987f5 latest2026-08-14 d1987f5 3,157 BA view

Audit of the latest version

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.

More from jellydn/my-ai-tools

AGENTS.md agents
jellydn/my-ai-tools · AGENTS.md
git:20260805.03f0789 · audit A · 121 stars
AGENTS.md@configs/amp agents
jellydn/my-ai-tools · configs/amp/AGENTS.md
git:20260913.e2e25be · audit A · 121 stars
accountable-engineering skill
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.
git:20260913.e2e25be · audit A · 121 stars
adr skill
jellydn/my-ai-tools · configs/amp/plugins/my-ai-tools-skills/skills/adr/SKILL.md · Record architecture decisions with ADRs — captures why, alternatives considered, and consequences
git:20260814.d1987f5 · audit A · 121 stars
blindspot-pass skill
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.
git:20260913.e2e25be · audit A · 121 stars
capability-experiments skill
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.
git:20260913.e2e25be · audit B · 121 stars
code-quality-review skill
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.
git:20260913.e2e25be · audit A · 121 stars
code-review skill
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.
git:20260913.e2e25be · audit A · 121 stars
codemap skill
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.
git:20260913.e2e25be · audit A · 121 stars
commit-atomic skill
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
git:20260814.d1987f5 · audit A · 121 stars
context-discovery skill
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.
git:20260913.e2e25be · audit A · 121 stars
doc-search skill
jellydn/my-ai-tools · configs/amp/plugins/my-ai-tools-skills/skills/doc-search/SKILL.md · Search project documentation — ADRs, wiki entries, conventions via ripgrep, qmd, fff, and ctx
git:20260814.d1987f5 · audit A · 121 stars

Every file in jellydn/my-ai-tools

Other files named tdd

tdd skill
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…
git:20260923.b0b9c7a · audit A · 8,499 stars
tdd skill
codeaholicguy/ai-devkit · skills/tdd/SKILL.md · AI DevKit · Test-driven development — write a failing test before writing production code. Use when implementing new…
git:20260509.950097b · audit A · 1,633 stars
tdd skill
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…
git:20260524.d82da68 · audit A · 820 stars
tdd skill
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…
git:20260923.4a3ef20 · audit A · 553 stars
tdd skill
mxyhi/ok-skills · tdd/SKILL.md · Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions…
git:20260831.e7f2564 · audit A · 490 stars
tdd skill
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…
git:20260914.55bfdc2 · audit A · 418 stars
tdd skill
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…
git:20260915.ec2cb7c · audit A · 270 stars
tdd skill
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…
git:20260917.8f29537 · audit A · 145 stars

Browse by kind, by grade A, or by owner.