test-driven-development SKILL.md skillA

test-driven-development from ctaxnagomi/agent-kd-skill is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add ctaxnagomi/agent-kd-skill/test-driven-development@v1.0.0

Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
ctaxnagomi/agent-kd-skill
Path
skills/hermes/test-driven-development/SKILL.md
Versions recorded
1
Latest version
v1.0.0, committed Aug 26, 2026
Size
2,247 bytes
Repository stars
3
License
none declared

TDD workflow: enforce RED-GREEN-REFACTOR, tests before code.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Test-Driven Development

Classic TDD workflow: write a failing test first, make it pass with minimal code, then refactor. Enforces discipline and produces well-tested, clean code.

## When to Use

- Starting a new feature or module
- Fixing a bug (write a test that fails first)
- Refactoring existing code
- Any time you want confidence in your code

## Procedure

### RED Phase

1. Write a test for the next small behavior
2. Run the test, confirm it fails
3. Check the error message makes sense

### GREEN Phase

1. Write the simplest code that makes the test pass
2. Run the test, confirm it passes
3. Do not add anything the test does not require

### REFACTOR Phase

1. Improve the code while keeping tests green
2. Remove duplication
3. Clarify naming
4. Run tests again to confirm nothing broke

## Cycle

Repeat RED-GREEN-REFACTOR in small increments. Each cycle should take 2-10 minutes. If it takes longer, the step is too big.

## Pitfalls

- Writing multiple tests before making any pass
- Skipping the refactor phase
- Writing tests after the code
- Making the Green phase too elaborate

## Verification

- All tests pass
- Each test covers one specific behavior
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add ctaxnagomi/agent-kd-skill/test-driven-development@sha256:dbebfa689080625a

The line at the top of this page pins the label v1.0.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

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

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Aug 26, 2026.

versioncommittedcommitsizeaudit
v1.0.0 latest2026-08-26 b15d03d 2,247 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the 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 (2247 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

ctaxnagomi/agent-kd-skill · 3 stars · license none declared · pushed 2026-10-14 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_nznq2jiwrvjytzgk
GET https://markdownregistry.com/api/v1/resolve?ref=ctaxnagomi/agent-kd-skill/test-driven-development
GET https://markdownregistry.com/api/v1/blob/dbebfa689080625a888dead3691113c1f44236e7de169c499d1a4b1fff474f1f

Your AI assistant 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.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from ctaxnagomi/agent-kd-skill

grill-me SKILL.md skill
ctaxnagomi/agent-kd-skill · skills/agent-sub/grill-me/SKILL.md
git:20260826.54f6831 · audit C · 3 stars
agent-memory SKILL.md skill
ctaxnagomi/agent-kd-skill · skills/custom/agent-memory/SKILL.md
git:20260826.54f6831 · audit C · 3 stars
ask-matt SKILL.md skill
ctaxnagomi/agent-kd-skill · skills/custom/ask-matt/SKILL.md
git:20260826.54f6831 · audit C · 3 stars
code-review SKILL.md skill
ctaxnagomi/agent-kd-skill · skills/custom/code-review/SKILL.md
git:20260826.54f6831 · audit C · 3 stars
codebase-design SKILL.md skill
ctaxnagomi/agent-kd-skill · skills/custom/codebase-design/SKILL.md
git:20260826.54f6831 · audit C · 3 stars
deepseek-harness SKILL.md skill
ctaxnagomi/agent-kd-skill · skills/custom/deepseek-harness/SKILL.md · Fetch, harness, and deploy Deepseek models with full repo instructions, file management, and agent integration.
git:20260826.fc8b2a5 · audit B · 3 stars
design SKILL.md skill
ctaxnagomi/agent-kd-skill · skills/custom/design/SKILL.md · UI/UX design system — skewed glass cards, neon border-trace buttons, translucent iOS aesthetic with per-category color…
git:20260826.f28e6ab · audit B · 3 stars
diagnosing-bugs SKILL.md skill
ctaxnagomi/agent-kd-skill · skills/custom/diagnosing-bugs/SKILL.md
git:20260826.54f6831 · audit C · 3 stars
domain-modeling SKILL.md skill
ctaxnagomi/agent-kd-skill · skills/custom/domain-modeling/SKILL.md
git:20260826.54f6831 · audit C · 3 stars
git-guardrails-claude-code SKILL.md skill
ctaxnagomi/agent-kd-skill · skills/custom/git-guardrails-claude-code/SKILL.md
git:20260826.54f6831 · audit C · 3 stars
grill-with-docs SKILL.md skill
ctaxnagomi/agent-kd-skill · skills/custom/grill-with-docs/SKILL.md
git:20260826.54f6831 · audit C · 3 stars
grilling SKILL.md skill
ctaxnagomi/agent-kd-skill · skills/custom/grilling/SKILL.md
git:20260826.54f6831 · audit C · 3 stars

Every file in ctaxnagomi/agent-kd-skill

Other files named test-driven-development

test-driven-development SKILL.md skill
obra/superpowers · skills/test-driven-development/SKILL.md · Use when implementing any feature or bugfix, before writing implementation code
git:20260919.5bf4e78 · audit A · 302,424 stars
test-driven-development SKILL.md skill
addyosmani/agent-skills · skills/test-driven-development/SKILL.md · Drives development with tests using the red-green-refactor loop. Use when implementing any logic, fixing any bug, or…
git:20261011.7c47146 · audit A · 109,013 stars
test-driven-development SKILL.md skill
jnmetacode/superpowers-zh · skills/test-driven-development/SKILL.md · 在实现任何功能或修复 bug 时使用,在编写实现代码之前
v1.0.0 · audit A · 8,348 stars
test-driven-development SKILL.md skill
mvschwarz/openrig · skills/_canonical/process/test-driven-development/SKILL.md · Use when implementing any feature or bugfix, before writing implementation code
git:20260907.6271b26 · audit A · 7,989 stars
test-driven-development SKILL.md skill
mvschwarz/openrig · packages/daemon/specs/agents/shared/skills/process/test-driven-development/SKILL.md · Use when implementing any feature or bugfix, before writing implementation code
git:20260907.6271b26 · audit A · 7,989 stars
test-driven-development SKILL.md skill
cbrock84/headcount · plugins/technology/skills/test-driven-development/SKILL.md · Drives implementation by writing a failing test first, then the smallest code that passes it. Use this before writing…
git:20260901.aa45383 · audit A · 2,076 stars
test-driven-development SKILL.md skill
a5c-ai/babysitter · library/methodologies/superpowers/skills/test-driven-development/SKILL.md · Use when implementing any feature or bugfix, before writing implementation code. Enforces RED-GREEN-REFACTOR cycle.
git:20260601.da7723a · audit A · 1,862 stars
test-driven-development SKILL.md skill
a5c-ai/babysitter · library/methodologies/rpikit/skills/test-driven-development/SKILL.md · Test-first development practice where test specifications are written before production code, integrated into plan…
git:20260601.da7723a · audit A · 1,862 stars

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