Force a coding agent into actual TDD discipline
何时使用: Your agent keeps writing code first and tests later (or never).
前置条件
- Server/skill installed and authenticated — See repo README
步骤
-
Enable the gateActivate spartan-ai-toolkit. Set the TDD gate to strict.✓ 已复制→ Gate registered
-
Try to skipAdd a new feature without a test first.✓ 已复制→ Gate refuses; demands a failing test
结果: Real TDD instead of theater.
注意事项
- Hard gates can frustrate exploratory work. Toggle to 'soft' during spikes; 'strict' on main branches. — Hard gates can frustrate exploratory work. Toggle to 'soft' during spikes; 'strict' on main branches.