Learn-skills.dev spec-kit-tasks
Use when an approved Spec Kit `plan.md` + `spec.md` must be decomposed into dependency-ordered `tasks.md`, or when `tasks.md` is missing/stale after planning or reconciliation changes.
install
source · Clone the upstream repo
git clone https://github.com/NeverSight/learn-skills.dev
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/NeverSight/learn-skills.dev "$T" && mkdir -p ~/.claude/skills && cp -r "$T/data/skills-md/ahgraber/skills/spec-kit-tasks" ~/.claude/skills/neversight-learn-skills-dev-spec-kit-tasks && rm -rf "$T"
manifest:
data/skills-md/ahgraber/skills/spec-kit-tasks/SKILL.mdsource content
Spec Kit Tasks
Generate an implementation-ready
tasks.md from Spec Kit design artifacts.
When to Use
andplan.md
exist and you need executable tasks for implementation.spec.md
is missing, stale, or not aligned with current plan/spec artifacts (including post-tasks.md
updates).spec-kit-reconcile- You need user-story-scoped task phases with clear dependency and parallelization signals.
When Not to Use
- The feature spec is missing (
first).spec-kit-specify - High-impact ambiguity still blocks design decisions (
first).spec-kit-clarify - Technical design artifacts are not finalized (
first).spec-kit-plan - You are executing tasks rather than generating them (
).spec-kit-implement
Router Fit
- Primary route from
afterspec-kit
.spec-kit-plan - Must complete before
.spec-kit-implement - Supports
andspec-kit-analyze
by producing structured implementation intent.spec-kit-reconcile
Preconditions
- Run from repository root (or a subdirectory inside it).
- Active feature context resolves to one
directory.specs/<feature>/
exists and reflects the latest approved design.plan.md
Workflow
-
Resolve feature paths and prerequisite gate:
- Run
exactly once.scripts/check-prerequisites.sh --json - Parse
andFEATURE_DIR
.AVAILABLE_DOCS - Derive:
FEATURE_SPEC = FEATURE_DIR/spec.mdIMPL_PLAN = FEATURE_DIR/plan.mdTASKS = FEATURE_DIR/tasks.md
- If
is missing, stop and route tospec.md
thenspec-kit-specify
.spec-kit-plan
- Run
-
Load generation inputs:
- Required:
,plan.md
.spec.md - Optional (when present):
,research.md
,data-model.md
,contracts/
.quickstart.md - Template preference:
{REPO_ROOT}/templates/tasks-template.md{REPO_ROOT}/.specify/templates/tasks-template.md- fallback:
assets/tasks-template.md
- Required:
-
Extract planning context:
- From
: stack, architecture, constraints, project structure.plan.md - From
: prioritized user stories, acceptance criteria, independent test intent.spec.md - From optional docs: shared entities, external interfaces, and setup decisions.
- From
-
Build task phases:
- Phase 1: Setup.
- Phase 2: Foundational prerequisites blocking all stories.
- Phase 3+: one phase per user story in priority order.
- Final phase: Polish/cross-cutting concerns.
-
Generate tasks in strict checklist format:
- Required pattern:
.- [ ] T### [P?] [US#?] Action with file path - Include
only for user-story phases.[US#] - Include
only when tasks can run safely in parallel.[P] - Include exact file paths in every implementation/test task description.
- Add test tasks only when explicitly requested by spec/user.
- Required pattern:
-
Validate coverage and ordering before writing:
- Every user story has independently testable tasks.
- Dependencies are explicit and respect phase order.
- Every task matches format requirements (checkbox, ID, labels, file path).
- No orphaned entities/contracts without mapped tasks.
-
Write
:tasks.md- Preserve heading order from the selected template.
- Replace template placeholders and sample content with concrete feature tasks.
-
Report completion:
- Absolute
path.tasks.md - Total task count and per-story counts.
- Parallel opportunities.
- Suggested MVP slice (typically first priority story).
- Readiness handoff for
.spec-kit-implement
- Absolute
Task Format Guidance
Format Components
- Checkbox: ALWAYS start with
(markdown checkbox).- [ ] - Task ID: Sequential number (
,T001
,T002
, ...) in execution order.T003
marker: Include ONLY if the task is parallelizable (different files, no dependencies on incomplete tasks).[P]
label: REQUIRED for user story phase tasks only.[Story]- Format:
,[US1]
,[US2]
, etc. (maps to user stories from[US3]
)spec.md - Setup phase: no story label
- Foundational phase: no story label
- User story phases: MUST have story label
- Polish phase: no story label
- Format:
- Description: Clear action with exact file path.
Examples
- CORRECT:
- [ ] T001 Create project structure per implementation plan - CORRECT:
- [ ] T005 [P] Implement authentication middleware in src/middleware/auth.py - CORRECT:
- [ ] T012 [P] [US1] Create User model in src/models/user.py - CORRECT:
- [ ] T014 [US1] Implement UserService in src/services/user_service.py - WRONG:
(missing Task ID and Story label)- [ ] Create User model - WRONG:
(missing checkbox)T001 [US1] Create model - WRONG:
(missing Task ID)- [ ] [US1] Create User model - WRONG:
(missing file path)- [ ] T001 [US1] Create model
Output
under the active feature directory with dependency-ordered, story-scoped tasks.tasks.md- Completion summary with task counts, dependency highlights, and MVP recommendation.
Key Rules
- Organize tasks by user story so each story can be implemented and validated independently.
- Keep task granularity implementation-ready: no vague one-liners and no giant umbrella tasks.
- Preserve execution truth in IDs and dependency order (
,T001
, ...).T002 - Treat foundational work as blocking unless it is explicitly independent and parallel-safe.
- Never invent tests by default; include test work only when requested.
Common Mistakes
- Generating tasks from
alone without usingspec.md
constraints.plan.md - Copying sample tasks from the template instead of replacing them.
- Missing file paths or story labels in user-story phases.
- Marking conflicting tasks as
even though they touch the same files/dependencies.[P] - Producing tasks that cannot satisfy each story's independent test criteria.
References
for where task generation fits in the full Spec Kit sequence.references/spec-kit-workflow.dotscripts/check-prerequisites.shassets/tasks-template.mdhttps://github.com/github/spec-kit/blob/9111699cd27879e3e6301651a03e502ecb6dd65d/templates/commands/tasks.md