Skip to content
Agentmart
Submit a tool

tdd

Use before writing any implementation code — enforces RED-GREEN-REFACTOR cycle.

Skill by yimwoo

IndexedMIT★ 27
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/yimwoo-tdd

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use before writing any implementation code — enforces RED-GREEN-REFACTOR cycle.

Use cases: testing, writing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/tdd

What's inside

Skill name
tdd
Description
Use before writing any implementation code — enforces RED-GREEN-REFACTOR cycle.
License
MIT
Instructions
30 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Test-Driven Development

## The Cycle

**RED → GREEN → REFACTOR**

Never skip RED. Never write code before a failing test exists.

## Steps

1. **Write the failing test** — specific, tests one behavior
2. **Run it and confirm it fails** — with the right error message
3. **Write minimal code to make it pass** — no more than needed
4. **Run it and confirm it passes**
5. **Refactor if needed** — tests still pass after refactor
6. **Commit** — small, frequent commits

## Anti-Patterns to Avoid

- Writing implementation before tests
- Tests that pass without any implementation (false green)
- Testing implementation details instead of behavior
- One giant test instead of small focused tests
- Skipping the refactor step

## Verification Command

Always show the exact command to run tests and expected output at each RED/GREEN step.

From yimwoo/hotl-plugin, MIT.

More from yimwoo/hotl-plugin

Signals

Stars
27
Forks
3
Open issues
1
Last commit (this folder)
Mar 5, 2026 (7 months ago)
Last release
Jul 2, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from yimwoo

Cite this page

tdd skill. Agent Mart. https://agentmart.dev/skills/yimwoo-tdd (last updated 2026-10-24)