agentleFS
patonkikhpatonkikh/APES/skills/product/epic-generator/skill.md

epic-generator

Skill3 starsChanged 4 months agoMITView on GitHub

Decompose a PRD or feature scope into well-structured epics with goals, scope boundaries, and story count estimates. Use when working on product discovery, PRDs, user stories, OKRs, or backlog planning.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Keep enabler epics visible but separate from value epics.

    line 104
  2. Distinctive:

    Leave detailed story writing to user-story-generator.

    line 106

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
skill.md

Epic Generator

Purpose

Decompose a PRD or feature scope into well-structured epics with goals, scope boundaries, and story count estimates.

Input: PRD or feature description, priorities (optional)
Output: Epic breakdown document with epic goals, boundaries, and suggested user story themes Examples: See examples.md for worked input/output.


Workflow

Step 1: Parse input scope

Extract from PRD or user input:

  • Functional requirements grouped by theme
  • User flows
  • Dependencies between requirements
  • Priority levels (Must/Should/Could)

Step 2: Apply epic decomposition rules

Each epic must:

  • Deliver user-visible value (not purely technical)
  • Be completable in 1–3 sprints (guideline)
  • Have a clear goal statement
  • Map to one or more FR IDs from PRD

Step 3: Define epic structure

For each epic:

  • Goal: what user outcome this epic achieves
  • Scope: included FRs and flows
  • Out of scope: what this epic explicitly excludes
  • Dependencies: other epics that must complete first
  • Story themes: 3–7 user story titles (not full stories yet)
  • Estimate: story count range (not hours)

Step 4: Sequence epics

Order epics by:

  1. Dependencies (blockers first)
  2. Priority (Must before Should)
  3. Risk (validate riskiest epic early)

Step 5: Validate

Run Validation checklist.


Decision Rules

ConditionAction
Epic has no user-visible valueReframe or merge with another epic
Epic exceeds 3 sprints estimatedSplit into smaller epics
Technical-only epic (e.g. "set up CI")Mark as enabler epic; separate from user epics
Circular dependenciesRestructure epics to break cycle
No PRD or requirementsStop; request PRD or run prd-generator

Validation

  • Every FR from input maps to exactly one epic
  • Each epic has goal, scope, out-of-scope, dependencies
  • Each epic has 3–7 story themes
  • No epic is purely technical without enabler label
  • Epic sequence respects dependencies
  • Story count estimates are ranges, not false-precision hours
  • Epic count is reasonable (3–8 for typical MVP)

Anti-patterns

  • Epic = component — "Backend API" instead of user outcome.
  • Giant epic — single epic for entire product.
  • Micro epics — one story per epic.
  • Missing dependencies — sequencing that ignores blockers.
  • Story themes as tasks — "set up database" instead of user value.

Best Practices

  • Name epics by user outcome: "User can authenticate" not "Auth module".
  • Keep enabler epics visible but separate from value epics.
  • Align epic order with feature prioritization if available.
  • Leave detailed story writing to user-story-generator.
  • Flag epics needing spikes or research.

Output Structure

# Epic Breakdown: [Product/Feature Name]

## Overview
- **Source:** [PRD reference]
- **Total epics:** N
- **Estimated stories:** X–Y

## Epic Sequence
1. [Epic name] → 2. [Epic name] → ...

## Epics

### Epic 1: [Name]
- **Goal:** [user outcome]
- **FRs covered:** FR-001, FR-003
- **Scope:** [what's included]
- **Out of scope:** [excluded]
- **Dependencies:** none | Epic N
- **Story themes:**
  1. [Theme title]
- **Estimate:** 4–6 stories

[Repeat for each epic]

## Dependency Graph
[Epic A] → [Epic B]

## Open Questions
- [ ] [Question]

Next Skills

OutcomeRecommended Skill
Write stories for epicproduct/user-story-generator
Add acceptance criteriaproduct/acceptance-criteria-generator
Visualize full journeyproduct/story-mapping
PRD missingproduct/prd-generator

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.