tdd-cycle
Enforces Red-Green-Refactor Test Driven Development workflow.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Enforces Red-Green-Refactor Test Driven Development workflow.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Scans the codebase for tech debt — balls of mud, shallow modules, and DRY violations — then presents prioritized bottlenecks and hands off to TDD-driven refactoring via superpowers.
Forces DDD ubiquitous language definition before writing complex logic. Grills the user on business terminology, extracts a glossary, and documents it before handing off to brainstorming.
Sets up a new project for the AI workflow — creates AGENTS.md, mise.toml tasks, initializes CodeGraph, and seeds Engram memory. Optional/auxiliary skill.
Evidence-first development for high-stakes code. Writes a concrete spec, enforces strict TDD, then runs code through a gauntlet of 6 checks and generates an EVIDENCE.md report with raw numbers.
Enforces build, test, and lint gates with a self-correction loop and retry budget.
Manages Architecture Decision Records (ADRs) when modifying architecturally significant files.
| 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.