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.

Install it, pinned
mdr add oprogramadorreal/optimus-claude/tdd@git:20260924.1f5d70a

Pins 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

The exact contents, by fingerprint
mdr add oprogramadorreal/optimus-claude/tdd@sha256:ed512aede6325dbd

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

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ezbvxnubusidlr74.svg)](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.

versioncommittedcommitsizeaudit
git:20260924.1f5d70a latest2026-09-24 1f5d70a 20,919 BB view · diff
git:20260924.56effdb2026-09-24 56effdb 19,038 BB view · diff
git:20260924.960d6de2026-09-24 960d6de 18,938 BB view · diff
git:20260924.009fced2026-09-24 009fced 19,173 BB view · diff
git:20260924.d4397bc2026-09-24 d4397bc 19,177 BB view · diff
git:20260909.b18c1762026-09-09 b18c176 19,117 BB view · diff
git:20260909.044e63f2026-09-09 044e63f 18,638 BB view · diff
git:20260909.63879c32026-09-09 63879c3 18,386 BB view · diff
git:20260728.6373eea2026-07-28 6373eea 15,385 BB view · diff
git:20260727.f03d2852026-07-27 f03d285 15,243 BB view · diff
git:20260727.7cc4bb82026-07-27 7cc4bb8 15,176 BB view · diff
git:20260718.34d58d22026-07-18 34d58d2 14,920 BB view · diff
git:20260717.056662d2026-07-17 056662d 14,858 BB view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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

CLAUDE.md@.claude CLAUDE.md file
oprogramadorreal/optimus-claude · .claude/CLAUDE.md
git:20260924.f62b60d · audit A · 75 stars
AGENTS.md AGENTS.md file
oprogramadorreal/optimus-claude · AGENTS.md
git:20260908.3faa288 · audit A · 75 stars
brainstorm SKILL.md skill
oprogramadorreal/optimus-claude · skills/brainstorm/SKILL.md · Runs a structured design conversation — clarifies intent, proposes 2-3 approaches with trade-offs, iterates the design…
git:20260924.414aa59 · audit B · 75 stars
code-review SKILL.md skill
oprogramadorreal/optimus-claude · skills/code-review/SKILL.md · Reviews local changes, an open PR/MR, or a branch diff for bugs, security issues, and violations of the project's own…
git:20260924.88d38b6 · audit B · 75 stars
commit SKILL.md skill
oprogramadorreal/optimus-claude · skills/commit/SKILL.md · Stages, commits, and optionally pushes local changes with a Conventional Commits message — always previews and confirms…
git:20260924.009a4c7 · audit B · 75 stars
deep SKILL.md skill
oprogramadorreal/optimus-claude · skills/deep/SKILL.md · Runs an iterative auto-fix loop on a chosen target — review, refactor, or coverage — dispatching the base skill into…
git:20260924.b779cdd · audit B · 75 stars
dream SKILL.md skill
oprogramadorreal/optimus-claude · skills/dream/SKILL.md · Prunes and consolidates the project's auto-memory to keep it minimal — deletes stale, wrong, or redundant memories…
git:20260924.e3c7a16 · audit B · 75 stars
gauntlet SKILL.md skill
oprogramadorreal/optimus-claude · skills/gauntlet/SKILL.md · Runs a Gauntlet Loop: turns an ambitious goal into a builder/critic prompt judged against a concrete quality bar…
git:20260925.7013524 · audit B · 75 stars
handoff SKILL.md skill
oprogramadorreal/optimus-claude · skills/handoff/SKILL.md · Compacts the current conversation into one self-contained, tool-agnostic handoff document at docs/handoffs/<slug>.md so…
git:20260924.3b87324 · audit B · 75 stars
how-to-run SKILL.md skill
oprogramadorreal/optimus-claude · skills/how-to-run/SKILL.md · Generates or updates a project's HOW-TO-RUN.md — one verified document teaching a new developer to set up their…
git:20260924.b74e13d · audit B · 75 stars
init SKILL.md skill
oprogramadorreal/optimus-claude · skills/init/SKILL.md · Bootstraps a project for Claude Code or Codex — generates routed project guidance from detected structure, reconciles…
git:20260928.76d799b · audit B · 75 stars
jira SKILL.md skill
oprogramadorreal/optimus-claude · skills/jira/SKILL.md · Fetches a JIRA issue via a configured MCP server and distills it into a structured task file at docs/jira/<KEY>.md that…
git:20260924.99b54d0 · audit B · 75 stars

Every file in oprogramadorreal/optimus-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,624 stars
tdd SKILL.md skill
alirezarezvani/claude-skills · .gemini/skills/tdd/SKILL.md
git:20260309.8902ba7 · audit C · 29,490 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 · 15,586 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 · 15,586 stars
tdd SKILL.md skill
nightly-labs/openbot · marketplace/production-catalog/bundles/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:20261013.9e6954c · audit A · 6,292 stars
tdd SKILL.md skill
vinvcn/mattpocock-skills-zh-cn · skills/engineering/tdd/SKILL.md · 测试驱动开发。适用于用户想用先写测试的方式构建功能或修复缺陷、提到 “red-green-refactor”,或需要集成测试时。
git:20261028.c48fd4a · audit A · 5,611 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 · 4,103 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 · 3,692 stars

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