Home / nota-america / forgecat-agent-profiles · profiles/addyosmani/agent-skills/for-forgecat/platforms/cursor/.cursor/skills/test-driven-development/SKILL.md · GitHub

test-driven-development skillA

This file is byte-identical to the first copy the registry indexed, one of 5 copies on public GitHub. Same content hash, same audit grade.

test-driven-development is agent-read markdown (skill) from nota-america/forgecat-agent-profiles: Drives development with tests using the red-green-refactor loop. Use when implementing any logic, fixing any bug, or changing any behavior. Use when you need to prove that code works, when a bug report arrives, or when you're about to modify existing functionality..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# Test-Driven Development

## Overview

Write a failing test before writing the code that makes it pass. For bug fixes, reproduce the bug with a test before attempting a fix. Tests are proof — "seems right" is not done. A codebase with good tests is an AI agent's superpower; a codebase without tests is a liability.

## When to Use

- Implementing any new logic or behavior
- Fixing any bug (the Prove-It Pattern)
- Modifying existing functionality
- Adding edge case handling
- Any change that could break existing behavior

**When NOT to use:** Pure configuration changes, documentation updates, or static content changes that have no behavioral impact.

**Related:** For browser-based changes, combine TDD with runtime verification using Chrome DevTools MCP — see the Browser Testing section below.

## Discover the Stack First

The TDD cycle is universal; the commands are not. Before writing the first test, discover how *this* repository tests, and use its commands for every RED, GREEN, and verification step:

- **Language and build system** — `package.json`, `pom.xml`/`build.gradle`, `pyproject.toml`, `go.mod`, `Cargo.toml`, `Gemfile`, a `Makefile`
…

Read the whole file at its exact version.

How to install

Latest version
mdr add nota-america/forgecat-agent-profiles/test-driven-development@git:20260916.3a6b22e
Exact content
mdr add nota-america/forgecat-agent-profiles/test-driven-development@sha256:7c0c6ac057c19d7f

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_opjbcjxm346nmrm3.svg)](https://markdownregistry.com/a/art_opjbcjxm346nmrm3)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260916.3a6b22e latest2026-09-16 3a6b22e 16,517 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, 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 (16517 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

nota-america/forgecat-agent-profiles · 85 stars · license Apache-2.0 · pushed 2026-09-23 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_opjbcjxm346nmrm3
GET https://markdownregistry.com/api/v1/resolve?ref=nota-america/forgecat-agent-profiles/test-driven-development
GET https://markdownregistry.com/api/v1/blob/7c0c6ac057c19d7f8be65d9f49c3a638703b868f4625c78b70da5439d5d74fca

Your agent 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.

More from nota-america/forgecat-agent-profiles

api-and-interface-design skill
nota-america/forgecat-agent-profiles · profiles/addyosmani/agent-skills/for-claude/.claude/skills/api-and-interface-design/SKILL.md · Guides stable API and interface design. Use when designing APIs,
git:20260916.3a6b22e · audit A · 85 stars
browser-testing-with-devtools skill
nota-america/forgecat-agent-profiles · profiles/addyosmani/agent-skills/for-claude/.claude/skills/browser-testing-with-devtools/SKILL.md · Tests in real browsers via Chrome DevTools MCP. Use when building
git:20260916.3a6b22e · audit B · 85 stars
ci-cd-and-automation skill
nota-america/forgecat-agent-profiles · profiles/addyosmani/agent-skills/for-claude/.claude/skills/ci-cd-and-automation/SKILL.md · Automates CI/CD pipeline setup. Use when setting up or modifying
git:20260610.c645100 · audit A · 85 stars
code-review-and-quality skill
nota-america/forgecat-agent-profiles · profiles/addyosmani/agent-skills/for-claude/.claude/skills/code-review-and-quality/SKILL.md · Conducts multi-axis code review. Use before merging any change. Use
git:20260916.3a6b22e · audit A · 85 stars
code-simplification skill
nota-america/forgecat-agent-profiles · profiles/addyosmani/agent-skills/for-claude/.claude/skills/code-simplification/SKILL.md · Simplifies code for clarity. Use when refactoring code for clarity
git:20260610.c645100 · audit A · 85 stars
constraint-driven-development skill
nota-america/forgecat-agent-profiles · profiles/addyosmani/agent-skills/for-claude/.claude/skills/constraint-driven-development/SKILL.md · Establishes a project's quality bar as a written contract and stops
git:20260916.3a6b22e · audit A · 85 stars
context-engineering skill
nota-america/forgecat-agent-profiles · profiles/addyosmani/agent-skills/for-claude/.claude/skills/context-engineering/SKILL.md · Optimizes agent context setup. Use when starting a new session,
git:20260916.3a6b22e · audit A · 85 stars
debugging-and-error-recovery skill
nota-america/forgecat-agent-profiles · profiles/addyosmani/agent-skills/for-claude/.claude/skills/debugging-and-error-recovery/SKILL.md · Guides systematic root-cause debugging. Use when tests fail, builds
git:20260916.3a6b22e · audit A · 85 stars
deprecation-and-migration skill
nota-america/forgecat-agent-profiles · profiles/addyosmani/agent-skills/for-claude/.claude/skills/deprecation-and-migration/SKILL.md · Manages deprecation and migration. Use when removing old systems,
git:20260916.3a6b22e · audit A · 85 stars
documentation-and-adrs skill
nota-america/forgecat-agent-profiles · profiles/addyosmani/agent-skills/for-claude/.claude/skills/documentation-and-adrs/SKILL.md · Records decisions and documentation. Use when you need to document
git:20260916.3a6b22e · audit A · 85 stars
doubt-driven-development skill
nota-america/forgecat-agent-profiles · profiles/addyosmani/agent-skills/for-claude/.claude/skills/doubt-driven-development/SKILL.md · Subjects every non-trivial decision to a fresh-context adversarial
git:20260916.3a6b22e · audit A · 85 stars
frontend-ui-engineering skill
nota-america/forgecat-agent-profiles · profiles/addyosmani/agent-skills/for-claude/.claude/skills/frontend-ui-engineering/SKILL.md · Builds production-quality, accessible, responsive user-facing UIs.
git:20260916.3a6b22e · audit A · 85 stars

Every file in nota-america/forgecat-agent-profiles

Other files named test-driven-development

test-driven-development 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 · 291,204 stars
test-driven-development 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:20260907.cda4542 · audit A · 98,554 stars
test-driven-development skill
jnmetacode/superpowers-zh · skills/test-driven-development/SKILL.md · 在实现任何功能或修复 bug 时使用,在编写实现代码之前
v1.0.0 · audit A · 8,203 stars
test-driven-development 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,809 stars
test-driven-development 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,809 stars
test-driven-development skill
a5c-ai/babysitter · library/methodologies/cc10x/skills/test-driven-development/SKILL.md · Strict RED-GREEN-REFACTOR cycle enforcement. Tests are never skipped or deferred. Run mode only, never watch mode. Exit…
git:20260601.da7723a · audit A · 1,809 stars
test-driven-development skill
ganyuanran/aegis · skills/test-driven-development/SKILL.md · Use when the user explicitly requests strict or test-first TDD, or when the current conversation already contains an…
git:20260723.88b8ec9 · audit A · 1,280 stars
test-driven-development skill
mateaix/mateclaw · mateclaw-server/src/main/resources/skills/test-driven-development/SKILL.md · TDD: enforce RED-GREEN-REFACTOR, tests before code.
v1.1.0 · audit A · 1,127 stars

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