speckit.tasks — Claude Code command: what it does, how to install
speckit.tasks builds a tasks.md file for a feature from plan.md and spec.md, splitting work into phases by user story priority.
no license ★ 117 updated 2026-10-29
.claude/commands/speckit.tasks.mdWhat speckit.tasks does
The speckit.tasks command starts by running .specify/scripts/bash/check-prerequisites.sh --json to locate the feature directory, then reads plan.md and spec.md as required inputs, pulling in data-model.md, contracts/, research.md or quickstart.md when they're present.
It turns those sources into a tasks.md built on .specify/templates/tasks-template.md: a setup phase, a foundational phase for blocking shared work, one phase per user story ordered by priority (P1, P2, P3...), and a final polish phase. Every line has to follow a fixed checklist pattern — checkbox, task ID like T001, an optional [P] tag for parallelizable work, a story tag like [US1], and a file path — anything missing from that pattern counts as malformed.
Test tasks only show up if the feature spec calls for them or the user asks for a TDD workflow explicitly. The command finishes by reporting the output path, task counts per story, and which tasks can run in parallel.
What it helps with
- split a feature into tasks grouped by user story
- get checklist-formatted tasks with IDs and file paths
- order work into setup, foundational, story, and polish phases
- scope an MVP around the first user story
- spot tasks that can run in parallel
Example prompts for the agent
- Run /speckit.tasks for the current feature
- Generate tasks.md from plan.md and spec.md
- Break tasks down by user story using the contracts folder
How to install speckit.tasks
Manually: put the files in place
.claude/commands/speckit.tasks.mdCall it with /speckit.tasks. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/speckit.tasks.mdCall it with /prompts:speckit.tasks. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/speckit.tasks.prompt.mdManually: put the files in place
.gemini/commands/speckit.tasks.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about speckit.tasks
How do I install speckit.tasks in Claude Code?
Place the file at .claude/commands/speckit.tasks.md.
What does speckit.tasks do?
It reads a feature's plan.md, spec.md and any available optional design docs, then writes a tasks.md broken into phases and user stories, with each line following a strict checkbox format that includes a task ID and file path.
What files does speckit.tasks need to work?
plan.md and spec.md are required; data-model.md, contracts/, research.md and quickstart.md get used only if they exist in the feature directory.