tdd SKILL.md skillB
tdd from oprogramadorreal/optimus-claude is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add oprogramadorreal/optimus-claude/tdd@git:20260924.1f5d70aPins git:20260924.1f5d70a in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 16 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- oprogramadorreal/optimus-claude
- Path
skills/tdd/SKILL.md- Versions recorded
- 13
- Latest version
- git:20260924.1f5d70a, committed Sep 24, 2026
- First version recorded
- Jul 17, 2026
- Size
- 20,919 bytes
- Repository stars
- 75
- License
- MIT
Guides test-driven development — decomposes a feature or bug fix into testable behaviors, then runs Red-Green-Refactor cycles with a failing test before every implementation. Auto-detects specs from docs/specs/ or docs/jira/, creates a feature branch (optional worktree), commits per cycle, and pushes. Recommends /optimus:init (falls back to general best practices on your choice); requires a passing test suite.
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 Implement a feature or bug fix test-first: for each behavior, write a failing test (Red), write the minimum code to pass it (Green), then clean up while tests stay green (Refactor). This skill builds new behavior — for restructuring without behavior change, use `/optimus:refactor`. **The Iron Law: no production code without a failing test first.** If this cycle's implementation is written before its test, undo only that implementation using the ownership record below and begin the cycle fresh. Preserve pre-existing code and user edits; write the cycle's implementation once the failing test exists. If this conversation is in plan mode, stop: TDD needs normal mode. Tell the user to toggle plan mode off without approving, save any refined plan to its spec, and invoke TDD in a fresh conversation. ## Step 1: Pre-flight …
Read the whole file at its exact version.
How to install
mdr add oprogramadorreal/optimus-claude/tdd@sha256:ed512aede6325dbdThe line at the top of this page pins the label git:20260924.1f5d70a, 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.
[](https://markdownregistry.com/a/art_ezbvxnubusidlr74)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 13 versions of this file, between Jul 17, 2026 and Sep 24, 2026, about one every 6 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260924.1f5d70a latest | 2026-09-24 | 1f5d70a | 20,919 B | B | view · diff |
| git:20260924.56effdb | 2026-09-24 | 56effdb | 19,038 B | B | view · diff |
| git:20260924.960d6de | 2026-09-24 | 960d6de | 18,938 B | B | view · diff |
| git:20260924.009fced | 2026-09-24 | 009fced | 19,173 B | B | view · diff |
| git:20260924.d4397bc | 2026-09-24 | d4397bc | 19,177 B | B | view · diff |
| git:20260909.b18c176 | 2026-09-09 | b18c176 | 19,117 B | B | view · diff |
| git:20260909.044e63f | 2026-09-09 | 044e63f | 18,638 B | B | view · diff |
| git:20260909.63879c3 | 2026-09-09 | 63879c3 | 18,386 B | B | view · diff |
| git:20260728.6373eea | 2026-07-28 | 6373eea | 15,385 B | B | view · diff |
| git:20260727.f03d285 | 2026-07-27 | f03d285 | 15,243 B | B | view · diff |
| git:20260727.7cc4bb8 | 2026-07-27 | 7cc4bb8 | 15,176 B | B | view · diff |
| git:20260718.34d58d2 | 2026-07-18 | 34d58d2 | 14,920 B | B | view · diff |
| git:20260717.056662d | 2026-07-17 | 056662d | 14,858 B | B | view |
Audit of the latest version
- fail: Frontmatter declares a name
- pass: Frontmatter block present
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (20919 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
Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
oprogramadorreal/optimus-claude · 75 stars · license MIT · pushed 2026-09-28 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_ezbvxnubusidlr74 GET https://markdownregistry.com/api/v1/resolve?ref=oprogramadorreal/optimus-claude/tdd GET https://markdownregistry.com/api/v1/blob/ed512aede6325dbd6dbf74dd197cdb35d8b1c436d2215f349ff01b4ff4c097fc
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 oprogramadorreal/optimus-claude
Every file in oprogramadorreal/optimus-claude