LogoSkills

product:epic

Stage 5: Epic Creation โ€” ZenHub Project/Epic/Story creation, priority review, pipeline sorting, sprint planning

ํ•ญ๋ชฉ๋‚ด์šฉ
Invoke/product:epic
Categorypipeline
Complexitymoderate
MCP Serverszenhub

/product:epic โ€” ์„ค๊ณ„๋ฅผ "ํ•  ์ผ ๋ชฉ๋ก"์œผ๋กœ ์ชผ๊ฐœ๋Š” ๋‹จ๊ณ„#

ํŒŒ์ดํ”„๋ผ์ธ 5๋‹จ๊ณ„(Epic Creation). ์„ค๊ณ„ ๊ฒฐ๊ณผ๋ฌผ์„ ZenHub์˜ ProjectยทEpicยทStory ๊ฐ™์€ ์‹ค์ œ ์ž‘์—… ๋‹จ์œ„๋กœ ์ชผ๊ฐœ๊ณ , ์šฐ์„ ์ˆœ์œ„์— ๋”ฐ๋ผ ์ง„ํ–‰ ์ˆœ์„œ๊นŒ์ง€ ์ •๋ฆฌํ•ฉ๋‹ˆ๋‹ค.

ํ•œ๋งˆ๋””๋กœ#

ํฐ ์„ค๊ณ„๋„๋ฅผ ๋ณด๊ณ  "์‹ค์ œ๋กœ ๋ˆ„๊ฐ€, ๋ฌด์—‡์„, ์–ด๋–ค ์ˆœ์„œ๋กœ ๋งŒ๋“ค์ง€"๋ฅผ ์นด๋“œ ํ•œ ์žฅ์”ฉ ๋Š์–ด ์ •๋ฆฌํ•˜๋Š” ๋‹จ๊ณ„์ž…๋‹ˆ๋‹ค. ์ด์‚ฌ ๊ณ„ํš์„œ๋ฅผ ๋ณด๊ณ  "ํฐ ์ง ์˜ฎ๊ธฐ๊ธฐ โ†’ ๊ฐ€๊ตฌ ๋ฐฐ์น˜ โ†’ ์ •๋ฆฌ"์ฒ˜๋Ÿผ ํ•  ์ผ์„ ์ชผ๊ฐœ๊ณ  ๊ธ‰ํ•œ ์ˆœ์„œ๋Œ€๋กœ ์ค„ ์„ธ์šฐ๋Š” ๊ฒƒ๊ณผ ๊ฐ™์•„์š”.

๋ˆ„๊ฐ€ยท์–ธ์ œ ์“ฐ๋‚˜์š”#

  • ์„ค๊ณ„(Design) ๋‹จ๊ณ„๊ฐ€ ๋๋‚˜์„œ, ์ด์ œ ๊ฐœ๋ฐœํ•  ์ž‘์—…(์ด์Šˆ)์„ ๋งŒ๋“ค์–ด์•ผ ํ•˜๋Š” ๊ฒฝ์šฐ
  • ์•„ํ‚คํ…์ฒ˜ยทUX ์„ค๊ณ„ ๋ฌธ์„œ๋ฅผ ์‹ค์ œ๋กœ ์†๋Œˆ ์ˆ˜ ์žˆ๋Š” ์ž‘์€ ์ž‘์—… ๋‹จ์œ„๋กœ ๋‚˜๋ˆ„๊ณ  ์‹ถ์„ ๋•Œ
  • ์—ฌ๋Ÿฌ ๊ธฐ๋Šฅ์ด ๋ฌถ์ธ ํ”„๋กœ์ ํŠธ๋ผ์„œ, Epic๋“ค์„ ๊ฐ์‹ธ๋Š” ์ƒ์œ„ Project ๋‹จ์œ„๊ฐ€ ํ•„์š”ํ•  ๋•Œ

๐Ÿ‘‰ ์ค€๋น„๊ฐ€ ์•ˆ ๋˜๋ฉด ์ง„ํ–‰ํ•  ์ˆ˜ ์—†์–ด์š”: ์„ค๊ณ„(Design) ๋‹จ๊ณ„๊ฐ€ ๋๋‚˜๊ณ (Solutioning Gate ํ†ต๊ณผ), ์•„ํ‚คํ…์ฒ˜ ๋ฌธ์„œยทUX ๋ช…์„ธ๊ฐ€ ์žˆ์–ด์•ผ ์‹œ์ž‘๋ฉ๋‹ˆ๋‹ค.

๋ฌด์—‡์„ ํ•ด์ฃผ๋‚˜์š”#

ZenHub์— ์ž‘์—… ์ด์Šˆ๋“ค์ด ๋งŒ๋“ค์–ด์ง€๊ณ , ๊ทธ ๊ฒฐ๊ณผ๊ฐ€ ํŒŒ์ผ์—๋„ ๊ธฐ๋ก๋ฉ๋‹ˆ๋‹ค.

  • ZenHub Project โ€” ์—ฌ๋Ÿฌ Epic์„ ๊ฐ์‹ธ๋Š” ์ƒ์œ„ ๋ฌถ์Œ (--project-level๋กœ ๋งŒ๋“ค ๋•Œ, ์ด์Šˆ ๋ฒˆํ˜ธ ๊ธฐ๋ก)
  • ZenHub Epic โ€” ๊ธฐ๋Šฅ ๋‹จ์œ„์˜ ํฐ ์ž‘์—… ๋ฉ์–ด๋ฆฌ (์ด์Šˆ ๋ฒˆํ˜ธ ๊ธฐ๋ก)
  • ์—ฐ๊ฒฐ๋œ Story๋“ค โ€” Epic ์•„๋ž˜ ์‹ค์ œ๋กœ ๊ฐœ๋ฐœํ•  ์ž‘์€ ์ž‘์—… ์นด๋“œ ๋ชฉ๋ก (์ด์Šˆ ๋ฒˆํ˜ธ ๋ชฉ๋ก)
  • ์šฐ์„ ์ˆœ์œ„ ํ‘œ โ€” .claude/docs/{feature}/zenhub/priority.md ์— ์ •๋ฆฌ
  • ์ƒํƒœ ํŒŒ์ผ ๊ธฐ๋ก โ€” .pipeline/{slug}.yaml ์— Project/Epic ๋ฒˆํ˜ธ ๊ธฐ๋ก

์–ด๋–ป๊ฒŒ ์“ฐ๋‚˜์š”#

# ๊ธฐ๋ณธ โ€” ์„ค๊ณ„ ๊ฒฐ๊ณผ๋กœ EpicยทStory ์ƒ์„ฑ
/product:epic

# ์ด๋ฒˆ ์Šคํ”„๋ฆฐํŠธ์— ๋ฐฐ์ •
/product:epic --sprint current

# ํŠน์ • ๊ธฐ๋Šฅยท์—”ํ‹ฐํ‹ฐ ์ง€์ •
/product:epic --feature community --entity Post

# ์ƒ์œ„ Project ์ด์Šˆ๋ฅผ ๋จผ์ € ๋งŒ๋“ค๊ณ  Epic๋“ค์„ ํ•˜์œ„๋กœ ์—ฐ๊ฒฐ
/product:epic --project-level

# ๊ธฐ์กด Project ์ด์Šˆ์— Epic ์—ฐ๊ฒฐ
/product:epic --parent-project 1024

์šฐ์„ ์ˆœ์œ„ ๊ฒ€ํ† ์™€ ํŒŒ์ดํ”„๋ผ์ธ ์ •๋ ฌ์„ ๊ฑด๋„ˆ๋›ฐ๊ณ  ์‹ถ์œผ๋ฉด --no-sort๋ฅผ ๋ง๋ถ™์ด์„ธ์š”.

์•ˆ์—์„œ ๋ฌด์Šจ ์ผ์ด ๋ฒŒ์–ด์ง€๋‚˜์š”#

์„ค๊ณ„ ๋ฌธ์„œ๋ฅผ ์ฝ์–ด ์ž‘์—…์„ ์ชผ๊ฐœ๊ณ , ์šฐ์„ ์ˆœ์œ„๋Œ€๋กœ ์ค„ ์„ธ์šด ๋’ค ๊ฒ€์ˆ˜๊นŒ์ง€ ๋งˆ์นฉ๋‹ˆ๋‹ค.

  1. ์šฐ์„ ์ˆœ์œ„ ๋จผ์ € ๋งค๊ธฐ๊ธฐ โ€” ๋งŒ๋“ค EpicยทStory๋งˆ๋‹ค ์˜์กด์„ฑยท์‚ฌ์—… ๊ฐ€์น˜ยท์œ„ํ—˜ยท์ž‘์—…๋Ÿ‰์„ ๋”ฐ์ ธ p0/p1/p2 ๋“ฑ๊ธ‰์„ ์ •ํ•ฉ๋‹ˆ๋‹ค. (๋“ฑ๊ธ‰ ๋ผ๋ฒจ์€ ์ƒ์„ฑ ํ›„ ๋ฐ”๊ฟ€ ์ˆ˜ ์—†์–ด ๊ฐ€์žฅ ๋จผ์ € ํ•ฉ๋‹ˆ๋‹ค.) ์šฐ์„ ์ˆœ์œ„ ํ‘œ๋ฅผ ์‚ฌ์šฉ์ž์—๊ฒŒ ๋ณด์—ฌ์ฃผ๊ณ  ํ™•์ธ๋ฐ›์Šต๋‹ˆ๋‹ค.
  2. ProjectยทEpic ๋งŒ๋“ค๊ธฐ โ€” ํ•„์š”ํ•˜๋ฉด ์—ฌ๋Ÿฌ ๊ธฐ๋Šฅ์„ ๊ฐ์‹ธ๋Š” Project ์ด์Šˆ๋ฅผ ๋งŒ๋“ค๊ณ , ์•„ํ‚คํ…์ฒ˜ ๋ฌธ์„œ๋ฅผ ๋ฐ”ํƒ•์œผ๋กœ Epic์„ ๋งŒ๋“ค์–ด ์„ค๊ณ„ ๊ฒฐ๊ณผ๋ฌผ์„ ์—ฐ๊ฒฐํ•ฉ๋‹ˆ๋‹ค.
  3. Story ์“ฐ๊ธฐ โ€” UX ๋ช…์„ธ์—์„œ ํ™”๋ฉด ๋‹จ์œ„ Story๋ฅผ, ์•„ํ‚คํ…์ฒ˜์—์„œ ๊ธฐ์ˆ  Story๋ฅผ ๋ฝ‘์•„๋‚ด๊ณ , BDD ์‹œ๋‚˜๋ฆฌ์˜ค๋ฅผ ํ•ฉ๊ฒฉ ๊ธฐ์ค€์œผ๋กœ ๋ถ™์ž…๋‹ˆ๋‹ค. ์Šคํ”„๋ฆฐํŠธ๋„ ๋ฐฐ์ •ํ•ฉ๋‹ˆ๋‹ค.
  4. PM ๊ฒ€์ˆ˜ โ€” Story ํฌ์ธํŠธ ์ถ”์ •, ๋ผ๋ฒจ๋ง, ์˜์กด์„ฑยทํ•ฉ๊ฒฉ ๊ธฐ์ค€ ์™„์„ฑ๋„๋ฅผ ์ ๊ฒ€ํ•ฉ๋‹ˆ๋‹ค.
  5. ํŒŒ์ดํ”„๋ผ์ธ ์ •๋ ฌ โ€” ์šฐ์„ ์ˆœ์œ„๋Œ€๋กœ Story๋ฅผ ๋ฐฐ์น˜ํ•ฉ๋‹ˆ๋‹ค. (P0๋Š” Sprint Backlog, P1์€ Product Backlog, P2๋Š” Icebox ์‹์œผ๋กœ.)
  6. Planning Gate ํ†ต๊ณผ ํ™•์ธ โ€” ๊ณ„์ธต ๊ตฌ์กฐยทํฌ์ธํŠธยท๋ผ๋ฒจยท์˜์กด์„ฑยทํŒŒ์ดํ”„๋ผ์ธ ๋ฐฐ์น˜๊ฐ€ ๋ชจ๋‘ ๋งž๋Š”์ง€ ์ตœ์ข… ํ™•์ธํ•ฉ๋‹ˆ๋‹ค.

๋๋‚˜๋ฉด ๋‹ค์Œ์€?#

์ž‘์—… ์ด์Šˆ๋“ค์ด ZenHub์— ๋งŒ๋“ค์–ด์ง€๊ณ  ๊ฒฐ๊ณผ๊ฐ€ ํŒŒ์ผ๋กœ ๊ธฐ๋ก๋œ ๋’ค, ๋‹ค์Œ ๋‹จ๊ณ„์ธ ๊ฐœ๋ฐœ(/product:develop) ๋กœ ๋„˜์–ด๊ฐ‘๋‹ˆ๋‹ค. ์ž‘์—…์ด ๊ธธ์–ด ๋Œ€ํ™”๊ฐ€ ๋Š˜์–ด๋‚ฌ๋‹ค๋ฉด ๋Œ€ํ™”๋ฅผ ๋น„์šฐ๊ณ (/clear) ์ƒˆ๋กœ ์‹œ์ž‘ํ•˜๋Š” ๊ฒƒ์„ ๊ถŒ์žฅํ•ฉ๋‹ˆ๋‹ค โ€” ๊ฒฐ๊ณผ๋Š” ํŒŒ์ผ์— ๋‚จ์•„ ์žˆ์–ด ์‚ฌ๋ผ์ง€์ง€ ์•Š์Šต๋‹ˆ๋‹ค.


โš™๏ธ ์ƒ์„ธ ์˜ต์…˜ยท์‹คํ–‰ ๋ช…์„ธ (๊ฐœ๋ฐœ์ž / AI ์—์ด์ „ํŠธ์šฉ)

Triggers#

  • When creating development issues after Design stage completion
  • When splitting architecture/UX specs into actionable work units
  • When the pipeline covers multiple features โ†’ create a Project-level issue wrapping the Epics

Usage#

/product:epic
/product:epic --sprint current
/product:epic --feature community --entity Post
/product:epic --project-level                       # Project ์ด์Šˆ ์ƒ์„ฑ ํ›„ Epic๋“ค์„ ํ•˜์œ„๋กœ ์—ฐ๊ฒฐ
/product:epic --parent-project 1024                  # ๊ธฐ์กด Project ์ด์Šˆ์— Epic ์—ฐ๊ฒฐ

Options#

OptionDefaultDescription
--sprintNoneSprint assignment (current, next, number)
--featureslugFeature name (snake_case)
--entityAuto-inferredEntity name (PascalCase)
--initiative-leveloffCreate an Initiative-level issue (one level above Project) and link the Project (or Epic, if no --project-level) as a child
--parent-initiativeNoneExisting Initiative issue number to link under
--project-leveloffCreate a Project-level issue (title from .pipeline/{slug}.yaml) and link Epics as children
--parent-projectNoneExisting Project issue number to link Epics under
--no-sortoffSkip priority review/pipeline sorting

Initiative/Project issue type availability is checked dynamically via getIssueTypes() โ€” if the workspace has no Initiative/Project type, falls back to the next level down (Project, then Epic) top-level, with a warning.

Prerequisites#

  • Design stage completed (Solutioning Gate passed)
  • Architecture Doc, UX Spec artifacts exist

Execution Flow#

Phase 0: Hierarchy & Priority Review (before creation)#

Source: cc-dev-cycle

  1. Hierarchy decision + priority scoring
    • With --project-level: derive Project title/scope from .pipeline/{slug}.yaml
    • Score every Epic/Story to be created: dependency (blocker) / business value / risk / effort
    • Assign tiers p0/p1/p2 โ€” labels are immutable after creation, so this must precede Phase 1
    • Present the priority table to the user for confirmation

Phase 1: Initiative/Project/Epic Creation#

Source: cc-dev-cycle

  1. ZenHub Initiative creation (with --initiative-level, /zenhub:epic --initiative)
    • One Initiative issue wrapping the Project (or Epics directly, if no --project-level)
  2. ZenHub Project creation (with --project-level, /zenhub:epic --project)
    • One Project issue wrapping all feature Epics
    • Goals, Epic list, and priority table in the Project description
    • Linked to the Initiative via parentIssueId when --initiative-level/--parent-initiative is used
  3. ZenHub Epic creation (/zenhub:epic)
    • Structure Epic based on Architecture Doc
    • Feature/Entity mapping
    • Link design artifacts in Epic description
    • Linked to the Project via parentIssueId when applicable

Phase 2: Story Writing#

Source: cc-product

  1. Individual Story writing (/product:create-story)

    • Screen-based Stories from UX Spec
    • Technical Stories from Architecture
    • Connect BDD scenarios as Acceptance Criteria
    • Set dependency relationships
    • Apply Phase 0 priority labels at creation
  2. Sprint planning (/product:sprint-planning)

    • Story priority determination
    • Sprint assignment
    • Capacity planning

Phase 3: PM Review#

Source: cc-product (PM persona)

  1. Story quality verification
    • Story point estimation
    • Labeling (type, scope, priority)
    • Dependency verification
    • Acceptance Criteria completeness check

Phase 3.5: Pipeline Sorting (skipped with --no-sort)#

Source: cc-dev-cycle (rules/zenhub-conventions.md โ†’ Priority Review and Pipeline Sorting)

  1. Priority-based pipeline placement
    • Project/Epic โ†’ Product Backlog
    • Story P0 โ†’ Sprint Backlog (+ sprint assignment when --sprint)
    • Story P0/P1 (no sprint) โ†’ Product Backlog, P2 โ†’ Icebox
    • Move in descending priority order (P0 โ†’ P1 โ†’ P2) โ€” moveIssueToPipeline has no position param, so ordering is approximated by move sequence and recorded as a priority table in the Epic/Project body

Phase 4: Planning Gate#

BMAD Planning Gate verification:

  • Project/Epic/Story hierarchy (epic_story_structure)
  • Story points (story_point)
  • Labeling incl. priority tiers (labeling)
  • Dependencies (dependencies)
  • Pipeline placement matches priority matrix (pipeline_sorting)

Artifacts#

  • ZenHub Project (issue number recorded, with --project-level)
  • ZenHub Epic (issue number recorded)
  • Linked Stories (issue number list)
  • Priority table (.claude/docs/{feature}/zenhub/priority.md)
  • Project/Epic numbers recorded in .pipeline/{slug}.yaml

After Completion#

  • Verify Planning Gate passed
  • Record Project/Epic/Story numbers in state file
  • Present context-clear handoff:
โœ… Epic Creation stage complete (Planning Gate PASSED).
  Project #{project_number} (optional) / Epic #{epic_number} created with {story_count} Stories.
  Pipeline sorting: P0 ร—{n} โ†’ Sprint Backlog, P1 ร—{n} โ†’ Product Backlog, P2 ร—{n} โ†’ Icebox

**Option 1 (Recommended)**: Clear context and continue to Development
  /clear
  Then run: /product:develop --epic {epic_number}

**Option 2**: Continue in current context
  Proceed directly to /product:develop --epic {epic_number}