split-into-features
Skill0 starsChanged 6 months agoMITView on GitHub
Split an EPIC into Feature files. Use when the user asks to split / decompose / break down an epic into features, asks to create features under an epic, or invokes /tandem:split-into-features. Operates as PM hat. Reads an Epic file and writes FEAT-NN.M-<slug>.md files in 31-Features/EPIC-NN/, then updates the Epic's Features section with relative links.
In this repository32 other files it gives its agents.
- _00-Project-Management/CLAUDE.mdCLAUDE.md
- autopilotSkill
- close-out-storySkill
- close-phaseSkill
- coreSkill
- critiqueSkill
- curate-toolkitSkill
- documentSkill
- draft-epicSkill
- draft-okrsSkill
- draft-prdSkill
- execute-batch-parallelSkill
- execute-batchSkill
- execute-storySkill
- execution-strategistSkill
- fill-claude-mdSkill
- installSkill
- modeSkill
- monthly-retroSkill
- path-scope-exampleSkill
- peer-reviewSkill
- plan-driftSkill
- refine-backlogSkill
- reflectSkill
- run-testplanSkill
- session-startSkill
- split-into-storiesSkill
- start-phaseSkill
- triage-backlogSkill
- updateSkill
- weekly-monitorSkill
- write-outcomesSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 6 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Follow that prompt verbatim.
- Distinctive: line 21
If the user didn't supply one, ask: "Which Epic file should I decompose?
- Very specific: line 25
Use Read / Glob to detect existence.
- Very specific: line 36
Read the source Epic's ## Features outline.
- Very specific: line 39
Write each Feature file under the resolved features folder, organized as EPIC-NN/FEAT-NN.M-<slug>.md, using FEATURE.template.md verbatim.
- Very specific: line 47
Update the Epic's ## Features section with relative links to the new FEAT files (relative from the resolved epics folder to the resolved …
- Distinctive: line 49
Show the file tree of what you'll create before writing: Wait for user approval.
- Distinctive: line 53
If a Feature feels > L estimate (1–2 weeks), propose splitting into two Features before writing.
- Distinctive: line 54
If two Features overlap heavily, propose merging.
- Distinctive: line 56
Do NOT create STORY files — that's the next phase.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Tandem: split-into-features (PM hat)
Operate as PM hat. The user has an approved Epic and needs to decompose it into Features that can each ship in 1–2 weeks of solo work.
This skill is the slash-command wrapper for the kit's canonical feature-decomposition prompt. The prompt is the source of truth; this file is the entry point.
Source of truth
@_00-Project-Management/92-Prompts/03-split-epic-into-features.md
Follow that prompt verbatim. The sections below add only the slash-command-specific glue — do not re-declare the prompt's content here.
Inputs needed
- Path to the source Epic file under the
epicsfolder (resolve via the path map:node _00-Project-Management/93-Scripts/lib/pm-paths.js resolve epics; e.g._00-Project-Management/01-EPIC/EPIC-NN-<slug>.md). - If the user didn't supply one, ask: "Which Epic file should I decompose? Paste the path or the EPIC-NN id."
Load into context
Use Read / Glob to detect existence. Treat missing files as "not present" rather than throwing. Folder locations are resolved through the path map (pm-paths.js / pm-paths.json) rather than hardcoded.
- Source Epic — at the resolved path above. Read it fully — especially the
## Featuresoutline (high-level titles the Epic already proposed) and## In scope/## Out of scope. - SOP —
_00-Project-Management/90-Standards/SOP.mdfor DoR + estimation rules. - Project context —
_00-Project-Management/90-Standards/PROJECT-CONTEXT.md. - Feature template — resolve the
templatesfolder via the path map and readFEATURE.template.md. Use verbatim — do not redraft section headings from memory. - Existing Features under this Epic — resolve the
featuresfolder via the path map and globEPIC-NN/FEAT-NN.M-*.mdto find the next-freeM(scan for max M, increment by 1). Create theEPIC-NN/subfolder if it doesn't exist yet. - Project root
CLAUDE.md— for project-specific overrides.
Task
- Read the source Epic's
## Featuresoutline. Each high-level title becomes one FEAT file (unless the user wants a different split — confirm split count up front to avoid under-decomposition).- Split gate (artefact economy —
90-Standards/ARTEFACT-ECONOMY.md): a Feature is earned only by a shippable slice with its own acceptance criteria that genuinely needs ≥2 stories; otherwise fold it into a sibling or keep it a single Story. Fewest Features that carry the Epic's claims.
- Split gate (artefact economy —
- For each feature, find next-free
FEAT-NN.Mby scanning the targetEPIC-NN/folder within the resolvedfeaturesfolder. - Write each Feature file under the resolved
featuresfolder, organized asEPIC-NN/FEAT-NN.M-<slug>.md, usingFEATURE.template.mdverbatim. Number sequentially within the Epic (.1, .2, .3 …).- Apply
write-outcomesfor each Feature, inline-first: After writing each FEAT file, apply thewrite-outcomesrules inline to the Feature's title and technical body to produce the outcome line; dispatch a sub-agent only under ADR-0105 — write-outcomes runs inline first, rather than dispatching a sub-agent per artefact's named conditions (this producer's own context is near its limit, or an isolation-worthy batch run). Write the single line (plain text, no markdown) into the Feature'soutcome:frontmatter field.
- Apply
- Fill every section:
- Goal — the slice of the Epic this delivers.
- User value — one sentence on UX improvement.
- Scope — bulleted breakdown.
- Acceptance criteria — testable checkboxes. Each AC must map to ≥1 story later (don't write the stories —
/tandem:split-into-storiesdoes that). - Dependencies, Data touched, Risks.
- Update the Epic's
## Featuressection with relative links to the new FEAT files (relative from the resolvedepicsfolder to the resolvedfeaturesfolder, e.g.../31-Features/EPIC-NN/FEAT-NN.M-<slug>.mdin a canonical layout). - Set frontmatter on every Feature:
status: not-started,created_at: <ISO 8601 now from system clock>, other timestamp fields empty strings,epic: EPIC-NN. - Show the file tree of what you'll create before writing. Wait for user approval.
Output rules
- If a Feature feels > L estimate (1–2 weeks), propose splitting into two Features before writing.
- If two Features overlap heavily, propose merging.
- Under-decomposition risk: if you produce only 1 Feature when the Epic warrants several, stop and confirm the split count with the user before writing.
- Do NOT create STORY files — that's the next phase.
Non-negotiable rules from CLAUDE.md
- Frontmatter timestamps (quoted ISO 8601 with offset, from system clock).
- Status enum (
not-startedon creation). - Templates rule — use
FEATURE.template.mdverbatim. - Epic linkage — every Feature's frontmatter
epic:must point to the source Epic.
End-of-session summary (always emit)
- Files written: list of Feature file paths under the resolved
featuresfolder (e.g._00-Project-Management/31-Features/EPIC-NN/FEAT-NN.M-<slug>.md) - Total features: N
- Estimated total:
<weeks> - Suggested execution order: which to start with and why
- Epic
## Featuressection updated: yes / no
Next command
Next: /tandem:split-into-stories — decompose each Feature into Stories + paired Testplans.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

