GAAI-framework generate-epics
Translate product intent or a PRD into a small set of outcome-driven Epics (3–7 max). Activate when starting a new product, adding a significant feature domain, or breaking down a PRD into actionable user outcomes.
git clone https://github.com/Fr-e-d/GAAI-framework
T=$(mktemp -d) && git clone --depth=1 https://github.com/Fr-e-d/GAAI-framework "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.gaai/core/skills/discovery/generate-epics" ~/.claude/skills/fr-e-d-gaai-framework-generate-epics && rm -rf "$T"
.gaai/core/skills/discovery/generate-epics/SKILL.mdGenerate Epics
Purpose / When to Activate
Activate when:
- Starting a new product
- Adding a significant feature or domain
- Restructuring product scope
- Breaking down a PRD into actionable outcomes
Works with or without a PRD.
Process
-
Read the Epic template at
before writing any Epic file.contexts/artefacts/epics/_template.epic.mdCRITICAL — ID Collision Guard (MUST execute before assigning any Epic ID):
- a) Scan
to find the highest existing Epic number (e.g., if E52 is the last, the next Epic must be E53 or higher).contexts/backlog/active.backlog.yaml - b) Also scan
for existingcontexts/artefacts/epics/
files to catch any that may not yet be in the backlog..epic.md - c) For each Epic file to be created, check if the file already exists at
. If it exists with different content, STOP immediately — surface the conflict to the human.contexts/artefacts/epics/{id}.epic.md - d) The new Epic ID =
. Never reuse an Epic ID, even if the previous Epic was deleted or superseded.max(existing IDs) + 1 - Rationale: In a past incident, two concurrent sessions both assigned the same Epic ID to different epics. The second overwrote the first's stories. This guard prevents recurrence.
- a) Scan
-
Think in user outcomes, not features
-
Keep Epics high-level and value-focused
-
Avoid implementation detail
-
Limit to 3–7 Epics maximum
-
For each Epic, answer: "What meaningful user result will this create?"
-
Set domain based on the Epic's primary intent (e.g., engineering, marketing, legal). Leave empty if not applicable.
-
Output using the canonical Epic template
Outputs
Template:
contexts/artefacts/epics/_template.epic.md
Produces files at
contexts/artefacts/epics/{id}.epic.md.
Key sections per Epic:
- Purpose: what user outcome this delivers and why it matters
- Scope: high-level description of what is included
- Out of Scope: what is explicitly excluded
- Stories: list of story IDs (descriptive only; authoritative tracking is in the backlog)
- Success Metrics: how to know the Epic delivered value
- Dependencies: other Epics or external factors this depends on
Quality Checks
- Each Epic expresses a user outcome, not a technical feature
- Maximum 7 Epics per initiative
- No implementation detail present
- Each Epic is independently valuable
- No Epic ID collision — the assigned ID does not exist in the backlog or on disk with different content
Non-Goals
This skill must NOT:
- Generate Stories (use
)generate-stories - Make technical architecture decisions
- Produce more than 7 Epics per initiative
Epics are the bridge between vision and execution.