spec-kitty

Getting Started with Spec Kitty

Divio type: Tutorial

In this tutorial, you’ll install Spec Kitty and create your first feature specification.

Time: ~30 minutes Prerequisites: Python 3.11+, Git, an AI coding agent (Claude Code, Cursor, Gemini CLI, etc.)

Recommended: Install jujutsu (jj) for automatic rebasing and non-blocking conflicts. Spec Kitty will use jj when available. See the Jujutsu Workflow Tutorial for details.

Step 1: Install Spec Kitty

Choose one install method:

pip install spec-kitty-cli
uv tool install spec-kitty-cli

Verify the CLI is available:

spec-kitty --version

Expected output (abridged):

Spec Kitty ... v0.11.0

Step 2: Initialize a Project

Create a new project directory with the agent you plan to use:

spec-kitty init my-spec-project --ai claude
cd my-spec-project

Expected output (abridged):

OK Initialized Spec Kitty project
OK Generated agent commands in .claude/

Tip: Use spec-kitty init --here --ai claude to initialize the current folder.

Step 3: Create Your First Specification

Open your AI agent in this repository and run the specify command.

In your agent:

/spec-kitty.specify Build a tiny command-line task list app.

You’ll be asked a discovery interview. Answer each question until the command completes.

Expected results:

Step 4: Verify Your Work

Confirm the feature directory exists:

ls kitty-specs

Example output:

###-task-list

If the command created a new worktree later in the workflow, it will appear here:

ls .worktrees

Troubleshooting

What’s Next?

Continue with Your First Feature for the complete workflow from specification to merge.

Reference Documentation

Learn More