/ ディレクトリ / プレイグラウンド / Spartan AI Toolkit
● コミュニティ spartan-stratos ⚡ 即起動

Spartan AI Toolkit

作者 spartan-stratos · spartan-stratos/spartan-ai-toolkit

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.

なぜ使うのか

主な機能

ライブデモ

実際の動作

spartan-ai-toolkit-skill.replay ▶ 準備完了
0/0

インストール

クライアントを選択

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "spartan-ai-toolkit-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/spartan-stratos/spartan-ai-toolkit",
        "~/.claude/skills/spartan-ai-toolkit"
      ],
      "_inferred": true
    }
  }
}

Claude Desktop → Settings → Developer → Edit Config を開く。保存後、アプリを再起動。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "spartan-ai-toolkit-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/spartan-stratos/spartan-ai-toolkit",
        "~/.claude/skills/spartan-ai-toolkit"
      ],
      "_inferred": true
    }
  }
}

Cursor は Claude Desktop と同じ mcpServers スキーマを使用。プロジェクト設定はグローバルより優先。

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "spartan-ai-toolkit-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/spartan-stratos/spartan-ai-toolkit",
        "~/.claude/skills/spartan-ai-toolkit"
      ],
      "_inferred": true
    }
  }
}

Cline サイドバーの MCP Servers アイコンをクリックし、"Edit Configuration" を選択。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "spartan-ai-toolkit-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/spartan-stratos/spartan-ai-toolkit",
        "~/.claude/skills/spartan-ai-toolkit"
      ],
      "_inferred": true
    }
  }
}

Claude Desktop と同じ形式。Windsurf を再起動して反映。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "spartan-ai-toolkit-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/spartan-stratos/spartan-ai-toolkit",
        "~/.claude/skills/spartan-ai-toolkit"
      ]
    }
  ]
}

Continue はマップではなくサーバーオブジェクトの配列を使用。

~/.config/zed/settings.json
{
  "context_servers": {
    "spartan-ai-toolkit-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/spartan-stratos/spartan-ai-toolkit",
          "~/.claude/skills/spartan-ai-toolkit"
        ]
      }
    }
  }
}

context_servers に追加。保存時に Zed がホットリロード。

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 min intermediate

使うタイミング: Your agent keeps writing code first and tests later (or never).

前提条件
  • Server/skill installed and authenticated — See repo README
フロー
  1. Enable the gate
    Activate spartan-ai-toolkit. Set the TDD gate to strict.✓ コピーしました
    → Gate registered
  2. 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.

確認: Per-step timings printed

代替案

Spartan AI Toolkit 他との比較

代替案代わりに使う場面トレードオフ
agent-skill-tddYou want a lighter touchAdvisory, not enforcing

その他

リソース

📖 GitHub の公式 README を読む

🐙 オープンな issue を見る

🔍 400以上のMCPサーバーとSkillsを見る