Red-Green Loop

Test-first development, one failing test at a time.

  • Engineering Workflow Pack
  • SKILL.md
  • 1,536 words
  • MIT license

What it 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.

Install in under a minute

Mac or Linux, after you download

unzip red-green-loop.zip -d ~/.claude/skills/

Windows PowerShell

Expand-Archive red-green-loop.zip -DestinationPath $HOME\.claude\skills
  1. Start a new Claude Code session so it sees the skill.
  2. Ask in plain words, for example: "Use Red-Green Loop on this project."

What's inside

The 4 main sections of the SKILL.md, in order.

  1. What a good test is
  2. Seams: where tests go
  3. Anti-patterns
  4. Rules of the loop

In the download: agents/openai.yaml, LICENSE, mocking.md, NOTICE.md, SKILL.md, tests.md

Credit and license

Red-Green Loop is a renamed, packaged copy of tdd by Matt Pocock (github.com/mattpocock/skills), used under the MIT license. The license and a list of changes ship inside the download.

Questions

Does Red-Green Loop work in Claude.ai, not just Claude Code?

Yes. In Claude.ai, upload the red-green-loop folder as a zip in Settings under Capabilities. It also works in other agents that support Agent Skills, like Cursor, Gemini CLI and GitHub Copilot.

What do I get?

A zip with the red-green-loop folder: its SKILL.md (1,536 words) and its license files. One payment, instant download.

Who made Red-Green Loop?

It's a renamed, packaged copy of tdd by Matt Pocock, used under the MIT license. The license and a list of changes ship inside the download.

$3or All-Access $39
Menu
Browse 64 skills