Anthropic’s Claude Code pairs naturally with Spec Kitty’s guardrails. This guide explains how to integrate the Claude CLI, wire the prompts, and keep the Claude dashboard automation in lockstep with the Spec Kitty kanban view.
claude --version).claude agent selected..claude/commands/ directory generated by spec-kitty init.| Phase | Claude Code Usage | Spec Kitty Command |
|---|---|---|
| Discovery | Prompt Claude to interview stakeholders | /spec-kitty.specify |
| Research | Summarize evidence and data model findings | /spec-kitty.research |
| Planning | Generate architecture briefs via Claude | /spec-kitty.plan |
| Tasks | Produce work packages and prompts that Claude can execute | /spec-kitty.tasks |
| Implementation | Run Claude on specific prompt files | /spec-kitty.implement |
| Review & Merge | Summarize results and follow-up tasks, then land the branch | /spec-kitty.review, /spec-kitty.merge |
spec-kitty init my-project --ai claude
This copies Claude-specific commands into .claude/commands/ and activates the automation scripts under .kittify/scripts/.
cd <feature worktree>
.kittify/scripts/bash/update-agent-context.sh claude
The script injects new architecture decisions, tech stacks, and vocabulary into Claude’s context files. Re-run it whenever plan.md or tasks.md changes.
Prompt files live under kitty-specs/<feature>/tasks/<lane>/WPxx-slug.md. Each contains:
Launch Claude against a prompt:
cd .worktrees/001-systematic-recognizer-enhancement
claude prompt kitty-specs/001-systematic-recognizer-enhancement/tasks/doing/WP02-synthetic-benchmark.md
Claude will use the template metadata to understand scope, file boundaries, and Definition of Done.
spec-kitty agent workflow implement/review) surface instantly on the kanban dashboard.agent, assignee, and shell_pid in prompt frontmatter—Claude should add an ISO 8601 entry to the Activity Log summarizing what changed.for_review so the dashboard and reviewers stay in sync:
spec-kitty agent workflow review WP02
meta.json for the friendly feature name and injects it into Claude’s context.kitty-specs/<feature>/checklists/ and block Claude from moving prompts to done when acceptance criteria are unchecked.| Problem | Cause | Fix |
|---|---|---|
| Claude asks for missing context | Prompt not in doing lane yet |
Move prompt to doing so scripts inject metadata |
| Claude edits unexpected files | Prompt instructions unclear | Refine tasks.md and regenerate prompt |
| Dashboard shows stale lane | Prompt moved manually | Always use spec-kitty agent workflow commands for lane transitions |
| Claude session interrupted | CLI lost connection | Resume using the prompt transcript stored under .claude/history/ |
Once Claude (and any partner agents) finish the feature:
tasks/for_review/ is empty and all checklists are complete. spec-kitty merge --remove-worktree
Run it from the feature worktree; the CLI automatically performs the Git steps from the main checkout so worktrees stay in sync. The command documents merge steps, updates activity logs, and optionally removes the feature worktree to keep the repository tidy.
spec-kitty init.Multi-Agent Orchestration.Use the Dashboard.