test-driven-development SKILL.md skillA

test-driven-development from pyroxin/opinionated-claude-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add pyroxin/opinionated-claude-skills/test-driven-development@git:20251129.c7223ee

Pins git:20251129.c7223ee in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
pyroxin/opinionated-claude-skills
Path
opinionated-software-engineering/skills/test-driven-development/SKILL.md
Versions recorded
1
Latest version
git:20251129.c7223ee, committed Nov 29, 2025
Size
11,653 bytes
Repository stars
9
License
EPL-2.0

Core TDD philosophy and testing principles. Use when writing tests interactively or need testing guidance. Emphasizes tests as contracts, mock boundaries not internals, and implementation fixes over test changes.

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

**For system-level design principles and architectural boundaries, see the `software-engineer` skill.**

## Core Philosophy

<core_philosophy>
**Foundation**: TDD is an application of contract-based design. Tests define the contract an implementation must fulfill—they are specifications, not afterthoughts. This connects directly to the abstraction principles in the `software-engineer` skill.

**Tests = Contracts**: Tests represent business requirements and expected behavior. They are contracts the implementation must fulfill. Never compromise test integrity to achieve green tests.

**Tests are source of truth**: When tests fail, fix the implementation. Only change tests when requirements change or test has a verified bug.
</core_philosophy>

## Testing Approach

### Architectural Boundaries and Mocking Strategy

<architectural_boundaries>
**Identify architectural boundaries** in your system:
- Layer boundaries (e.g., data layer, service layer, presentation layer)
- Module boundaries (e.g., namespaces, packages, crates)
- Process boundaries (e.g., Erlang processes, Elixir GenServers)
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add pyroxin/opinionated-claude-skills/test-driven-development@sha256:2998f45aaadbf296

The line at the top of this page pins the label git:20251129.c7223ee, 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_ubbu2bufs6bz55dt.svg)](https://markdownregistry.com/a/art_ubbu2bufs6bz55dt)

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

Versions

The registry has recorded 1 version of this file, committed on Nov 29, 2025.

versioncommittedcommitsizeaudit
git:20251129.c7223ee latest2025-11-29 c7223ee 11,653 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 (11653 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

pyroxin/opinionated-claude-skills · 9 stars · license EPL-2.0 · pushed 2026-10-13 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ubbu2bufs6bz55dt
GET https://markdownregistry.com/api/v1/resolve?ref=pyroxin/opinionated-claude-skills/test-driven-development
GET https://markdownregistry.com/api/v1/blob/2998f45aaadbf296ed8d08aa67980b491098ffe854d080b155b45058b343809b

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 pyroxin/opinionated-claude-skills

CLAUDE.md CLAUDE.md file
pyroxin/opinionated-claude-skills · CLAUDE.md
git:20260614.651580b · audit A · 9 stars
macos-programmer SKILL.md skill
pyroxin/opinionated-claude-skills · opinionated-apple-development/skills/macos-programmer/SKILL.md · macOS-specific development patterns, platform APIs, and decision frameworks. Use when developing Mac apps, macOS…
git:20260906.756f678 · audit A · 9 stars
swift-programmer SKILL.md skill
pyroxin/opinionated-claude-skills · opinionated-apple-development/skills/swift-programmer/SKILL.md · Swift-specific idioms, tooling, and philosophy for both application development and command-line scripting. Use when…
git:20260906.756f678 · audit F · 9 stars
fish-shell-scripting SKILL.md skill
pyroxin/opinionated-claude-skills · opinionated-fish-shell/skills/fish-shell-scripting/SKILL.md · Fish shell scripting judgment frameworks and critical idioms. Use when writing Fish scripts or shell automation…
git:20251129.c7223ee · audit A · 9 stars
java-programmer SKILL.md skill
pyroxin/opinionated-claude-skills · opinionated-java-ecosystem/skills/java-programmer/SKILL.md · Java-specific tooling, documentation standards, testing practices, and modern idioms. Use when working with Java code…
git:20251129.c7223ee · audit A · 9 stars
clojure-programmer SKILL.md skill
pyroxin/opinionated-claude-skills · opinionated-lisp-development/skills/clojure-programmer/SKILL.md · Clojure-specific philosophy, idioms, and judgment frameworks. Use when working with Clojure code. Emphasizes…
git:20251129.c7223ee · audit A · 9 stars
racket-programmer SKILL.md skill
pyroxin/opinionated-claude-skills · opinionated-lisp-development/skills/racket-programmer/SKILL.md · Racket-specific tooling, libraries, idioms, and language-oriented programming philosophy. Use when working with Racket…
git:20251129.c7223ee · audit A · 9 stars
swi-prolog-programmer SKILL.md skill
pyroxin/opinionated-claude-skills · opinionated-logic-development/skills/swi-prolog-programmer/SKILL.md · SWI-Prolog-specific tooling, standards, and idioms. Use when working with SWI-Prolog code. Emphasizes relational…
git:20251129.c7223ee · audit A · 9 stars
python-programmer SKILL.md skill
pyroxin/opinionated-claude-skills · opinionated-python-development/skills/python-programmer/SKILL.md · Python-specific idioms, philosophy, and expert-level patterns. Use when working with Python code, including Jupyter…
git:20260301.390d514 · audit A · 9 stars
decision-analysis SKILL.md skill
pyroxin/opinionated-claude-skills · opinionated-research/skills/decision-analysis/SKILL.md · Systematic framework for rigorous, situationally-grounded decision analysis. Use when evaluating options with competing…
git:20260927.f14dc60 · audit A · 9 stars
deep-research SKILL.md skill
pyroxin/opinionated-claude-skills · opinionated-research/skills/deep-research/SKILL.md · Deprecated name; the skill formerly here is now opinionated-research:interactive-research. Retained as a context-level…
git:20260704.474737c · audit A · 9 stars
interactive-research SKILL.md skill
pyroxin/opinionated-claude-skills · opinionated-research/skills/interactive-research/SKILL.md · Runs multi-source research and produces a cited, synthesized report, then remains available for follow-up questions…
git:20261003.763aa74 · audit A · 9 stars

Every file in pyroxin/opinionated-claude-skills

Other files named test-driven-development

test-driven-development SKILL.md skill
obra/superpowers · skills/test-driven-development/SKILL.md · Use when implementing any feature or bugfix, before writing implementation code
git:20260919.5bf4e78 · audit A · 314,583 stars
test-driven-development SKILL.md skill
addyosmani/agent-skills · skills/test-driven-development/SKILL.md · Drives development with tests using the red-green-refactor loop. Use when implementing any logic, fixing any bug, or…
git:20261029.2b14012 · audit A · 113,383 stars
test-driven-development SKILL.md skill
mvschwarz/openrig · skills/_canonical/process/test-driven-development/SKILL.md · Use when implementing any feature or bugfix, before writing implementation code
git:20261025.a37e271 · audit A · 8,636 stars
test-driven-development SKILL.md skill
mvschwarz/openrig · packages/daemon/specs/agents/shared/skills/process/test-driven-development/SKILL.md · Use when implementing any feature or bugfix, before writing implementation code
git:20261025.a37e271 · audit A · 8,636 stars
test-driven-development SKILL.md skill
jnmetacode/superpowers-zh · skills/test-driven-development/SKILL.md · 在实现任何功能或修复 bug 时使用,在编写实现代码之前
v1.0.0 · audit A · 8,494 stars
test-driven-development SKILL.md skill
cbrock84/headcount · plugins/technology/skills/test-driven-development/SKILL.md · Drives implementation by writing a failing test first, then the smallest code that passes it. Use this before writing…
git:20260901.aa45383 · audit A · 2,543 stars
test-driven-development SKILL.md skill
a5c-ai/babysitter · library/methodologies/superpowers/skills/test-driven-development/SKILL.md · Use when implementing any feature or bugfix, before writing implementation code. Enforces RED-GREEN-REFACTOR cycle.
git:20260601.da7723a · audit A · 1,896 stars
test-driven-development SKILL.md skill
a5c-ai/babysitter · library/methodologies/rpikit/skills/test-driven-development/SKILL.md · Test-first development practice where test specifications are written before production code, integrated into plan…
git:20260601.da7723a · audit A · 1,896 stars

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