Skip to main content
command CX Codex

speckit.plan — Claude Code command: what it does, how to install

speckit.plan executes implementation planning workflow to produce architectural artifacts and API contracts.

no license ★ 117 updated 2026-10-29

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/commands/speckit.plan.md
Open on GitHub

What speckit.plan does

The command triggers an end-to-end planning run using the project implementation template. It runs .specify/scripts/bash/setup-plan.sh --json to extract workspace paths, loads requirements from the feature specification, and inspects constraints in .specify/memory/constitution.md.

Execution moves through strict phases. Phase 0 spots unresolved technical questions and logs choices into research.md. Phase 1 pulls domain entities into data-model.md, prepares OpenAPI or GraphQL definitions inside contracts/, and produces quickstart.md. Finally, .specify/scripts/bash/update-agent-context.sh claude refreshes the active agent context.

The command expects helper bash scripts inside .specify/scripts/bash/; missing scripts or unjustified rule violations immediately halt execution with an error.

What it helps with

  • create an architectural implementation plan from a feature spec
  • generate entity relationships and constraints in data-model.md
  • draft REST or GraphQL interface definitions inside contracts/
  • verify design choices against project rules in constitution.md

Example prompts for the agent

  • /speckit.plan design the billing subscription workflow
  • /speckit.plan plan the user notification service architecture

How to install speckit.plan

Manually: put the files in place

.claude/commands/speckit.plan.md

Call it with /speckit.plan. For all projects use ~/.claude/commands/

Questions about speckit.plan

How to install speckit.plan in Claude Code?

Place the command file at .claude/commands/speckit.plan.md in your project.

What does speckit.plan do?

It processes feature requirements through research and modeling stages to produce research.md, schema files, and API contracts.

What dependencies does speckit.plan need to run?

It depends on repository bash scripts in .specify/scripts/bash/ to set up paths and update agent context.

Similar slash commands

All slash commands for Agent setup: memory, context, orchestration →

From the same set9

speckit.taskstoissues speckit.taskstoissues converts a list of tasks into dependency-ordered GitHub issues using design artifacts and project context. Works only with GitHub repositories. CX Codex +1 ★ 117repo stars speckit.constitution The speckit.constitution command edits a project’s constitution and checks related templates and guidance for alignment. Use it when development principles or governance rules change. CX Codex +1 ★ 117repo stars speckit.tasks speckit.tasks builds a tasks.md file for a feature from plan.md and spec.md, splitting work into phases by user story priority. CX Codex +1 ★ 117repo stars speckit.analyze speckit.analyze inspects spec.md, plan.md, and tasks.md for conflicts, gaps, and constitution violations before code generation. Runs in read-only mode. CX Codex +1 ★ 117repo stars speckit.implement The speckit.implement command works through the tasks in tasks.md using the project plan and related documents. Use it to carry out an implementation plan in a defined order. CX Codex +1 ★ 117repo stars speckit.clarify speckit.clarify — a command that scans a feature spec for underspecified areas and asks up to 5 targeted questions to fill gaps before planning begins. CX Codex +1 ★ 117repo stars speckit.specify speckit.specify builds or updates a feature specification straight from a natural language prompt. Handy for structuring requirements and acceptance criteria before writing code. CX Codex +1 ★ 117repo stars speckit.checklist speckit.checklist builds a checklist for reviewing feature requirements, including unclear statements and missing scenarios. Use it before implementing a feature or reviewing its spec. CX Codex +1 ★ 117repo stars

Project sponsors

Companies that keep this analytics open