Tdd guide

From foryourhealth111-pixel/Vibe-Skills · View interactive version

Tdd guide is an AI agent skill from the GitHub repository foryourhealth111-pixel/Vibe-Skills. Test-first development route for TDD, writing failing tests first, RED -> GREEN -> REFACTOR, and behavior-changing feature/bug/refactor work. Do not use for already-failing test root-cause debugging, test-report packaging, or final completion evidence.

How to use this skill

Skill file

tdd-guide (Codex Compatibility)

Use this skill for all feature work, bug fixes, and refactors that change behavior.

Routing Boundary

Use this skill when the user wants to build or change behavior through tests:

Do not use it when tests are already failing and the user wants root cause; route that to systematic-debugging. Do not use it when the user only wants a test/coverage report; route that to generating-test-reports.

Core Rule

No production code before a failing test.

Workflow

  1. RED
  1. GREEN
  1. REFACTOR
  1. COVERAGE

Minimum Test Set

Required Edge Cases

Vibe Integration

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.