/ الدليل / الملعب / 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 نفس مخطط mcpServers مثل Claude Desktop. إعدادات المشروع أولى من الإعدادات العامة.

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
    }
  }
}

انقر على أيقونة MCP Servers في شريط Cline الجانبي، ثم "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

المزيد

الموارد

📖 اقرأ ملف README الرسمي على GitHub

🐙 تصفح القضايا المفتوحة

🔍 تصفح أكثر من 400 خادم MCP و Skills