tdd SKILL.md skillA

tdd from p2p2sp/p2p2.claude is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add p2p2sp/p2p2.claude/tdd@git:20260924.1101a9b

Pins git:20260924.1101a9b in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
p2p2sp/p2p2.claude
Path
docs/archive/superdev/skills/tdd/SKILL.md
Versions recorded
1
Latest version
git:20260924.1101a9b, committed Sep 24, 2026
Size
7,539 bytes
Repository stars
8
License
MIT

Test-Driven Development discipline expert. Use for a plan task marked `TDD: required`, or when the user explicitly asks for test-first work. Enforces Red-Green-Refactor (iron law: no production code without a failing test first - violations are deleted and restarted), mandatory VERIFY-RED and VERIFY-GREEN checkpoints, no horizontal slicing, and a per-cycle stop-condition checklist. Triggers include "TDD", "test first", "red-green-refactor", "RGR". Do NOT use for a task marked `TDD: none`, for…

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

## Overview

Write the test first. Watch it fail. Write the minimal code that passes. Refactor.

**Core principle:** if you didn't watch the test fail, you don't know whether it tests the right thing.

**Violating the letter of the rule is violating the spirit of the rule.**

## Iron Law

**NO PRODUCTION CODE WITHOUT A FAILING TEST FIRST.**

Production code that exists before a failing test for it MUST be deleted in its entirety - no keeping it as reference, no adapting it line-by-line, no "just looking at it" while writing the test, no exceptions. The only way back to compliance is **delete-then-restart**: drop the unguarded code, write the failing test, watch it fail for the right reason, then rewrite the production code minimally to turn the test green.

Applies to every production language and every layer (backend, frontend, infrastructure, scripts) - whether adding, changing, fixing, or restoring behavior.

## Red-Green-Refactor cycle (mandatory)

Execute the cycle in this exact order for each delivered behavior. **VERIFY RED** and **VERIFY GREEN** are part of the cycle, not optional sanity checks - skipping either invalidates the work.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add p2p2sp/p2p2.claude/tdd@sha256:13ca410faa16eaa9

The line at the top of this page pins the label git:20260924.1101a9b, 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_jmuztg2u77rnamj5.svg)](https://markdownregistry.com/a/art_jmuztg2u77rnamj5)

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

Versions

The registry has recorded 1 version of this file, committed on Sep 24, 2026.

versioncommittedcommitsizeaudit
git:20260924.1101a9b latest2026-09-24 1101a9b 7,539 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 (7539 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

p2p2sp/p2p2.claude · 8 stars · license MIT · pushed 2026-10-22 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_jmuztg2u77rnamj5
GET https://markdownregistry.com/api/v1/resolve?ref=p2p2sp/p2p2.claude/tdd
GET https://markdownregistry.com/api/v1/blob/13ca410faa16eaa91def78d777214fb4ab182f80c33b84df26b1079f15465fc4

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 p2p2sp/p2p2.claude

CLAUDE.md CLAUDE.md file
p2p2sp/p2p2.claude · CLAUDE.md
git:20261021.e0a0e76 · audit A · 8 stars
signoz SKILL.md skill
p2p2sp/p2p2.claude · devtools/skills/signoz/SKILL.md · SigNoz logs, dashboards and alerts through its HTTP API.
git:20261016.1921705 · audit A · 8 stars
CLAUDE.md@docs CLAUDE.md file
p2p2sp/p2p2.claude · docs/CLAUDE.md
git:20261007.aaa7079 · audit A · 8 stars
CLAUDE.md@docs/archive/superdev CLAUDE.md file
p2p2sp/p2p2.claude · docs/archive/superdev/CLAUDE.md
git:20261007.aaa7079 · audit A · 8 stars
CLAUDE.md@docs/archive/superdev/skills CLAUDE.md file
p2p2sp/p2p2.claude · docs/archive/superdev/skills/CLAUDE.md
git:20261007.aaa7079 · audit A · 8 stars
adr SKILL.md skill
p2p2sp/p2p2.claude · docs/archive/superdev/skills/adr/SKILL.md · Judges an intent interview's confirmed decisions against the three ADR criteria (hard to reverse, surprising without…
git:20260924.1101a9b · audit A · 8 stars
e2e SKILL.md skill
p2p2sp/p2p2.claude · docs/archive/superdev/skills/e2e/SKILL.md · Generate and locally verify Playwright tests for the scenarios of one docs/qa handoff file, then commit them for CI.
git:20260924.1101a9b · audit A · 8 stars
executor SKILL.md skill
p2p2sp/p2p2.claude · docs/archive/superdev/skills/executor/SKILL.md · Runs ONE build, test, lint, type-check or other shell command in a forked context and returns a short verdict - the…
git:20260924.1101a9b · audit A · 8 stars
intent SKILL.md skill
p2p2sp/p2p2.claude · docs/archive/superdev/skills/intent/SKILL.md · You MUST ALWAYS use this skill every time a user wants to do something creative - a new idea, a new feature, build…
git:20260924.1101a9b · audit A · 8 stars
phases-reviewer SKILL.md skill
p2p2sp/p2p2.claude · docs/archive/superdev/skills/phases-reviewer/SKILL.md · Invoked only by phases skill.
git:20260924.1101a9b · audit A · 8 stars
phases SKILL.md skill
p2p2sp/p2p2.claude · docs/archive/superdev/skills/phases/SKILL.md · Cuts one confirmed intent into ordered phases, saves phases.md plus one intent.md per phase, and resumes a phased run…
git:20260924.1101a9b · audit A · 8 stars
setup SKILL.md skill
p2p2sp/p2p2.claude · docs/archive/superdev/skills/setup/SKILL.md · Setup superdev environment.
git:20260924.1101a9b · audit A · 8 stars

Every file in p2p2sp/p2p2.claude

Other files named tdd

tdd SKILL.md skill
yeachan-heo/oh-my-claudecode · skills/tdd/SKILL.md · Test-first at pre-agreed seams — one test, one implementation, tracer-bullet red/green; independent expected values…
git:20261009.7b270a4 · audit A · 40,148 stars
tdd SKILL.md 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 · 13,494 stars
tdd SKILL.md skill
cursor/plugins · harness/pstack/claude-code/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:20261016.182f2ce · audit A · 13,494 stars
tdd SKILL.md skill
vinvcn/mattpocock-skills-zh-cn · skills/engineering/tdd/SKILL.md · 测试驱动开发。适用于用户想用先写测试的方式构建功能或修复缺陷、提到 “red-green-refactor”,或需要集成测试时。
git:20261008.5be0dc1 · audit A · 5,110 stars
tdd SKILL.md skill
wesammustafa/claude-code-everything-you-need-to-know · examples/intermediate/01-first-skill/dot-claude/skills/tdd/SKILL.md · TODO
git:20261006.11cadf7 · audit A · 3,462 stars
tdd SKILL.md 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 · 3,263 stars
tdd SKILL.md skill
rohitg00/pro-workflow · skills/tdd/SKILL.md · Drive a change through a red-green-refactor loop - failing test first, minimal code to pass, then clean up. Use when…
git:20260718.7f7209d · audit A · 2,922 stars
tdd SKILL.md 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:20261004.c0c3f13 · audit A · 2,481 stars

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