Skip to content
appsgit

TDD

TDD is an agent skill (a SKILL.md file) from mattpocock/skills. Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests. It works with Claude Code and Codex and has 278,361 GitHub stars across a repository of 15 listed skills.

github.com/mattpocock/skills/skills/engineering/tdd (opens in a new tab)

Add this skill

Claude

This repository is a Claude Code plugin marketplace. In Claude Code:

/plugin marketplace add mattpocock/skills
/plugin install mattpocock-skills@mattpocock

In the Claude apps, zip the tdd folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

ChatGPT / Codex

Codex reads skills from .agents/skills/ in a repo or ~/.agents/skills/ for every project:

git clone --depth 1 https://github.com/mattpocock/skills.git
cp -r skills/skills/engineering/tdd .agents/skills/tdd   # repo; ~/.agents/skills for all projects

Standalone skills also load in the ChatGPT desktop app.

Cursor

Cursor loads skills from .cursor/skills/ (or ~/.cursor/skills/) and also reads .claude/skills/:

git clone --depth 1 https://github.com/mattpocock/skills.git
cp -r skills/skills/engineering/tdd .cursor/skills/tdd   # project; ~/.cursor/skills for all projects

Source (checked Oct 7, 2026): code.claude.com/docs/en/skills (opens in a new tab), code.claude.com/docs/en/plugin-marketplaces (opens in a new tab), support.claude.com/en/articles/12512180-using-skills-in-claude (opens in a new tab), learn.chatgpt.com/docs/build-skills (opens in a new tab), cursor.com/docs/context/skills (opens in a new tab)

What this skill does

Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests. TDD is the red → green loop. This skill is the reference that makes that loop produce tests worth keeping: what a good test is, where tests go, the anti-patterns, and the rules of the loop. Every section applies on every cycle: consult them before and during the loop, not after.

When it triggers

  • Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
  • "red-green-refactor"

More skills in mattpocock/skills

15 skills are listed from this repository.

FAQ

TDD FAQ

Still curious? Email info@appsgit.com.

What is the TDD skill?

TDD is an agent skill (a SKILL.md file) from mattpocock/skills. Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests. It works with Claude Code and Codex and has 278,361 GitHub stars across a repository of 15 listed skills. Its SKILL.md lives at github.com/mattpocock/skills/skills/engineering/tdd.

How do I install the TDD skill?

In Claude Code, run /plugin marketplace add mattpocock/skills and then /plugin install mattpocock-skills@mattpocock. For Codex or Cursor, copy the tdd folder into .agents/skills/ or .cursor/skills/.

Is the TDD skill free?

Yes. The repository is open source under the MIT license.

Is TDD maintained?

The repository's most recent commit was on Oct 6, 2026. Its latest release is v1.3.1. appsgit only lists skills from repositories with a commit in the last six months.