Skip to content
Agentmart
Submit a tool

tdd-cycle

Red-Green-Refactor test-driven development cycle

Skill by modimihir07

IndexedMIT★ 208
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/modimihir07-tdd-cycle

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

Red-Green-Refactor test-driven development cycle

Use cases: testing

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-cycle

What's inside

Skill name
tdd-cycle
Description
Red-Green-Refactor test-driven development cycle
License
MIT
Instructions
27 lines in SKILL.md · view on GitHub

Files (4)

  • SKILL.md
  • eval.json
  • learnings.md
  • score-history.json

SKILL.md (first lines)

# TDD Cycle

## Description
Enforces the Red-Green-Refactor TDD cycle: write a failing test, make it pass, then refactor. No code is written before a test exists.

## When to Use
- When implementing any new feature
- When fixing a bug
- When refactoring existing code

## Process
1. **RED**: Write a failing test for the desired behavior
2. Verify test fails (confirm test is valid)
3. **GREEN**: Write minimal code to make the test pass
4. Verify test passes
5. **REFACTOR**: Clean up code while keeping tests green
6. Commit with message format: `RED|GREEN|REFACTOR: description`

## Rules
- Production code is only written to make a failing test pass
- Delete any code written before tests
- Never skip the RED phase

## Agent Assignment
- Primary: opencode

From modimihir07/agentic-os, MIT.

Signals

Stars
208
Forks
64
Open issues
0
Last commit (this folder)
May 17, 2026 (5 months ago)
Last release
Oct 22, 2026 (7 days ago)

From GitHub (fetched Oct 24, 2026).

Details

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

More from modimihir07

Cite this page

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