tdd SKILL.md skillA

tdd from tercel/code-forge is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add tercel/code-forge/tdd@git:20260422.d0e053f

Pins git:20260422.d0e053f in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
tercel/code-forge
Path
skills/tdd/SKILL.md
Versions recorded
5
Latest version
git:20260422.d0e053f, committed Apr 22, 2026
First version recorded
Mar 13, 2026
Size
15,518 bytes
Repository stars
6
License
none declared

Use when implementing any feature or fix outside code-forge workflow — enforces Red-Green-Refactor cycle with mandatory test-first discipline. Supports three modes: (1) Standalone — ad-hoc TDD for quick changes, (2) Auto-Analysis — runs the full spec-forge:test-cases analysis pipeline (project profile, four-layer deep scan, multi-dimensional coverage) then implements all cases via TDD, (3) Driven — reads a test-cases.md document and implements each case via TDD.

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

# Code Forge — TDD

## ⚡ Execution Entry Point

@../shared/execution-entrypoint.md

**For this skill:** start at **Step 0 (Determine Mode)**. If you catch yourself about to say "falling back to manual TDD", STOP and go to the indicated step.

---

Test-Driven Development enforcement for any code change, with built-in code analysis.

## When to Use

- Writing code outside of code-forge:impl workflow (ad-hoc changes, quick fixes)
- Adding tests to existing code that lacks coverage
- Implementing test cases from a spec-forge:test-cases document
- Any new feature, bug fix, or behavior change that needs test discipline

**Note:** code-forge:impl already enforces TDD internally. This skill is for work outside that workflow.

## Iron Law

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

No exceptions. Not for "simple" changes. Not for "obvious" fixes. Not when under time pressure.

## Design Discipline (Mandatory, Applies to All Modes)
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add tercel/code-forge/tdd@sha256:439d938e6b32b49a

The line at the top of this page pins the label git:20260422.d0e053f, 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_ylyvccfdapwvckxr.svg)](https://markdownregistry.com/a/art_ylyvccfdapwvckxr)

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

Versions

The registry has recorded 5 versions of this file, between Mar 13, 2026 and Apr 22, 2026, about one every 10 days.

versioncommittedcommitsizeaudit
git:20260422.d0e053f latest2026-04-22 d0e053f 15,518 BA view · diff
git:20260409.eba6a052026-04-09 eba6a05 16,537 BA view · diff
git:20260326.18321e32026-03-26 18321e3 14,082 BA view · diff
git:20260325.3fb4c8a2026-03-25 3fb4c8a 11,480 BA view · diff
git:20260313.0860d482026-03-13 0860d48 4,590 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 (15518 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

tercel/code-forge · 6 stars · license none declared · pushed 2026-09-16 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ylyvccfdapwvckxr
GET https://markdownregistry.com/api/v1/resolve?ref=tercel/code-forge/tdd
GET https://markdownregistry.com/api/v1/blob/439d938e6b32b49a16c5e590c4e86d809f4b9813f6e187cab5f6b76f00125c93

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 tercel/code-forge

code-forge SKILL.md skill
tercel/code-forge · SKILL.md · Complete Codex development workflow for turning requirements, feature docs, or prompts into working code. Use when the…
v1 · audit A · 6 stars
debug SKILL.md skill
tercel/code-forge · skills/debug/SKILL.md · Use when encountering any bug, test failure, or unexpected behavior — enforces root cause investigation before fixes…
git:20260422.d0e053f · audit A · 6 stars
finish SKILL.md skill
tercel/code-forge · skills/finish/SKILL.md · Use when implementation is complete and you need to merge, create a PR, or clean up — verifies tests pass, presents 4…
git:20260422.d0e053f · audit A · 6 stars
fix SKILL.md skill
tercel/code-forge · skills/fix/SKILL.md · Use when fixing a DEFECT IN SOURCE CODE — wrong runtime behavior, a crash, a failing test, or the issues listed in a…
git:20260813.bd84674 · audit A · 6 stars
impl SKILL.md skill
tercel/code-forge · skills/impl/SKILL.md · Execute pending tasks for a feature — TDD-driven implementation with sub-agent isolation and progress tracking. Use…
git:20260610.fdf95d5 · audit A · 6 stars
parallel SKILL.md skill
tercel/code-forge · skills/parallel/SKILL.md · Use when facing 2+ independent problems that can be solved concurrently — dispatches one sub-agent per problem domain…
git:20260422.d0e053f · audit A · 6 stars
plan SKILL.md skill
tercel/code-forge · skills/plan/SKILL.md · Analyze documentation (or a prompt) and generate an implementation plan with task breakdown, TDD steps, and progress…
git:20260916.6717348 · audit A · 6 stars
port SKILL.md skill
tercel/code-forge · skills/port/SKILL.md · Port a documentation-driven project to a new target language — initializes project skeleton, analyzes reference…
git:20260422.d0e053f · audit A · 6 stars
review SKILL.md skill
tercel/code-forge · skills/review/SKILL.md · Use ONLY when reviewing SOURCE CODE — a code change, a feature implementation, a whole repository, or a GitHub pull…
git:20260820.fc44708 · audit A · 6 stars
status SKILL.md skill
tercel/code-forge · skills/status/SKILL.md · Display code-forge feature dashboard with task-level progress from state.json, or show detailed status for a specific…
git:20260610.16e086f · audit A · 6 stars
verify SKILL.md skill
tercel/code-forge · skills/verify/SKILL.md · Use before claiming ENGINEERING WORK is done, fixed, or passing — work whose correctness a command can demonstrate…
git:20260813.bd84674 · audit A · 6 stars
worktree SKILL.md skill
tercel/code-forge · skills/worktree/SKILL.md · Use when starting feature work that needs workspace isolation — creates git worktree with automatic project setup and…
git:20260422.d0e053f · audit A · 6 stars

Every file in tercel/code-forge

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 A, or by owner.