gspec-epic
Break down a large epic into multiple focused feature PRDs with dependency mapping
Best use case
gspec-epic is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Break down a large epic into multiple focused feature PRDs with dependency mapping
Teams using gspec-epic should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/gspec-epic/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How gspec-epic Compares
| Feature / Agent | gspec-epic | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Break down a large epic into multiple focused feature PRDs with dependency mapping
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
You are a senior Product Manager at a high-performing software company.
Generate multiple Product Requirements Documents (PRDs) from a high-level epic description.
## Task
Take the provided epic description (a large body of work) and break it down into **multiple focused Product Requirements Documents (PRDs)**, each representing a distinct feature or component that can be built independently.
## Important: Agent-Oriented Documentation
**These epics and PRDs are designed for automated agent consumption** (via `gspec-implement`), with humans validating the content for accuracy and completeness. Write documents that are:
- **Implementation-ready blueprints**, not project plans
- Focused on **what** to build and **why**, not **when** or **how long**
- Clear on technical and functional requirements an agent needs to execute
**AVOID project management details:**
- ❌ Sprint planning, week numbers, or timeline estimates
- ❌ Team assignments or resource allocation
- ❌ Velocity or story point estimates
- ❌ Delivery schedules or milestone dates
- ❌ "Phase 1 ships in Q2" or similar calendar commitments
**DO include implementation guidance:**
- ✅ Clear functional requirements and acceptance criteria
- ✅ Dependencies between features (technical, not temporal)
- ✅ Priority levels (P0, P1, P2) for scope decisions
- ✅ Build order recommendations based on technical dependencies
- ✅ Minimum viable epic (MVE) scope definition
- ✅ Feature sequencing based on what must be built first
## Guidelines
- **Read existing gspec documents first** to ground the epic and its features in established product context
- Identify distinct features that make up the epic
- **Ask all clarifying questions in the chat before writing specs** — never embed unresolved questions in the generated documents
- When asking questions, offer 2-3 specific suggestions to guide the discussion
- Ensure features can be built incrementally and independently when possible
- Consider dependencies between features
- Focus on user value, scope, and outcomes
- Write for automated implementation with human validation
- Be concise, structured, and decisive
---
## Context Discovery
Before generating epic and feature documents, check for and read any existing gspec documents in the project root's `gspec/` folder. These provide established product context that should inform the breakdown:
1. **`gspec/profile.md`** — Product identity, target audience, value proposition, market context, and competitive landscape. Use this to align the epic with the product's mission, ensure features target the right users, and understand what's table-stakes vs. differentiating.
2. **`gspec/style.md`** — Visual design language, component patterns, and UX principles. Use this to inform UX requirements in individual feature PRDs and ensure consistency with the established design system.
3. **`gspec/stack.md`** — Technology choices and architecture. Use this to understand technical constraints that may affect feature scoping, sequencing, and dependency mapping.
4. **`gspec/practices.md`** — Development standards and conventions. Use this to understand delivery constraints, quality expectations, and testing requirements that may influence phasing.
If these files don't exist, proceed without them — they are optional context, not blockers. When they do exist, incorporate their context naturally:
- Reference the product's target users and personas from the profile rather than defining them from scratch
- Align epic and feature success metrics with metrics already established in the profile
- Ensure feature boundaries and UX requirements respect the established design system
- Let the competitive landscape inform priority levels and MVE scope
- Use technical stack constraints to inform realistic dependency mapping and sequencing
## Output Rules
- Output **multiple** Markdown documents (one per feature)
- Save each file to the `gspec/features/` folder in the root of the project (create if it doesn't exist)
- Name each file based on the feature (e.g., `user-authentication.md`, `dashboard-analytics.md`)
- Begin every output file (both epic summary and individual feature PRDs) with YAML frontmatter containing the gspec version:
```
---
gspec-version: 1.1.1
---
```
The frontmatter must be the very first content in the file, before the main heading.
- **Before generating the documents, you MUST resolve ambiguities through conversation.** Ask clarifying questions in the chat if:
- The target users are unclear
- The scope or boundaries of the epic are ambiguous
- The breakdown into features is not obvious
- Success criteria cannot be determined from the description
- Priority or sequencing is unclear
- Any assumption would materially change the shape of the specs
- **When asking questions**, offer 2-3 specific suggestions to guide the discussion
- **Do NOT embed unresolved questions in the generated specs.** All questions about scope, users, priorities, capabilities, feature boundaries, and sequencing must be resolved through conversation before writing the documents. The specs should reflect decisions, not open debates.
- Create an epic summary document at `gspec/epics/[epic-name].md` that:
- Lists all features in the epic
- Shows dependencies between features
- Provides a high-level roadmap or phasing suggestion
- Links to each individual feature PRD
- Avoid deep system architecture or low-level implementation
- No code blocks except where examples add clarity
- Clear acceptance criteria are required for each capability
- Make tradeoffs and scope explicit
### Technology Agnosticism
**IMPORTANT**: Epic and feature PRDs must remain technology-agnostic to enable implementation with different technology stacks. The `gspec/stack.md` file is the single source of truth for technology choices.
**DO use generic architectural terms:**
- ✅ "database", "data store", "persistent storage"
- ✅ "authentication service", "IAM", "identity provider"
- ✅ "API", "backend service", "server"
- ✅ "frontend", "client application", "user interface"
- ✅ "message queue", "event system", "pub/sub"
- ✅ "object storage", "file storage"
- ✅ "cache", "caching layer"
- ✅ "search index", "full-text search"
**DO NOT reference specific technologies:**
- ❌ React, Vue, Angular, Svelte
- ❌ PostgreSQL, MySQL, MongoDB, DynamoDB
- ❌ AWS Lambda, Google Cloud Functions, Azure Functions
- ❌ Redis, Memcached
- ❌ Elasticsearch, Algolia, Solr
- ❌ S3, GCS, Azure Blob Storage
- ❌ Kafka, RabbitMQ, SQS
This separation allows the same epic and feature specs to be implemented using different technology stacks by swapping the Stack file.
## Epic Summary Document Structure
**IMPORTANT**: Only include the sections listed below. Do NOT add additional sections such as "Technology Notes", "Implementation Details", "Technical Architecture", or any other custom sections. Stick strictly to this structure.
Create a file at `gspec/epics/[epic-name].md` with:
### 1. Epic Overview
- Epic name
- Executive summary
- Strategic objective
### 2. Features Breakdown
- List of all features with links to their PRDs, **using unchecked markdown checkboxes** (e.g., `- [ ] **P0**: [Feature Name](../features/feature-name.md) — Brief description`). The `gspec-implement` command will check these off (`- [x]`) as features are fully implemented, allowing incremental runs.
- Brief description of each feature
- Priority level (P0, P1, P2)
- Estimated sequencing/dependencies
### 3. Success Metrics
- Overall epic success criteria
- Key performance indicators
- How features collectively deliver value
### 4. Dependencies & Risks
- Inter-feature dependencies
- Technical dependencies
- Business risks
- Mitigation strategies
### 5. Phasing Recommendation
- Suggested build order
- Rationale for sequencing
- Minimum viable epic (MVE) scope
## Individual Feature PRD Structure
**IMPORTANT**: Only include the sections listed below. Do NOT add additional sections such as "Technology Notes", "Implementation Details", "Technical Architecture", or any other custom sections. Stick strictly to this structure.
For each feature, create a separate file in `gspec/features/[feature-name].md` with:
### 1. Overview
- Feature name
- Summary (1-2 sentences)
- Problem being solved and why it matters now
- **Parent Epic** (link to epic summary)
### 2. Users & Use Cases
- Primary users
- Key use cases (3-4 scenarios showing how users benefit)
### 3. Scope
- In-scope goals
- Out-of-scope items (things this feature explicitly won't do)
- Deferred ideas (things we may do later, but not now)
### 4. Capabilities
- What the feature provides to users, written in user-focused language
- **Priority level** for each capability (P0 = must-have, P1 = should-have, P2 = nice-to-have)
- Focus on *what* users can do, not *how* they do it — include UX expectations (empty states, error handling, key flows) as acceptance criteria on the relevant capabilities
- **Use unchecked markdown checkboxes** for each capability to enable implementation tracking (e.g., `- [ ] **P0**: User can create an account`). The `gspec-implement` command will check these off (`- [x]`) as capabilities are implemented, allowing incremental runs.
- **Each capability MUST include brief acceptance criteria** — 2-4 testable conditions that define "done" for that capability. These tell the implementing agent exactly when a capability is complete and give test writers concrete assertions. Format as a sub-list under each capability:
```
- [ ] **P0**: User can create an account
- Valid email + strong password → account is created and confirmation is sent
- Duplicate email → error message explains email is taken
- Weak password → inline validation shows password requirements
```
### 5. Dependencies
- Dependencies on other features in this epic
- External dependencies
- If none, state "None"
### 6. Assumptions & Risks
- Assumptions (what we're taking as true)
- Open questions — **only** unknowns that genuinely cannot be answered until implementation or real-world usage begins (e.g., performance thresholds pending benchmarking, exact rate limits pending load testing). Questions about scope, users, priorities, or feature design must be asked and resolved in the chat before the specs are written. If there are no open questions, omit this sub-section.
- Key risks and mitigations (brief bullet points — focus on risks that could affect implementation scope or approach)
### 7. Success Metrics
- 2-4 measurable outcomes that define whether this feature is working
## Workflow
1. **Analyze the epic description** and identify logical feature boundaries
2. **Ask clarifying questions in the chat** and wait for answers before proceeding — do not generate specs with embedded questions
3. **Break down into features** that:
- Can be built and shipped incrementally
- Deliver independent user value (when possible)
- Have clear boundaries and responsibilities
- Consider technical and business dependencies
4. **Create the epic summary** document first
5. **Generate individual feature PRDs** for each feature
6. **Ensure consistency** across all documents (terminology, user personas, metrics)
## Tone & Style
- Clear, neutral, product-led
- No fluff, no jargon
- Designed to be skimmed
- Consistent across all generated documentsRelated Skills
epic-management
Use for LARGE work requiring feature-level grouping. Creates epic tracking issues, manages related issues under a common label, tracks epic progress, and coordinates with milestones.
epic-hygiene-process
Execute systematic code quality tasks following Epic 10 hygiene standards
epic-ui-guidelines
Guide on UI/UX guidelines, accessibility, and component usage for Epic Stack
Clarify Epic/Feature/UserStory/Task ticketing guidance in SKILL
No description provided.
lisa-epic-status
Show detailed status for an epic
bgo
Automates the complete Blender build-go workflow, from building and packaging your extension/add-on to removing old versions, installing, enabling, and launching Blender for quick testing and iteration.
technical-architecture
Autonomous Staff Engineer agent that analyzes a product requirement brief, extracts non-functional requirements, and generates a comprehensive technical architecture document. Accepts an optional tech-stack-preferences.md file path. Runs end-to-end without asking questions. Use when turning product requirements into technical architecture decisions.
tdd
Use when implementing features or fixing bugs — write the test first, watch it fail, write minimal code to pass. Ensures tests verify behavior by requiring failure first.
tag-based-search
Code tagging system using @FEAT, @COMP, @TYPE tags for easy discovery and navigation. Use when adding documentation tags or searching for related code across the codebase.
SurveyMonkey Automation
Automate SurveyMonkey survey creation, response collection, collector management, and survey discovery through natural language commands
strict-user-requirements-adherence
Strictly adheres to specified user flow and game rules, making sure to follow documented features.
sre-task-refinement
Use when you have to refine subtasks into actionable plans ensuring that all corner cases are handled and we understand all the requirements.