Cette page est affichée en anglais. Une traduction française est en cours.
SkillsMay 13, 2026·3 min de lecture

Spec Kit — Spec-Driven Development Toolkit by GitHub

GitHub's official toolkit for spec-driven development, helping teams write structured specifications before coding to improve AI-assisted workflows.

Prêt pour agents

Cet actif peut être lu et installé directement par les agents

TokRepo expose une commande CLI universelle, un contrat d'installation, le metadata JSON, un plan selon l'adaptateur et le contenu raw pour aider les agents à juger l'adaptation, le risque et les prochaines actions.

Needs Confirmation · 66/100Policy : confirmer
Surface agent
Tout agent MCP/CLI
Type
Skill
Installation
Single
Confiance
Confiance : Established
Point d'entrée
Spec Kit Overview
Commande CLI universelle
npx tokrepo install 1721ae8d-4f09-11f1-9bc6-00163e2b0d79

Introduction

Spec Kit is GitHub's official open-source toolkit for spec-driven development (SDD). It helps engineering teams write structured specifications before writing code, making AI coding assistants more effective by providing clear context and requirements upfront.

What Spec Kit Does

  • Provides templates and scaffolding for writing structured development specifications
  • Integrates with AI coding tools to feed specs as context for code generation
  • Validates spec documents against a defined schema for completeness
  • Generates project scaffolds and task breakdowns from spec files
  • Supports collaborative spec authoring with version control integration

Architecture Overview

Spec Kit is a Python-based CLI and library that parses Markdown-formatted spec documents, validates them against a configurable schema, and produces structured output consumable by AI assistants and project management tools. It uses a plugin architecture for different output formats and integrates directly with GitHub's workflow via Actions and PR templates.

Self-Hosting & Configuration

  • Install via pip or use the GitHub Action for CI integration
  • Configure spec templates in a .spec-kit/ directory at repo root
  • Customize validation rules through a YAML configuration file
  • Set environment variables for AI provider integration (optional)
  • Works offline for spec authoring; cloud features require GitHub authentication

Key Features

  • Schema-validated specifications ensure completeness before coding begins
  • First-class integration with GitHub Actions and pull request workflows
  • AI-context export formats optimized for Claude, Copilot, and other assistants
  • Template library covering common project types (API, CLI, web app, library)
  • Diff-aware spec updates that track requirement changes across versions

Comparison with Similar Tools

  • OpenSpec — community-driven SDD framework; Spec Kit is GitHub's official offering with tighter GitHub integration
  • PRD generators — focus on product docs; Spec Kit targets engineering specifications with validation
  • Cursor Rules — per-file coding rules; Spec Kit operates at the project/feature specification level
  • Architecture Decision Records — capture decisions; Spec Kit captures requirements and design intent

FAQ

Q: Does Spec Kit require a GitHub account? A: No. The CLI works locally for spec authoring and validation. GitHub integration is optional for CI workflows.

Q: Can I use Spec Kit with non-AI workflows? A: Yes. Specs serve as living documentation regardless of whether AI tools consume them.

Q: What spec format does it use? A: Markdown with optional YAML frontmatter. The schema is customizable per project.

Q: Is it language-specific? A: No. Spec Kit is language-agnostic and works with any project type.

Sources

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires