Spec-Kit SDD
by @james-code-hash
GitHub Spec-Kit integration for Spec-Driven Development (SDD). Use when: (1) initializing a new Spec-Kit project, (2) creating/updating project constitution,...
CLI Installation
# Install Specify CLI (requires uv)
uv tool install specify-cli --from git+https://github.com/github/spec-kit.git@v0.4.3Verify
specify check
System requirements: Python 3.11+, uv, Git, a supported AI agent.
Agent Support
Spec-Kit supports 30+ AI agents. Key ones for our stack:
| Agent | Integration | Notes |
|-------|-------------|-------|
| Claude Code | /speckit.* slash commands | .claude/commands/speckit.*.md |
| Gemini CLI | .gemini/commands/speckit.*.toml | Standard |
| opencode | /speckit.* slash commands | Standard |
| Codex CLI | --ai-skills flag | Skills in .agents/skills/ |
| GitHub Copilot | /speckit.* slash commands | VS Code native |
1. Spec before code โ Resist "write code first, document later"
2. Constitution is law โ All PRs must verify compliance
3. Prioritize user stories โ P1 is the MVP, each story independently testable
4. Keep specs alive โ Update specs when implementation drifts, don't pretend
5. Task granularity โ Each task 2-4 hours max, split large ones
6. Use extensions โ Install verify + cleanup for automated quality gates
7. Validate before implement โ Run /speckit.analyze + /speckit.checklist
8. Clarify before planning โ /speckit.clarify reduces rework
clawhub install speckit