# Tdd Workflow

> Full TDD Red-Green-Refactor cycle for test-driven development Use when this capability is needed.

- Skill: `tomevault-io/tdd-workflow` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/tdd-workflow`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/tdd-workflow/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/tdd-workflow

---


# TDD Workflow

Invoke the TDD Red-Green-Refactor cycle for the given feature or bug fix.

1. Write a failing test that describes the expected behavior
2. Run it to confirm it fails
3. Write the minimum implementation to make it pass
4. Run it to confirm it passes
5. Refactor while keeping tests green
6. Check coverage meets 80% threshold

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/dmend3z) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-11 -->

