From fslzrr
Breaks a PRD into vertical-slice TASKs by grouping user stories that share the same end-to-end context, proposes the breakdown with rationale for human approval, then creates the approved TASKs as child GitHub issues. TRIGGER when: user says 'decompose the PRD', 'break into tasks', 'create tasks for issue #N', 'split this into tasks'.
How this skill is triggered — by the user, by Claude, or both
Slash command
/fslzrr:decomposeThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Break a PRD into vertical-slice TASKs, propose the decomposition for human approval, then create the TASK issues on GitHub.
Break a PRD into vertical-slice TASKs, propose the decomposition for human approval, then create the TASK issues on GitHub.
You need a PRD issue number. If not provided, ask for it.
Before starting, read docs/adr/ once per session:
Before starting, read docs/style-guide/ once per session:
Use /issues to read the full PRD content. Pay close attention to:
Group user stories by vertical context — stories that, together, form a complete end-to-end slice through the system belong in the same TASK. A vertical slice must:
Do not create one TASK per user story. Group related stories that share the same vertical path through the system.
Present the proposed decomposition to the human. For each TASK:
type(scope): description or type: description. Use the full vocabulary: feat, fix, docs, style, refactor, perf, test, chore, build, ci, revert. Scope is optional but encouraged when the TASK targets a single skill or module. ADR TASKs always use docs(adr): description — no judgment needed.ai-ready or human-ready, with a reasonSay: "Here is my proposed TASK breakdown. Review each grouping and let me know if you want to split, merge, reorder, or change implementor types before I create the issues."
Wait for explicit approval. Apply any requested changes and re-show the affected TASKs if modified.
For each proposed TASK in the approved list, determine whether it covers a UI story that introduces or modifies a visual component or pattern. A TASK qualifies if it involves any of the following:
If no TASK qualifies, skip this step and continue to step 5.
For each qualifying TASK, generate a self-contained HTML/CSS prototype that visually represents the component or pattern. The prototype must:
<style> and standard HTML — no external dependenciesWrite each prototype to /tmp/prototype-[component].html, where [component] is a kebab-case name derived from the component being designed (e.g., /tmp/prototype-filter-sidebar.html).
After writing the prototype file, pause and tell the human:
"Prototype written to
/tmp/prototype-[component].html. Open that file in a browser to review the visual design, then reply approve or describe the changes you want."
Wait for one of two responses:
Approval — the human replies with "approve" or equivalent confirmation.
```html … ```) inside the "Prototype" section of the TASK body.rm /tmp/prototype-[component].html.Revision request — the human describes changes they want.
Do not move to step 5 until every prototype generated in this step has been approved and its temp file deleted.
Once approved, for each TASK:
Use /issues to create a child issue with:
task and ai-ready or human-ready (as approved)TASK template: Read ../issues/templates/task.md and use it as the structural template for the issue body, filling in each section with the approved content. If step 4 produced an approved prototype for this TASK, fill in the ## Prototype section with the approved HTML.
If the PRD contains an Identified ADRs section, create one TASK issue per entry in that section:
task,adr,ai-ready (or human-ready if a human should author it)/document owns all content draftingUse /issues to create each ADR TASK issue.
Using the style guide entries read during the style guide guard, for each UI TASK in the approved list — using the same detection criteria as step 4 (new component, modified component, new design token, layout behavior change, or LLM judgment for gaps) — evaluate whether the story introduces or modifies a style guide entry. Apply the following three-case logic:
docs/style-guide/ → create a style guide TASK.docs/style-guide/ → create a style guide TASK.For each qualifying story, use /issues to create a separate TASK issue with:
task,style-guide,ai-ready (or task,style-guide,human-ready if a human should author it)After all TASKs (regular, ADR, and style guide) are created, collect every TASK number and title produced in steps 5, 6, and 7. Post a single comment on the PRD issue:
gh issue comment <PRD-number> --body "Created child TASKs:
- #N title
- #M title"
List every created TASK — regular TASKs first, then ADR TASKs, then style guide TASKs — in the order they were created.
After all TASKs are created, use /issues to transition the PRD from in-backlog to in-progress.
Report the list of created TASK issue numbers and URLs to the human.
npx claudepluginhub fslzrr/skills --plugin fslzrrCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.