with one click
tdd
Test-Driven Development mode — strict red-green-refactor discipline
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Test-Driven Development mode — strict red-green-refactor discipline
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Detect and clean AI-typical writing patterns in documents — em dashes, filler phrases, over-formality
Route questions to Claude, Codex, or Gemini for multi-perspective answers
Claude-Codex-Gemini tri-model orchestration — decompose, query, synthesize
Health check — verifies omg plugin is correctly installed and working
Quick reference — what omg agents and skills are available and how to use them
About omg — version, architecture, capabilities, and credits
| name | tdd |
| description | Test-Driven Development mode — strict red-green-refactor discipline |
| tags | ["testing","tdd","development"] |
NO PRODUCTION CODE WITHOUT A FAILING TEST FIRST.
RED: Write a failing test for the feature. The test MUST fail when run. Do NOT write production code yet. Delegate to @omg:test-engineer if available.
Verify RED: Run the test via bash. If it passes → the test is wrong, rewrite it.
GREEN: Write ONLY enough production code to make the test pass. No extras. No "while I'm here." Delegate to @omg:executor if available.
Verify GREEN: Run the test via bash. Must pass now.
REFACTOR: Clean up the implementation without changing behavior. Tests must stay green. Delegate to @omg:code-simplifier if available.
Verify REFACTOR: Run all tests via bash. Must still pass.
Repeat from step 1 for the next feature increment.
| If You See | Action |
|---|---|
| Code written before test | STOP. Delete code. Write test first. |
| Test passes on first run | Test is wrong. Fix it to fail first. |
| Multiple features in one cycle | STOP. One test, one feature. |
| Skipping refactor | Go back. Clean up before next feature. |
tdd, test-driven, red green refactor
copilot -i "tdd: add email validation function"