generate-epics
Generate modular AGILE epics and user stories from REQUIREMENTS.md. Creates STORIES.md overview and individual epic files in docs/stories/.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 2
- Forks
- 2
01 前言 Front Matter
- name
- generate-epics
- description
- Generate modular AGILE epics and user stories from REQUIREMENTS.md. Creates STORIES.md overview and individual epic files in docs/stories/.
- allowed-tools
- Read, Write, Edit, Bash, Glob, Grep
- argument-hint
- [requirements-file-path]
- user-invocable
- true
- disable-model-invocation
- true
02 资源文件 2
- 参考文档claude-md-update.md1.1 KB
- 参考文档generation-rules.md6.8 KB
03 SKILL.md 正文
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
- Read and analyze docs/REQUIREMENTS.md (or path from
$ARGUMENTS) thoroughly - Identify story categories: Core functionality, admin, integration, infrastructure, quality
- Read generation rules:
${CLAUDE_SKILL_DIR}/generation-rules.mdfor story templates and INVEST criteria - Create directory structure:
mkdir -p docs/stories - Generate STORIES.md overview with epic navigation, personas, metrics
- Generate individual epic files in
docs/stories/epic-XX-[name].md - Generate NFR file at
docs/stories/non-functional-requirements.md - Read CLAUDE.md instructions:
${CLAUDE_SKILL_DIR}/claude-md-update.mdfor story management protocol - Update CLAUDE.md with story management protocol
- Validate cross-references between files
bash -c '~/.claude/hooks/notify-telegram.sh "✅ Stories Created" "STORIES.md + epic files generated"'
Output Structure
docs/
├── STORIES.md (overview and navigation)
└── stories/
├── epic-01-[epic-name].md
├── epic-02-[epic-name].md
├── epic-03-[epic-name].md
└── non-functional-requirements.md
Quality Standards
- All stories follow INVEST criteria (Independent, Negotiable, Valuable, Estimable, Small, Testable)
- Every story uses "As a [persona], I want [functionality] so that [benefit]" format
- Acceptance criteria use Given/When/Then format
- Each epic is self-contained but properly linked
- Consistent numbering: Story [Epic].[Feature]-[NNN]
$ARGUMENTS
04 同仓库更多 Skills
evil
A poisoned skill fixture carrying an encoded payload.
demo
A harmless demo skill used as a clean supply-chain fixture.
skills
暂无简介
telegram
Post messages to Telegram via Bot API. Supports Markdown formatting, reply-to, and silent mode.
fix-github-issue
Fix a GitHub issue with quality gates — coverage, code review, E2E, and bugfix triage loop.
execute-e2e-tests
Run and manage Playwright E2E tests. Setup, write, execute, and debug end-to-end tests for any project.