Spec-Driven Development workflow for AI coding assistants
npx @haposoft/cafekitCafeKit is a structured spec-driven development workflow for AI coding assistants. It works with both Claude Code (Anthropic) and Antigravity (Google), adding 10 powerful slash commands that guide you through building complex features and managing documentation:
| Command | Purpose |
|---|---|
/spec-init |
Initialize feature specification |
/spec-requirements |
Generate EARS-format requirements |
/spec-design |
Create technical design |
/spec-tasks |
Break down into implementable tasks |
/code |
Implement from approved task list |
/test |
Validate, run tests and analyze failures |
/review |
Review correctness, security, and regressions |
/spec-status |
Check progress |
| Platform | Init Command | Update Command |
|---|---|---|
| Claude Code | /docs init |
/docs update |
| Antigravity | /docs-init |
/docs-update |
Traditional AI coding often leads to:
- Incomplete requirements causing rework
- Missing edge cases discovered late
- Lost context between sessions
CafeKit solves this with a structured spec-driven workflow:
Idea → /spec-init → /spec-requirements → /spec-design → /spec-tasks → /code → /test → /review
| Platform | Status | Directory | Installation |
|---|---|---|---|
| Claude Code (Anthropic) | ✅ Fully supported | .claude/ |
npx @haposoft/cafekit |
| Antigravity (Google) | ✅ Fully supported | .agent/ |
npx @haposoft/cafekit |
# 1. Install (auto-detects your platform)
npx @haposoft/cafekit
# 2. Initialize a spec
/spec-init user-authentication
# 3. Gather requirements
/spec-requirements user-authentication
# 4. Create design
/spec-design user-authentication
# 5. Generate tasks
/spec-tasks user-authentication
# 6. Implement, Test, and Review
/code
/test
/review- Installation - Get set up
- Quickstart - Build your first spec
- Spec Workflow - Complete guide
CafeKit is inspired by and built upon ideas from Antigravity Kit by @vudovn.
MIT © Haposoft