Engineering workflow commands with quality gates and TDD enforcement.
Spartan AI Toolkit is a no-nonsense skill bundle of engineering workflow commands: forced TDD red-green-refactor, quality gates (lint, test, type-check), and an opinionated agile loop. Built for teams that want discipline by default.
claude mcp add spartan-ai-toolkit-skill -- git clone https://github.com/spartan-stratos/spartan-ai-toolkit ~/.claude/skills/spartan-ai-toolkit
ワンライナー。claude mcp list で確認、claude mcp remove で削除。
ユースケース
実用的な使い方: Spartan AI Toolkit
Force a coding agent into actual TDD discipline
👤 Teams whose agents skip tests⏱ ~15 minintermediate
使うタイミング: Your agent keeps writing code first and tests later (or never).
前提条件
Server/skill installed and authenticated — See repo README
フロー
Enable the gate
Activate spartan-ai-toolkit. Set the TDD gate to strict.✓ コピーしました
→ Gate registered
Try to skip
Add 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.
コストと制限
運用コスト
APIクォータ
See provider docs for rate limits
呼び出しあたりのトークン
Varies by tool
金額
See repo README for pricing details
ヒント
Cache tool results and avoid repeated identical calls.
セキュリティ
権限、シークレット、影響範囲
認証情報の保管: Use environment variables; never commit secrets
データ送信先: Tool calls go to the provider's API as documented
トラブルシューティング
よくあるエラーと対処法
gate flags an unrelated change as missing tests
Tune gate scope in spartan.config — exclude refactors with no semantic change.
確認: Re-run with scope changes
quality gate too slow
Profile which step is slow (usually type-check on big repos). Cache or skip locally.