sd-planning
Generate a feature plan through iterative problem breakdown, codebase research, and clarifying questions before handing off to tlc-spec-driven and requirements-table generation. Use when user says 'pl
Files4
View on GitHubSKILL.mdskills/sd-planning/SKILL.md
GitHubSteps
See diagram for a visual flow overview.
Add the following steps as tasks using the TaskCreate, TaskUpdate, TaskGet, and TaskList tools. Update the status as you progress through each step to keep the user informed.
- Execute the
/tlc-spec-drivenskill to generate a plan/spec based on the described problem. - Execute the
/spec-to-requirements-tableskill to generate arequirements.mdfile. - Verifier pass (always-on, author ≠ verifier): dispatch a fresh sub-agent — no inherited context from steps 1-2 — to run
/sd-review-specin report-only mode against the generatedspec.md,design.md,tasks.md,requirements.md, and any cited ADRs. Give it only: the original feature request (verbatim, as the user stated it), and the feature's spec dir path. It audits every doc claim against the real code and checks the full set covers everything the original request needs — scope, constraints, edge cases, dependencies, and every requirement inrequirements.mdtraced to a task. It does not edit anything; it returns the severity-classified gap report (same table as/sd-review-specstep 8). If gaps exist: show them to the user and apply fixes per/sd-review-specsteps 4-7 before continuing. Do not skip this step and do not ask the user whether to run it — only ask what to do with findings. - Once planning is complete, ask the user if they wish to register the feature in taskmaster. If the answer is "yes," use the
/sd-insert-taskmasterskill. - Check the definitions in docs-adr and consider offering to create an ADR when the criteria are met.
- At the end of the session, evaluate whether there is anything worth saving as permanent memory. Save as permanent memory only what the next session will need and cannot rediscover by reading the code, Git, or CLAUDE.md—such as the reason behind a decision, a non-obvious invariant, or a user preference; if it is already in the repo or only matters for this specific conversation, do not save it. Use the
ai-memory-durable-pagesskill to persist it.