| ํญ๋ชฉ | ๋ด์ฉ |
|---|---|
| Invoke | /product:plan |
| Category | pipeline |
| Complexity | moderate |
/product:plan โ ๋ฌด์์ยท์ด๋ป๊ฒ ๋ง๋ค์ง "์ค๊ณ๋" ๋จ๊ณ#
ํ๋ง๋๋ก#
์กฐ์ฌ์์ ๋ชจ์ ๋ด์ฉ์ ๊ฐ์ง๊ณ "๋ฌด์์, ์ด๋ป๊ฒ ๋ง๋ค์ง"๋ฅผ ๋ฌธ์๋ก ํ์ ํ๋ ๋จ๊ณ์ ๋๋ค. ์ง์ ์ง์ ๋ ๋ณธ๊ฒฉ์ ์ธ ๊ณต์ฌ๋ฅผ ์์ํ๊ธฐ ์ ์ ์ค๊ณ๋์ ์๋ฐฉ์๋ฅผ ์์ฑํ๋ ๊ฒ๊ณผ ๊ฐ์์.
๋๊ฐยท์ธ์ ์ฐ๋์#
- ๋ง๋ค ๊ธฐ๋ฅ์ ๋ฐฉํฅ์ ์ ํด์ก๊ณ , ์ด์ ๊ตฌ์ฒด์ ์ธ ๊ธฐํ์ยท์๊ตฌ์ฌํญ์ ๊ธ๋ก ์ ๋ฆฌํ๊ณ ์ถ์ ๊ฒฝ์ฐ
- PRD, ๊ธฐ์ ๋ช ์ธ, ํฉ๊ฒฉ ๊ธฐ์ค(ํ ์คํธ ์๋๋ฆฌ์ค)์ ํ ๋ฒ์ ๊ฐ์ถ๊ณ ์ถ์ ๋
- ์ ๋จ๊ณ(Specification)์ ๋ช ์ธ ๊ฒฐ๊ณผ๋ฅผ ๋ฐํ์ผ๋ก ๋ณธ๊ฒฉ์ ์ธ ์ ํ ๊ธฐํ์ ์งํํ๋ ค ํ ๋
๐ ๊ฑด๋๋ฐ์ด๋ ๋๋ ๊ฒฝ์ฐ: ์ ๋จ๊ณ(Specification)์์ ์ด๋ฏธ ์ถฉ๋ถํ ๋ช
์ธ๊ฐ ๋์ ์๋ค๋ฉด, ๋ฐ๋ก ๋ค์ ๋จ๊ณ๋ก ๋์ด๊ฐ ์ ์์ต๋๋ค. (.pipeline/{ํ๋ก์ ํธ์ด๋ฆ}.yaml์์ ์งํ ์ํ๋ฅผ ํ์ธํฉ๋๋ค.)
๋ฌด์์ ํด์ฃผ๋์#
์ ํํ ๋ฌธ์ ์ข ๋ฅ์ ๋ฐ๋ผ ์ต๋ ์ธ ๊ฐ์ ํ์ผ์ด ๋ง๋ค์ด์ง๋๋ค.
docs/prd-{ํ๋ก์ ํธ์ด๋ฆ}.mdโ PRD(์ ํ ์๊ตฌ์ฌํญ ๋ฌธ์): ๋ฌด์์ ๋ง๋ค์ง, ์ด๋ค ๊ธฐ๋ฅ์ด ํ์ํ์งdocs/tech-spec-{ํ๋ก์ ํธ์ด๋ฆ}.mdโ ๊ธฐ์ ๋ช ์ธ์: ์ด๋ป๊ฒ ๋ง๋ค์ง(์ฑ๋ฅยท๋ณด์ยท๋ฐ์ดํฐ ๊ตฌ์กฐ ๋ฑ)docs/bdd-{ํ๋ก์ ํธ์ด๋ฆ}.mdโ ํฉ๊ฒฉ ๊ธฐ์ค: "์ด๋ ๊ฒ ๋์ํ๋ฉด ํต๊ณผ"๋ฅผ ์๋๋ฆฌ์ค๋ก ์ ์ ๋ฌธ์
์ด๋ป๊ฒ ์ฐ๋์#
# ๊ธฐ๋ณธ (PRD ์์ฑ)
/product:plan
# ๋ฌธ์ ์ข
๋ฅ๋ฅผ ์ง์ ํด์ ์์ฑ
/product:plan --doc prd " ์ปค๋ฎค๋ํฐ ๊ธฐ๋ฅ "
/product:plan --doc tech-spec
--doc๋ก ๋ง๋ค ๋ฌธ์๋ฅผ ๊ณ ๋ฅผ ์ ์์ต๋๋ค โ prd(์๊ตฌ์ฌํญ), tech-spec(๊ธฐ์ ๋ช
์ธ), both(๋ ๋ค). ํฉ๊ฒฉ ๊ธฐ์ค(BDD)์ ๊ธฐ๋ณธ์ผ๋ก ํจ๊ป ํฌํจ๋๋ฉฐ, ๋นผ๊ณ ์ถ์ ๋๋ง
--bdd false๋ฅผ ๋ง๋ถ์ด์ธ์.
์์์ ๋ฌด์จ ์ผ์ด ๋ฒ์ด์ง๋์#
ํฌ๊ฒ ๋ค ๋จ๊ณ๋ก ์งํํ๋ฉฐ, ๋ง์ง๋ง์ ํ์ง ๊ฒ์ฆ(Gate)์ ํต๊ณผํด์ผ ๋๋ฉ๋๋ค.
- ์ ํ ๊ธฐํ์ ์์ฑ โ ์กฐ์ฌ ๊ฒฐ๊ณผ๋ฅผ ๋ฐํ์ผ๋ก ์ ํ ๊ฐ์, ๋ชฉํยท๋ฒ์ยท์ ์ฝ, ์ฑ๊ณต ๊ธฐ์ค์ ์ ๋ฆฌํฉ๋๋ค.
- ์์ธ ๋ฌธ์ ์์ฑ โ ๊ธฐ๋ฅยท๋น๊ธฐ๋ฅ ์๊ตฌ์ฌํญ, ์ฌ์ฉ์ ํ๋ฆ, ๋ฐ์ดํฐ ๋ชจ๋ธ ์ด์์ ๋ด์ PRD๋ ๊ธฐ์ ๋ช ์ธ๋ฅผ ์ฐ๊ณ , ์์ต ๋ชจ๋ธยท๊ฐ์น ์ ์๋ ํจ๊ป ์ ๊ฒํฉ๋๋ค.
- ์๊ตฌ์ฌํญ ๋ถ์ + ํฉ๊ฒฉ ๊ธฐ์ค โ ์๊ตฌ์ฌํญ์ด ๋ช ํํ์งยท์ถฉ๋์ ์๋์ง ํ์ธํ๊ณ ์ฐ์ ์์๋ฅผ ๋งค๊ธด ๋ค, "์ด๋ ๊ฒ ๋์ํด์ผ ํต๊ณผ"๋ฅผ Given-When-Then ์๋๋ฆฌ์ค๋ก ์ ์ต๋๋ค.
- ํ์ง ๊ฒ์ฆ(Analysis Gate) โ ์๊ตฌ์ฌํญ ๋ช ํ์ฑยท๋ฒ์ ์ ์ ์ฑยท๊ฒ์ฆ ๊ฐ๋ฅ์ฑ ๋ฑ์ ์ ์๋ก ์ฑ์ ํ๊ณ , ๊ธฐ์ค ๋ฏธ๋ฌ์ด๋ฉด ํผ๋๋ฐฑ์ ๋ฐ์ํด ๋ฌธ์๋ฅผ ๋ค์ ๋ค๋ฌ์ต๋๋ค.
๊ฒ์ฆ์ ํต๊ณผํ๋ฉด ๊ธฐํ ๋ฌธ์๊ฐ ํ์ผ๋ก ์ ์ฅ๋๊ณ , ๋ค์ ๋จ๊ณ์ธ ์ค๊ณ(/product:design) ๋ก ๋์ด๊ฐ๋๋ค.
โ๏ธ ์์ธ ์ต์ ยท์คํ ๋ช ์ธ (๊ฐ๋ฐ์ / AI ์์ด์ ํธ์ฉ)
Triggers#
- When proceeding with product planning based on Specification artifacts
- When PRD, technical specifications, and BDD scenarios need to be written
Usage#
/product:plan
/product:plan --doc prd " Community feature "
/product:plan --doc tech-specOptions#
| Option | Default | Description |
|---|---|---|
--doc | prd | Document type (prd, tech-spec, both) |
--bdd | true | Include BDD Gherkin Acceptance Criteria |
Prerequisites#
- Specification stage completed or skipped (check
.pipeline/{slug}.yaml) - Discovery/Specification artifacts auto-referenced if available
Execution Flow#
Phase 1: Product Brief#
Source: cc-product
- Product brief writing (/product:product-brief)
- Product overview based on Discovery/Specification artifacts
- Goals, scope, constraints
- Success criteria definition
Phase 2: Detailed Document Writing#
Source: cc-product, cc-product
PRD or technical specification (/product:prd or /product:tech-spec)
- Functional requirements detail
- Non-functional requirements (performance, security, accessibility)
- User flows
- Data model draft
Business model (cc-product: business-model)
- Revenue model review
- Cost structure analysis
- Value proposition summary
Phase 3: Requirements Analysis#
Source: cc-product (Analyst persona)
Requirements analysis
- Requirement clarity verification
- Ambiguity and conflict identification
- Priority assignment
BDD Acceptance Criteria
- Gherkin format scenario writing
- Given-When-Then structuring
- Edge case scenarios included
Phase 4: Analysis Gate + Plan Quality Scoring#
BMAD Analysis Gate verification:
- Requirement clarity (requirement_clarity)
- Scope appropriateness (scope_appropriateness)
- Acceptance Criteria testability (ac_testability)
Plan Quality Scoring (see cc-product/references/phase-gates.md):
- Clarity โฅ 0.6 (weight 0.25)
- Completeness โฅ 0.6 (weight 0.25)
- Specificity โฅ 0.6 (weight 0.20)
- YAGNI Compliance โฅ 0.6 (weight 0.15)
- Scope Appropriateness โฅ 0.6 (weight 0.15)
- Weighted Total โฅ 0.8
Thresholds defined in cc-product/config/thresholds.yaml.
Documents are revised with feedback if gate or quality score fails.
Artifacts#
docs/prd-{slug}.md # PRD (if selected)
docs/tech-spec-{slug}.md # Technical specification (if selected)
docs/bdd-{slug}.md # BDD scenariosAfter Completion#
- Verify Analysis Gate passed
- Update
.pipeline/{slug}.yamlstate - Present context-clear handoff:
โ
Planning stage complete (Analysis Gate PASSED). Artifacts saved:
- docs/prd-{slug}.md
- docs/tech-spec-{slug}.md
- docs/bdd-{slug}.md
**Option 1 (Recommended)**: Clear context and continue to Design
/clear
Then run: /product:design
**Option 2**: Continue in current context
Proceed directly to /product:design