● Communauté
spartan-stratos
⚡ Instantané
Spartan AI Toolkit
par 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.
Pourquoi l'utiliser
Fonctionnalités clés
- Hard-gated TDD: refuses to write code without a failing test first
- Quality gates: type-check, lint, test before commit
- Agile workflow primitives (story → spike → done)
- Pre-baked configs for ESLint, Prettier, vitest
- Multi-language (TS/Python/Go)
Démo en direct
Aperçu en pratique
spartan-ai-toolkit-skill.replay
▶ prêt
Cas d'usage
Usages concrets : Spartan AI Toolkit
Quand l'utiliser : Your agent keeps writing code first and tests later (or never).
Prérequis
- Server/skill installed and authenticated — See repo README
Déroulement
-
Enable the gate
Activate spartan-ai-toolkit. Set the TDD gate to strict.✓ Copié
→ Gate registered
-
Try to skip
Add a new feature without a test first.✓ Copié
→ Gate refuses; demands a failing test
Résultat : Real TDD instead of theater.
Pièges
- 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.
Coût et limites
Coût d'exécution
- Quota d'API
- See provider docs for rate limits
- Tokens par appel
- Varies by tool
- Monétaire
- See repo README for pricing details
- Astuce
- Cache tool results and avoid repeated identical calls.
Sécurité
Permissions, secrets, portée
Stockage des identifiants : Use environment variables; never commit secrets
Sortie de données : Tool calls go to the provider's API as documented
Dépannage
Erreurs courantes et correctifs
gate flags an unrelated change as missing tests
Tune gate scope in spartan.config — exclude refactors with no semantic change.
Vérifier : Re-run with scope changes
quality gate too slow
Profile which step is slow (usually type-check on big repos). Cache or skip locally.
Vérifier : Per-step timings printed
Alternatives
Spartan AI Toolkit vs autres
| Alternative | Quand l'utiliser | Compromis |
| agent-skill-tdd | You want a lighter touch | Advisory, not enforcing |