一键导入
tdd-rigor
Use when implementing any feature or bugfix, before writing implementation code. Enforces the Iron Law of TDD.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when implementing any feature or bugfix, before writing implementation code. Enforces the Iron Law of TDD.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Automated governance, hook installation, pre-commit validation, branch isolation, and safe commit operations.
Enforcement of safety guardrails, axiom verification, secret scanning, and mutability protections.
Building and managing premium statistical dashboards, RAG explorer UIs, warehouse log monitors, and real-time visualization centers.
Integration of agent systems with blockchain protocols, contracts, event stores, reputation networks, and collective verification engines.
AI model configuration, LLM memoization, agentic RAG search, and vector library maintenance.
Catalog generation, reference link verification, workshop documentation building, and knowledge gap analysis.
| name | tdd-rigor |
| description | Use when implementing any feature or bugfix, before writing implementation code. Enforces the Iron Law of TDD. |
| type | skill |
| version | 1.0.0 |
| category | verification |
Use when implementing any feature or bugfix, before writing implementation code. Enforces the Iron Law of TDD.
The TDD process follows a strict red-green-refactor cycle for every functional change.
Write a minimal test demonstrating the target behavior.
pytest for Python.vitest for TypeScript/React.test_rejects_empty_input).CRITICAL GATE: You must run the test and capture the failure.
Write just enough code to make the test pass.
CRITICAL GATE: You must run all tests.
Clean up the implementation while keeping tests green.
Maintain high TDD standards by following these essential practices.
NO PRODUCTION CODE WITHOUT A FAILING TEST FIRST. If you wrote code before the test: Delete it. Start over.