spec-kitty

Your First Feature: Complete Workflow

Divio type: Tutorial

This tutorial walks you through the entire Spec Kitty workflow from specification to merge.

Time: ~2 hours Prerequisites: Completed Getting Started

Note: This tutorial works with both git and jujutsu (jj) backends. Spec Kitty abstracts the VCS operations, so the workflow is the same. For jj-specific features like auto-rebase and non-blocking conflicts, see Jujutsu Workflow Tutorial.

Overview

Workflow path:

/spec-kitty.specify → /spec-kitty.plan → /spec-kitty.tasks → /spec-kitty.implement → /spec-kitty.review → /spec-kitty.accept → /spec-kitty.merge

You will build a tiny “task list” feature as the concrete example.

Step 1: Create the Specification

From the project root, in your agent:

/spec-kitty.specify Build a task list app with add, complete, and delete actions.

Answer the discovery interview until it completes.

Expected results:

Step 2: Create the Technical Plan

Stay in the main repository (planning happens in main in v0.11.0+).

In your agent:

/spec-kitty.plan Use Python 3.11, SQLite, and a minimal CLI interface.

Answer the planning questions and confirm the Engineering Alignment summary.

Expected results:

Step 3: Generate Work Packages

In your agent:

/spec-kitty.tasks

This generates tasks.md and individual work package files under:

kitty-specs/###-task-list/tasks/

Each WP file includes frontmatter with its lane and dependencies.

Step 4: Implement a Work Package

Start with the first planned package (example uses WP01).

In your agent:

/spec-kitty.implement

This moves the WP to doing and prints the implementation prompt. Then create the workspace from your terminal:

spec-kitty implement WP01

Expected output (abridged):

OK Created workspace: .worktrees/###-task-list-WP01

Move into the new worktree and implement the required changes:

cd .worktrees/###-task-list-WP01

When finished, return to the main repo and run the review step.

Step 5: Review Your Work

From the main repo, ask your agent to review the work package.

In your agent:

/spec-kitty.review

Or via CLI:

spec-kitty agent workflow review WP01

Follow the review instructions and address any feedback.

Step 6: Accept and Merge

Once review passes, validate and accept.

In your agent:

/spec-kitty.accept

Or via CLI:

spec-kitty accept

Then merge the feature branches.

In your agent:

/spec-kitty.merge

Or via CLI:

spec-kitty merge

You should see the feature merged into main and the worktrees cleaned up.

Troubleshooting

What’s Next?

Continue with Multi-Agent Workflow to learn parallel development with multiple agents.

Reference Documentation

Learn More