tdd SKILL.md skillA

tdd from kripu77/software-factory is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add kripu77/software-factory/tdd@git:20260828.06ce8c3

Pins git:20260828.06ce8c3 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
kripu77/software-factory
Path
skills/tdd/SKILL.md
Versions recorded
3
Latest version
git:20260828.06ce8c3, committed Aug 28, 2026
First version recorded
Aug 25, 2026
Size
1,036 bytes
Repository stars
7
License
MIT

Use when implementing features or bug fixes test-first.

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

Red then green. Consult this before and during the loop, not after.

Read `CONTEXT.md` if it exists so test names match the domain glossary. Respect ADRs.

## Good test

Tests verify behavior through public interfaces, not internals. A good test reads like a spec and survives refactors.

## Seams

A seam is the public boundary you test at. Test only at pre-agreed seams. Write the seams down before the first test. Confirm with the human if they are in the session. No test at an unconfirmed seam.

## Anti-patterns

- Implementation-coupled: mocks internals, private methods, or side channels.
- Tautological: expected value recomputed the way the code does.
- Horizontal slicing: all tests then all implementation. Use one test, one implementation, repeat.

## Loop

- Red before green.
- One seam, one test, one minimal implementation per cycle.
- Refactoring is not part of this loop. It belongs to `/code-review`.

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add kripu77/software-factory/tdd@sha256:125633387f100bcc

The line at the top of this page pins the label git:20260828.06ce8c3, 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_4n6knibgttqgu6qn.svg)](https://markdownregistry.com/a/art_4n6knibgttqgu6qn)

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

Versions

The registry has recorded 3 versions of this file, between Aug 25, 2026 and Aug 28, 2026, about one every day.

versioncommittedcommitsizeaudit
git:20260828.06ce8c3 latest2026-08-28 06ce8c3 1,036 BA view · diff
git:20260825.9cd37b62026-08-25 9cd37b6 1,059 BA view · diff
git:20260825.2515b952026-08-25 2515b95 1,046 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 (1036 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

kripu77/software-factory · 7 stars · license MIT · pushed 2026-09-18 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_4n6knibgttqgu6qn
GET https://markdownregistry.com/api/v1/resolve?ref=kripu77/software-factory/tdd
GET https://markdownregistry.com/api/v1/blob/125633387f100bcc38375084104ee353bb99aab89dda3e66c55d26db6d4d157d

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 kripu77/software-factory

AGENTS.md AGENTS.md file
kripu77/software-factory · AGENTS.md
git:20260830.a6159cb · audit B · 7 stars
browser-use SKILL.md skill
kripu77/software-factory · skills/browser-use/SKILL.md · Drive a real browser to QA a running app. Screenshots, clicks, forms, evidence. Use when there is no Playwright suite…
git:20260828.f7e78f2 · audit B · 7 stars
code-review SKILL.md skill
kripu77/software-factory · skills/code-review/SKILL.md · Run an extremely strict maintainability review for abstraction quality, giant files, and spaghetti-condition growth…
git:20260830.e3b097c · audit A · 7 stars
implement SKILL.md skill
kripu77/software-factory · skills/implement/SKILL.md · Use when implementing a spec or GitHub ticket in this checkout.
git:20260830.52142ac · audit A · 7 stars
lead SKILL.md skill
kripu77/software-factory · skills/lead/SKILL.md · Use when acting as the factory tech lead: classify work, ask the minimum questions, create tickets, and dispatch…
git:20260831.81e380e · audit A · 7 stars
loop-on-ci SKILL.md skill
kripu77/software-factory · skills/loop-on-ci/SKILL.md · Monitor PR checks and fix failures until green. Uses gh pr checks as the source of truth for PR-attached checks.
git:20260825.86dfec5 · audit A · 7 stars
mermaid SKILL.md skill
kripu77/software-factory · skills/mermaid/SKILL.md · Generate Mermaid diagrams from user requirements. Supports flowcharts, sequence diagrams, class diagrams, ER diagrams…
git:20260829.e097acd · audit A · 7 stars
run-smoke-tests SKILL.md skill
kripu77/software-factory · skills/run-smoke-tests/SKILL.md · Run Playwright smoke tests, debug failures, and verify fixes. Use for smoke, e2e, Playwright, or pre-ship browser…
git:20260825.71303d6 · audit B · 7 stars
to-tickets SKILL.md skill
kripu77/software-factory · skills/to-tickets/SKILL.md · Use when breaking a plan into tracer-bullet GitHub issues with blocking edges.
git:20260825.2515b95 · audit A · 7 stars
unslop SKILL.md skill
kripu77/software-factory · skills/unslop/SKILL.md · Cut AI tells from any writing. Must always apply.
git:20260825.e3adc2e · audit A · 7 stars

Every file in kripu77/software-factory

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 · 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
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
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.