Use before writing any implementation code — enforces RED-GREEN-REFACTOR cycle.
Scanned 9/12/2026
Install to Claude Code
npx -y skills add thedixitjain/the-mega-skill-library --skill tdd--hashgraph-online-3 --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Tdd Hashgraph Online 3?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/thedixitjain-tdd-hashgraph-online-3)More formats (shields.io, HTML) on the badges page.
---
name: tdd
description: "Use before writing any implementation code — enforces RED-GREEN-REFACTOR cycle."
category: engineering-core
source_repo: hashgraph-online/awesome-codex-plugins
source_path: "plugins/yimwoo/hotl-plugin/skills/tdd/SKILL.md"
source_url: https://github.com/hashgraph-online/awesome-codex-plugins/blob/HEAD/plugins/yimwoo/hotl-plugin/skills/tdd/SKILL.md
---
# 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.
---
**Source:** [`hashgraph-online/awesome-codex-plugins`](https://github.com/hashgraph-online/awesome-codex-plugins) → `plugins/yimwoo/hotl-plugin/skills/tdd/SKILL.md`
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!