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.