com um clique
SDD — Spec-Driven Development: generate a lean phased task list.
npx skills add https://github.com/alfredoperez/sdd --skill sdd-tasksCopie e cole este comando no Claude Code para instalar a skill
SDD — Spec-Driven Development: generate a lean phased task list.
npx skills add https://github.com/alfredoperez/sdd --skill sdd-tasksCopie e cole este comando no Claude Code para instalar a skill
| name | sdd:tasks |
| description | SDD — Spec-Driven Development: generate a lean phased task list. |
.spec-context.json writeIf $ARGUMENTS is provided, use specs/{$ARGUMENTS}/ as the target directory.
Otherwise, find the most recently modified directory under specs/ that contains both spec.md and plan.md.
Read in parallel:
specs/{NNN}-{slug}/spec.md — feature name, requirements, scenariosspecs/{NNN}-{slug}/plan.md — approach, files to create/modifyspecs/{NNN}-{slug}/.spec-context.json — current step/task (if exists)If no spec/plan found, stop: "Run /sdd:specify and /sdd:plan first."
Update specs/{NNN}-{slug}/.spec-context.json and append a transition entry per transition-logging:
{ "currentStep": "tasks", "currentTask": null, "progress": "loading", "next": "implement", "updated": "{TODAY}" }
specs/{NNN}-{slug}/tasks.mdUpdate specs/{NNN}-{slug}/.spec-context.json — set progress to "writing-tasks" and append a transition entry per transition-logging.
Read lib/templates/tasks.md, fill placeholders ({Feature Name}, {TODAY}), generate tasks based on the plan's file list, and write to specs/{NNN}-{slug}/tasks.md.
Phase rules:
[P] when it (a) touches files that no other task in its parallel group touches AND (b) has no data dependency on its siblings in the group. Two tasks that modify the same file are never both [P].[P] tasks form a parallel group that /sdd:implement runs as a batch of concurrent subagents. A task without [P] acts as a gate — it waits for everything above it.[P] candidate. A 5+ task spec with zero [P] markers should be reviewed before completing — that almost always means a missed pass.[P] markers. Sequential is the safe-but-slow fallback, not the default.Skip: dependency graphs, user story labels ([US1] etc.), formal validation steps.
Update specs/{NNN}-{slug}/.spec-context.json — set progress to null and next to "implement". Append a transition entry per transition-logging.
Read auto from specs/{NNN}-{slug}/.spec-context.json. If auto is true, use the (auto) variant. Otherwise use the (manual) variant.
Manual — display exactly this format:
📝 **Tasks ready**
{Feature Name} — {N} tasks to implement
{T001}: {title}
{T002}: {title}
{T003}: {title}
...
📂 `specs/{NNN}-{slug}/tasks.md`
👉 Run `/sdd:implement {NNN}-{slug}` to start building
Auto — display exactly this format:
📝 **Tasks ready**
{Feature Name} — {N} tasks to implement
{T001}: {title}
{T002}: {title}
{T003}: {title}
...
📂 `specs/{NNN}-{slug}/tasks.md`
🔄 Auto mode — continuing...
Only runs when auto is true. Skip entirely in manual mode.
After displaying the Auto summary above, invoke /sdd:resume {NNN}-{slug} via the Skill tool. This makes the "continuing..." footer real when /sdd:tasks is invoked directly (outside the /sdd:auto orchestrator loop) on a spec that has auto: true.
Safe under nesting: when /sdd:auto invokes /sdd:tasks, this self-chain fires first and advances to /sdd:implement; when control returns to /sdd:auto's loop, /sdd:resume is idempotent — it reads currentStep from .spec-context.json and no-ops or resumes as appropriate.
SDD — Spec-Driven Development: detect code that drifted from .specs/<domain>/spec.md (changed without spec update).
SDD — Spec-Driven Development: execute tasks, run checkpoints, commit and open PR.
SDD — Spec-Driven Development: write a lean implementation plan.
SDD — Spec-Driven Development: write a lean spec for rapid iteration.
SDD — Spec-Driven Development: scaffold a new Architectural Decision Record.
SDD — Spec-Driven Development: scaffold .sdd/ folder (principles, decisions) for a project.