skills/planning-and-task-breakdown/SKILL.md
Use when you have a spec or PRD that needs decomposing into small, verifiable implementation tasks. Use before any build cycle to ensure tasks are thin vertical slices with clear acceptance criteria.
npx skillsauth add paulund/skills planning-and-task-breakdownInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
idea. If no approved PRD exists, stop and tell the user to run /spec first.afk (agent can do this autonomously) or hitl (needs human judgement).A good slice:
| Rationalization | Reality | |---|---| | "Let's do all the schema changes first" | That's horizontal slicing. Schema without API or UI can't be shipped or verified. | | "This task is too small to bother with AC" | If it's too small for AC, it's too small to track as a task. Merge it. | | "I'll figure out the dependencies as I go" | Without dependency ordering, you will block yourself and produce merge conflicts. | | "Everything is p1" | If everything is p1, nothing is. Force ranking. |
hitl slices than afk — you're keeping too much for humansWhen creating GitHub issues from a breakdown:
Feature slices (new user-facing capability) — apply hitl and needs-planning labels. Features require a proper planning session per slice before implementation. Do NOT apply afk, planned, or feature labels to feature issues.
Non-feature slices (bugs, chores, refactors, tech debt) — may use afk and planned labels directly.
afk / hitl remain useful metadata in the plan itself (to signal autonomy vs human judgement), but for feature issues they are planning-stage classification only — not GitHub labels./plan Phase 2 (Detailed Planning) before implementation begins.After issues are created with needs-planning, run detailed planning per-slice. This produces an implementation-ready issue body that /build can consume. The trigger is the needs-planning label — query with gh issue list --label needs-planning.
gh issue view <number>. Capture the current body as a baseline.gh issue edit <number> --body "<updated body>"gh issue edit <number> --remove-label needs-planning --add-label plannedafk. Otherwise → hitl. The invariant from the triage command applies: planned MUST have exactly one of afk or hitl.| # | Criterion | |---|-----------| | 1 | Problem statement — clear why | | 2 | Acceptance criteria — specific, testable outcomes | | 3 | Technical context — enough to know where to start | | 4 | Testing strategy — which layers, mocks needed | | 5 | Out of scope — what is NOT being done | | 6 | Dependencies — other issues, PRs, external changes | | 7 | No open questions — design forks resolved |
needs-planning is now plannedplanned issue has exactly one of afk or hitlhitl when the work can be done AFK — resist the urge to gate on humans.afk, planned, or feature labels to feature issues — features use hitl and needs-planning instead.prd label in addition to hitl and needs-planning.development
Use when implementing any logic, fixing any bug, or changing any behaviour. Use when you need to prove code works, when a bug report arrives, or when modifying existing functionality. Do NOT use for config changes, data migrations, or dependency updates.
development
Use when starting a new feature, when requirements are unclear, when asked to write code without a clear spec, or before any non-trivial implementation. Do NOT use for trivial bug fixes or one-line changes.
development
Use when you want authoritative, source-cited code free from outdated patterns. Use when building with any framework or library where correctness matters. Detects the stack from dependency files, fetches official documentation, implements following documented patterns, and cites sources for every framework-specific decision.
development
Use when preparing to ship a feature, release, or deployment. Use before merging to main, creating a release, or deploying to production. Do NOT use for CI-only changes or internal refactors that don't reach production.