This guide will help you get started with Spec-Driven Development using Spec Kit. Throughout, we illustrate each step with a running example: Taskify, a small team productivity platform.
Note
Automation scripts are provided as both Bash (.sh) and PowerShell (.ps1) variants. The specify CLI auto-selects based on your OS unless you pass --script sh|ps.
Note
Commands are shown here in /speckit.* form, but the exact invocation depends on your agent. Some skills-based agents use $speckit-* (e.g. Codex, ZCode) or /skill:speckit-* (e.g. Kimi). Use whichever form your agent exposes — the steps are otherwise identical.
Tip
Context Awareness: Spec Kit tracks the active feature by the feature directory recorded in .specify/feature.json (overridable with the SPECIFY_FEATURE_DIRECTORY environment variable). Commands resolve the feature from that state, not from the checked-out Git branch — no Git required. The opt-in git extension adds numbered feature branches (e.g. 001-feature-name) for organizing work in version control, but the active feature is still whichever directory that state points to; git checkout alone does not change it. To point commands at a different feature, update .specify/feature.json (or set SPECIFY_FEATURE_DIRECTORY).
After installing Spec Kit, each command below is a step in the process. Two paths are common:
Shorter path — for smaller features:
/speckit.specify/speckit.plan/speckit.tasks/speckit.implement/speckit.converge
Full path — for production features, adding /speckit.clarify, /speckit.checklist, and /speckit.analyze as quality gates:
/speckit.constitution/speckit.specify/speckit.clarify/speckit.plan/speckit.checklist/speckit.tasks/speckit.analyze/speckit.implement/speckit.converge
In your terminal, install the CLI from PyPI (requires uv), then initialize your project:
uv tool install specify-cli
specify init taskify # or: specify init . to use the current directoryinit lets you pick your coding agent interactively, or pass it explicitly with --integration (e.g. --integration copilot).
Note
Prefer pipx, one-time uvx runs, a pinned release, or an offline/air-gapped setup? See the Installation Guide for all supported methods.
Establishes the project's guiding principles, which every later step is evaluated against. Run it once up front, passing your principles as arguments.
/speckit.constitution Taskify is a "Security-First" application. All user inputs must be validated. We use a microservices architecture. Code must be fully documented.
Creates the feature specification from a natural-language description. Focus on the what and why, not the tech stack.
/speckit.specify Develop Taskify, a team productivity platform where predefined users create projects, assign tasks, comment, and move tasks across Kanban columns (To Do, In Progress, In Review, Done). Five users (one product manager, four engineers), three sample projects, no login for this first phase.
Asks targeted questions about anything underspecified and folds your answers back into the spec, so you're not planning on top of ambiguity. Run it before planning, optionally with a focus area.
/speckit.clarify Focus on task card behavior — status changes, comment permissions, and user assignment.
Generates the design artifacts from the spec. This is where implementation detail belongs — provide your tech stack and architecture.
/speckit.plan Use .NET Aspire with Postgres. The frontend is Blazor Server with drag-and-drop boards and real-time updates. Expose REST APIs for projects, tasks, and notifications.
Generates a quality checklist — "unit tests for your requirements" — to confirm the spec is complete, clear, and consistent before you break the work down.
/speckit.checklist
Generates an actionable, dependency-ordered tasks.md from the design artifacts.
/speckit.tasks
Reports conflicts, gaps, and ambiguities across spec.md, plan.md, and tasks.md. It's read-only — if it flags issues, fix them at the source and re-run before implementing.
/speckit.analyze
Executes the tasks in tasks.md in dependency order. Run it once to build everything, or scope it to one phase at a time for large features.
/speckit.implement
Checks the codebase against the spec, plan, and tasks. If it finds gaps, it appends new tasks to tasks.md; run /speckit.implement and converge again until it reports converged. Otherwise you're done — proceed to review or open a PR.
/speckit.converge
Tip
For a full reference on each command — arguments, output, phased implementation, and how they interact — see Agentic SDD.
- Be explicit about what you're building and why
- Don't focus on tech stack during specification phase
- Iterate and refine your specifications before implementation
- Validate requirements and plans before coding begins
- Let the coding agent handle the implementation details
- See the Agentic SDD reference for full detail on every command
- Read the complete methodology for in-depth guidance
- Check out more examples in the repository
- Explore the source code on GitHub