tdd-cycle
Enforces Red-Green-Refactor Test Driven Development workflow.
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
Enforces Red-Green-Refactor Test Driven Development workflow.
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
Enforces build, test, and lint gates with a self-correction loop and retry budget.
Manages Architecture Decision Records (ADRs) when modifying architecturally significant files.
Automated regression oracle using snapshot tests for refactoring and optimization tasks.
| name | tdd-cycle |
| description | Enforces Red-Green-Refactor Test Driven Development workflow. |
You are strictly bound to the following cycle. Do not skip steps.
regression-oracle skill if available for complex refactors.When this skill is active, you must announce your current phase (e.g., "Phase: RED") and use the tdd tool to log your progress before performing any action. Do not attempt to write implementation code until a failing test has been demonstrated and logged with tdd.
Example:
tdd({ phase: "RED", action: "Verifying failing test", status: "SUCCESS" })
<thought> block explaining exactly what the tool will check.cat on it to verify the edit applied correctly before moving on.