/project-foundations:issue-decompositionfrom project-foundations
Breaks high-level project descriptions into 5-15 INVEST-quality GitHub issues with user stories, acceptance criteria, dependencies, labels, and powers-of-two point estimates.
Ships in project-foundations. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Transform high-level project descriptions into well-structured GitHub issues. Each issue includes a user story, acceptance criteria, dependencies, labels, and a story-point estimate on the powers-of-two scale from the estimating-work-items skill.
Activate this skill when:
When NOT to use: not for single bug reports or tasks already small enough to be one issue; not for dependency visualization (use the dependency-mapping skill).
Each generated issue follows this structure:
# [Concise, Action-Oriented Title]
## User Story
As a [persona/role], I want [goal/action] so that [benefit/value].
## Description
[2-4 sentences explaining the context and what needs to be done]
## Acceptance Criteria
- [ ] Criterion 1: Specific, testable requirement
- [ ] Criterion 2: Another measurable outcome
- [ ] Criterion 3: Edge case or validation requirement
## Dependencies
- Blocked by: #[number] - [brief reason]
- Blocks: #[number] - [what depends on this]
## Labels
`[type]`, `[area]`, `[priority]`, `points-[n]`
## Estimate
**[n] points**
Compared with: [smaller reference] ([n]) and [larger reference] ([n]) - [why it is closer to one than the other].
Main unknown: [the one thing most likely to make this bigger], or "none".
Estimated by: [model] in [harness], estimating-work-items [version]
Ask clarifying questions if needed:
Break the project into 3-7 major areas:
For each component, create issues that are:
estimating-work-items (you can say what done looks like)Identify blocking relationships:
Always show the user a summary before creating issues:
## Proposed Issues (N total)
| # | Title | Points | Dependencies |
|---|-------|--------|--------------|
| 1 | Setup project structure | 2 | None |
| 2 | Implement core feature X | 4 | Blocked by #1 |
...
Proceed with creation? (y/n)
On approval, create each issue with gh issue create --title ... --body ... --label ... (requires the gh CLI authenticated for the repo). If gh is unavailable, output the issue bodies for manual creation.
Check existing repo labels first (gh label list) and prefer them over this default taxonomy.
feature, enhancement, bug, chore, docs, testfrontend, backend, database, infrastructure, securitypriority:high, priority:medium, priority:lowpoints-1, points-2, points-4, points-8 (issues); epic with no points-* label (epics, whose points are the sum of their children)Size every issue with the estimating-work-items skill: score effort, complexity, and uncertainty, triangulate against reference stories, and pick one bucket on the powers-of-two scale.
| Points | Kind | Rule |
|---|---|---|
| 1, 2, 4, 8 | issue | 8 is the ceiling for a single issue |
| Sum of children, no limit | epic | Anything bigger than 8. Never created as a plain issue. Label it epic and decompose it into children of 8 or less; a child bigger than 8 is decomposed again |
An epic is not estimated directly. After decomposing it, add up the children: the exact sum, unrounded and uncapped, is the epic's points. Points are relative size, not days; timeline-planning owns the conversion to durations.
See example.md for a worked decomposition of "Build a user authentication system" (an epic) into 7 issues totalling 18 points.
Once issues are created:
dependency-mapping skill to visualize relationshipstimeline-planning skill to create a Gantt chartWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub britt/agent-skills --plugin project-foundations15 skills in this plugin
/architecture-diagrammingUse when the user asks for an architecture diagram, says 'show me the system architecture' or 'diagram the components', or during project planning - generates GitHub-compatible Mermaid flowcharts showing components, layers, subgraph boundaries, and data flows/dependency-mappingUse when asked to map issue dependencies, show what blocks what, or find the critical path through project work - reads GitHub issues for blocked-by/depends-on signals and generates Mermaid flowcharts of blocking chains/estimating-change-footprintUse when writing or refining a GitHub issue that needs a cost estimate, when asked to estimate, size, budget or forecast agent spend on work, or when deciding whether an item is an issue or an epic - gives an issue a change footprint (expected lines changed and expected files read, each in a bucket) that predicts coding-agent token spend, recorded as labels, a Footprint section, and a project field/estimating-work-itemsUse when writing or refining a GitHub issue, epic, or other work item that needs a size, when asked to estimate, point, or size work, or when deciding whether an item is an issue or an epic - gives an issue one story-point estimate on a powers-of-two scale (1, 2, 4, 8) and an epic the sum of its children's points, with no upper limit, recorded as a label, an Estimate section, and a project field/mermaid-diagramsUse when creating any Mermaid diagram (flowchart, sequence, class, state, ER, Gantt) in markdown, or when a diagram fails to render on GitHub - covers the syntax rules that break GitHub rendering (parentheses in labels, mismatched brackets) plus per-type examples/project-analysisUse when starting work on an unfamiliar codebase or asked to 'analyze this project' - maps structure, project type, architecture pattern, key files, and dependencies into a standard report5 plugins in one repository ship this exact skill · first indexed Oct 23, 2026
Other plugins' skills for the same job