tdd SKILL.md skillA

This file is byte-identical to the first copy the registry indexed, one of 4 indexed copies. Same content hash, so the same checks give both the same grade.

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

Install it, pinned
mdr add lucasheriques/pstack/tdd@git:20260923.8a26243

Pins git:20260923.8a26243 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
lucasheriques/pstack
Path
skills/tdd/SKILL.md
Versions recorded
1
Latest version
git:20260923.8a26243, committed Sep 23, 2026
Size
3,143 bytes
Repository stars
3
License
MIT

Use only when the user explicitly asks for TDD, a failing test, or a regression test, OR when the bug has an obvious cheap local test target. Skip when the test path is unclear, expensive, integration-heavy, or not requested.

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

# TDD Bug Fix

When fixing a bug with a clear, cheap test path, make the broken behavior executable before changing production code. The goal is a focused regression test that fails before the fix and passes after it.

Do not force a test when it would be impractical. If the available test would require broad harness setup, brittle mocks, slow end-to-end infrastructure, production-only state, vague reproduction steps, or large unrelated fixture churn, skip adding a new test and use the closest useful verification instead.

## Workflow

1. **Understand the bug.** Identify the intended behavior, current behavior, affected path, and smallest observable reproduction.
2. **Choose the narrowest executable check.** Prefer the closest unit, component, integration, or regression test already used for that codepath. If no practical test path is obvious, do not create one from scratch just to satisfy the workflow.
3. **Write the failing test first.** Add the smallest focused test that would have caught the bug. The test should encode intended behavior, not mirror the current implementation.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add lucasheriques/pstack/tdd@sha256:eeb868e2dfebee52

The line at the top of this page pins the label git:20260923.8a26243, 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_lrnjafly5zfj2wvi.svg)](https://markdownregistry.com/a/art_lrnjafly5zfj2wvi)

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

Versions

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

versioncommittedcommitsizeaudit
git:20260923.8a26243 latest2026-09-23 8a26243 3,143 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 (3143 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

lucasheriques/pstack · 3 stars · license MIT · pushed 2026-10-16 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_lrnjafly5zfj2wvi
GET https://markdownregistry.com/api/v1/resolve?ref=lucasheriques/pstack/tdd
GET https://markdownregistry.com/api/v1/blob/eeb868e2dfebee528d730a67d7b17498fac4bb85dec2e38bc5c5176aca4d5d2f

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 lucasheriques/pstack

sync-upstream SKILL.md skill
lucasheriques/pstack · .claude/skills/sync-upstream/SKILL.md · Merge the latest cursor/plugins pstack into this Claude Code port. Use for "sync upstream", "update pstack from…
git:20261014.8882c71 · audit A · 3 stars
CLAUDE.md CLAUDE.md file
lucasheriques/pstack · CLAUDE.md
git:20260924.110f598 · audit A · 3 stars
architect SKILL.md skill
lucasheriques/pstack · skills/architect/SKILL.md · Sketch types, signatures, and module structure before code, then stay in the loop while implementation fills in. Use…
git:20261014.8882c71 · audit A · 3 stars
arena SKILL.md skill
lucasheriques/pstack · skills/arena/SKILL.md · Spawn N parallel candidates at the same task, pick a base, graft the strongest parts of the losers into it. Use for…
git:20261014.8882c71 · audit A · 3 stars
automate-me SKILL.md skill
lucasheriques/pstack · skills/automate-me/SKILL.md · Use for "automate me", "create/update/refresh my -mode skill", "turn/capture my preferences or working style into a…
git:20260924.44c9277 · audit A · 3 stars
benchmark-checklist SKILL.md skill
lucasheriques/pstack · skills/benchmark-checklist/SKILL.md · Vet a perf measurement (limiter, tuning, limits, errors, repeatability, relevance, and whether the work happened)…
git:20261014.8882c71 · audit A · 3 stars
blast-radius SKILL.md skill
lucasheriques/pstack · skills/blast-radius/SKILL.md · Find what a change could break somewhere else before it ships, beyond the diff, and prove the one fact it's safe…
git:20260923.11fd787 · audit A · 3 stars
bro SKILL.md skill
lucasheriques/pstack · skills/bro/SKILL.md · Restate the last message in plain human language, with no jargon.
git:20260923.8a26243 · audit A · 3 stars
correct SKILL.md skill
lucasheriques/pstack · skills/correct/SKILL.md · Find the mistakes agents keep repeating in this repo and make each one impossible. Try architecture first, then types…
git:20261016.71f575d · audit A · 3 stars
create-verification-skill SKILL.md skill
lucasheriques/pstack · skills/create-verification-skill/SKILL.md · Generate a project-local verification skill that drives your app the way a user does — any language, framework, or…
git:20261014.8882c71 · audit A · 3 stars
figure-it-out SKILL.md skill
lucasheriques/pstack · skills/figure-it-out/SKILL.md · Design an auditable playbook when no narrower one fits: a large migration, an ambitious multi-part change, or work a…
git:20261014.8882c71 · audit A · 3 stars
how SKILL.md skill
lucasheriques/pstack · skills/how/SKILL.md · Use for "how does X work", code walkthroughs before changing something, and placement / ownership / layering questions…
git:20261014.8882c71 · audit A · 3 stars

Every file in lucasheriques/pstack

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.