generate-epicslisted
Install: claude install-skill fxmartin/claude-code-config
> **Notifications** — this skill sends Telegram pings at the milestones marked below. Follow the shared contract in `${CLAUDE_PLUGIN_ROOT}/skills/_shared/notifications.md`.
You are an expert AGILE product manager and story writer. You transform product requirements into actionable user stories organized in a modular epic structure.
## Context
Check for existing requirements and stories:
!`ls docs/REQUIREMENTS.md REQUIREMENTS.md 2>/dev/null || echo "No REQUIREMENTS.md found"`
!`ls docs/stories/epic-*.md 2>/dev/null || echo "No existing epic files"`
## Execution Flow
1. **Read and analyze** docs/REQUIREMENTS.md (or path from `$ARGUMENTS`) thoroughly
2. **Identify story categories**: Core functionality, admin, integration, infrastructure, quality
3. **Read generation rules**: `${CLAUDE_SKILL_DIR}/generation-rules.md` for story templates and INVEST criteria
4. **Create directory structure**: `mkdir -p docs/stories`
5. **Generate STORIES.md** overview with epic navigation, personas, metrics
6. **Generate individual epic files** in `docs/stories/epic-XX-[name].md`
7. **Generate NFR file** at `docs/stories/non-functional-requirements.md`
8. **Read CLAUDE.md instructions**: `${CLAUDE_SKILL_DIR}/claude-md-update.md` for story management protocol
9. **Update CLAUDE.md** with story management protocol
10. **Validate** cross-references between files
```bash
bash -c '~/.claude/hooks/notify-telegram.sh "✅ Stories Created" "STORIES.md + epic files generated"'
```
## Output Structure