Spec-Kitty Development Guide
This guide explains how to use Spec-Kitty in the caro project for rapid, multi-branch feature development.
Overview
Section titled “Overview”Spec-Kitty is integrated into caro to enable:
- Worktree-based development: Work on multiple features simultaneously without branch switching
- Real-time dashboard: Visual kanban board showing all features and their status
- Multi-agent coordination: Collaborate with multiple AI agents (Claude Code, Codex, etc.)
- Spec-driven workflows: Systematic approach to features, enhancements, and bug fixes
Quick Start
Section titled “Quick Start”1. Create a New Feature
Section titled “1. Create a New Feature”# From project rootbin/sk-new-feature "Add caching layer with TTL support"
# Or with a custom namebin/sk-new-feature "Add caching layer" --name "Redis Cache Integration"This creates:
- A new git worktree in
kitty-specs/001-add-caching/ - A feature branch
feature/001-add-caching - Initial directory structure with
tasks/folders
2. View All Features
Section titled “2. View All Features”# List all features and their statusbin/sk-list
# Open the real-time dashboardbin/sk-dashboardDashboard URL: http://127.0.0.1:9237
3. Work on a Feature
Section titled “3. Work on a Feature”# Navigate to the feature worktreecd kitty-specs/001-add-caching/
# Now you're in an isolated git worktree# Main repo is still on your original branch!Workflow Commands
Section titled “Workflow Commands”Use these slash commands in Claude Code from within the feature worktree:
Phase 1: Specification
Section titled “Phase 1: Specification”/spec-kitty.specifyCreates spec.md with feature requirements, scope, and acceptance criteria.
Phase 2: Planning (Optional Enhancement)
Section titled “Phase 2: Planning (Optional Enhancement)”/spec-kitty.clarifyAsks targeted questions to de-risk ambiguous areas before planning.
Phase 3: Architecture
Section titled “Phase 3: Architecture”/spec-kitty.planCreates plan.md with technical design, architecture, and implementation approach.
Phase 4: Task Generation
Section titled “Phase 4: Task Generation”/spec-kitty.tasksGenerates work packages in tasks/planned/WP01.md, WP02.md, etc.
Phase 5: Implementation
Section titled “Phase 5: Implementation”/spec-kitty.implementProcesses tasks from tasks/doing/ one by one with confirmation prompts.
Tasks move through lanes:
tasks/planned/- Initial work packagestasks/doing/- Currently working ontasks/review/- Pending reviewtasks/done/- Completed
Phase 6: Quality Checks (Optional)
Section titled “Phase 6: Quality Checks (Optional)”/spec-kitty.analyzeCross-artifact consistency check across spec, plan, and tasks.
/spec-kitty.checklistGenerate quality checklists for requirements validation.
Phase 7: Review and Accept
Section titled “Phase 7: Review and Accept”/spec-kitty.reviewReview prompts and move them to tasks/done/.
/spec-kitty.acceptRun acceptance checks to verify feature is complete and ready to merge.
Phase 8: Merge
Section titled “Phase 8: Merge”/spec-kitty.mergeMerge feature branch to main and clean up the worktree.
Or from project root:
bin/sk-merge 001-add-cachingWorkflow Examples
Section titled “Workflow Examples”Example 1: Small Bug Fix with Multiple Changes
Section titled “Example 1: Small Bug Fix with Multiple Changes”# 1. Create feature from project rootbin/sk-new-feature "Fix memory leak in MLX backend initialization"
# 2. Navigate to worktreecd kitty-specs/001-fix-memory-leak/
# 3. Create spec/spec-kitty.specify# AI creates spec.md with bug description, root cause, fix approach
# 4. Create plan/spec-kitty.plan# AI creates technical plan
# 5. Generate tasks/spec-kitty.tasks# AI creates WP01.md, WP02.md, etc.
# 6. Implement/spec-kitty.implement# AI processes each task with confirmation
# 7. Accept and merge/spec-kitty.accept/spec-kitty.merge
# 8. Return to main repocd ../../Example 2: Parallel Development of Two Features
Section titled “Example 2: Parallel Development of Two Features”# Terminal 1: Work on caching featurebin/sk-new-feature "Add Redis caching layer"cd kitty-specs/001-add-redis-caching/# Use Claude Code here with /spec-kitty.* commands
# Terminal 2: Work on metrics feature (simultaneously!)bin/sk-new-feature "Add Prometheus metrics"cd kitty-specs/002-add-prometheus-metrics/# Use Cursor here (different AI agent, same project)
# Terminal 3: Monitor both featuresbin/sk-dashboard# See both features progressing in real-timeEach feature is isolated in its own git worktree, so no conflicts!
Best Practices
Section titled “Best Practices”- One feature per worktree: Keep features isolated for clarity
- Use descriptive feature descriptions: Helps with auto-generated IDs
- Complete
/spec-kitty.specifyfirst: Good specs lead to better plans - Review tasks before
/spec-kitty.implement: Adjust work packages if needed - Commit frequently: Each worktree is a full git repo
- Use the dashboard: Visual feedback helps track progress
- Clean up merged features: Run
/spec-kitty.mergeto remove worktrees - Follow UTF-8 encoding rules: See
.kittify/AGENTS.md
Summary
Section titled “Summary”Spec-Kitty enables rapid, systematic feature development with:
- Worktree-based isolation
- Real-time visual dashboard
- Multi-agent coordination
- Automated task management
- Parallel development workflows
Use it for small/medium features and bugs, while keeping the existing .specify/ workflow for large architectural work.