Skip to main content

mao-tdd

星标1
分支0
更新时间2026年3月16日 11:22

Enforces strict test-driven development via a RED-GREEN-REFACTOR state machine with a context whiteboard and deterministic validation gates. Use before writing any implementation code — write the failing test first, watch it fail, then implement. Triggers on "implement", "build", "fix", "add feature", or any task that produces code changes. Also use when the user says "test first", "TDD", or "red green refactor".

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly