LogoSkills

pipeline

Project pipeline orchestration (Discovery โ†’ Launch, 7 stages). Use when running /product stages, checking pipeline status, or orchestrating the full product lifecycle.

Pipeline Orchestrator#

ํ•œ๋งˆ๋””๋กœ (๋น„๊ฐœ๋ฐœ์ž์šฉ)#

์ด ๋ฌธ์„œ๋Š” ์ œํ’ˆ์„ ์ฒ˜์Œ ์•„์ด๋””์–ด๋ถ€ํ„ฐ ์ถœ์‹œ๊นŒ์ง€ ๋งŒ๋“œ๋Š” ๊ณผ์ •์„, ๋งˆ์น˜ ๊ณต์žฅ์˜ ์ปจ๋ฒ ์ด์–ด ๋ฒจํŠธ์ฒ˜๋Ÿผ 7๊ฐœ์˜ ์ •ํ•ด์ง„ ๋‹จ๊ณ„(๋ฐœ๊ฒฌ โ†’ ์ถœ์‹œ)๋กœ ์ž๋™ ์ง„ํ–‰ํ•ด ์ฃผ๋Š” "์ด๊ด„ ์ง„ํ–‰์ž(orchestrator)" ์„ค๋ช…์„œ์ž…๋‹ˆ๋‹ค. ์š”๋ฆฌ์— ๋น„์œ ํ•˜๋ฉด, ์žฌ๋ฃŒ ์ค€๋น„๋ถ€ํ„ฐ ์†์งˆยท์กฐ๋ฆฌยทํ”Œ๋ ˆ์ดํŒ…ยท์„œ๋น™๊นŒ์ง€์˜ ์ˆœ์„œ๋ฅผ ์ •๋ฆฌํ•ด ๋‘” ๋ ˆ์‹œํ”ผ์ด์ž, ๊ฐ ๋‹จ๊ณ„๊ฐ€ ๋๋‚  ๋•Œ๋งˆ๋‹ค "๋‹ค์Œ ๋‹จ๊ณ„๋กœ ๋„˜์–ด๊ฐ€๋„ ๋  ๋งŒํผ ์ž˜ ๋๋Š”์ง€" ๊ฒ€์‚ฌํ•˜๋Š” ์ฒดํฌํฌ์ธํŠธ(gate)๋ฅผ ๋‘์–ด ํ’ˆ์งˆ์„ ์ง€ํ‚ค๋Š” ๋งค๋‹ˆ์ € ์—ญํ• ์„ ํ•ฉ๋‹ˆ๋‹ค. ๊ฐ ๋‹จ๊ณ„์˜ ๊ฒฐ๊ณผ๋ฌผ(artifact)์€ ํŒŒ์ผ๋กœ ์ฐจ๊ณก์ฐจ๊ณก ์ €์žฅ๋˜๋ฏ€๋กœ, ์ค‘๊ฐ„์— ๋Œ€ํ™”๋ฅผ ์ƒˆ๋กœ ์‹œ์ž‘ํ•ด๋„ ์ž‘์—… ๋‚ด์šฉ์ด ์‚ฌ๋ผ์ง€์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ๊ฐœ๋ฐœ์ž๊ฐ€ ์•„๋‹ˆ์–ด๋„ "์ง€๊ธˆ ์–ด๋А ๋‹จ๊ณ„๊นŒ์ง€ ์™”๊ณ , ๋ฌด์—‡์ด ๋งŒ๋“ค์–ด์กŒ๋Š”์ง€"๋ฅผ ํ•œ๋ˆˆ์— ๋”ฐ๋ผ๊ฐˆ ์ˆ˜ ์žˆ๋„๋ก ๋•๋Š” ์•ˆ๋‚ด์„œ๋ผ๊ณ  ๋ณด์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค.

๋ฌด์—‡์„ยท์–ธ์ œ (๋น„๊ฐœ๋ฐœ์ž์šฉ)#

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

  • ์ œํ’ˆ์„ ๋งŒ๋“œ๋Š” ์ „ ๊ณผ์ •์„ 7๋‹จ๊ณ„(๋ฐœ๊ฒฌ โ†’ ์‚ฌ์–‘ ์ •์˜ โ†’ ๊ธฐํš โ†’ ์„ค๊ณ„ โ†’ ๋ผˆ๋Œ€ ๋งŒ๋“ค๊ธฐ โ†’ ์ผ๊ฐ ์ƒ์„ฑ โ†’ ๊ฐœ๋ฐœ โ†’ ์ถœ์‹œ)๋กœ ๋‚˜๋ˆ  ์ˆœ์„œ๋Œ€๋กœ ์ž๋™์œผ๋กœ ์ง„ํ–‰ํ•ด ์ค๋‹ˆ๋‹ค.
  • ๊ฐ ๋‹จ๊ณ„๋งˆ๋‹ค ์•Œ๋งž์€ ๋„๊ตฌ(ํ”Œ๋Ÿฌ๊ทธ์ธ)๋ฅผ ์•Œ์•„์„œ ๋ถˆ๋Ÿฌ์™€ ์ผ์„ ์‹œํ‚ค๊ณ , ๊ทธ ๋‹จ๊ณ„์˜ ๊ฒฐ๊ณผ๋ฌผ์„ docs/ ํด๋”์— ํŒŒ์ผ๋กœ ์ €์žฅํ•ด ๋‘ก๋‹ˆ๋‹ค.
  • ๋‹จ๊ณ„๋ฅผ ๋„˜์–ด๊ฐ€๊ธฐ ์ „์— "์ถฉ๋ถ„ํžˆ ์ž˜ ๋๋Š”์ง€" ๊ฒ€์‚ฌํ•˜๋Š” ๊ด€๋ฌธ(gate)์„ ๋‘์–ด ํ’ˆ์งˆ์„ ์ฑ™๊ธฐ๊ณ , ์•ž ๋‹จ๊ณ„์˜ ๊ฒฐ๊ณผ๋ฅผ ๋‹ค์Œ ๋‹จ๊ณ„๋กœ ์ž๋™์œผ๋กœ ๋„˜๊ฒจ ์ค๋‹ˆ๋‹ค.
  • ํ”„๋กœ์ ํŠธ๊ฐ€ ์ž‘์œผ๋ฉด ๋ถˆํ•„์š”ํ•œ ๋‹จ๊ณ„๋Š” ๊ฑด๋„ˆ๋›ฐ์ž๊ณ  ์ œ์•ˆํ•˜๊ณ , ๊ฑด๋„ˆ๋›ธ ๋•Œ๋Š” ํ•ญ์ƒ ์‚ฌ์šฉ์ž์—๊ฒŒ ๋จผ์ € ํ™•์ธํ•ฉ๋‹ˆ๋‹ค.
  • ์ง€๊ธˆ ์–ด๋А ๋‹จ๊ณ„๊นŒ์ง€ ์™”๋Š”์ง€, ๋ฌด์—‡์ด ๋งŒ๋“ค์–ด์กŒ๋Š”์ง€ ํ•œ๋ˆˆ์— ๋ณด์—ฌ ์ฃผ๋Š” ์ง„ํ–‰ ํ˜„ํ™ฉํŒ์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.

์–ธ์ œ ์ž‘๋™ํ•˜๋‚˜์š”

  • "ํ”„๋กœ์ ํŠธ ์‹œ์ž‘", "์ƒˆ ํ”„๋กœ์ ํŠธ", "์ „์ฒด ํŒŒ์ดํ”„๋ผ์ธ" ๊ฐ™์€ ๋ง์„ ํ–ˆ์„ ๋•Œ
  • /product ๋ช…๋ น์„ ์‹คํ–‰ํ–ˆ์„ ๋•Œ
  • ๋ถ„์„ โ†’ ์‚ฌ์–‘ ๊ฒ€์ฆ โ†’ ๊ธฐํš โ†’ ์„ค๊ณ„ โ†’ ๊ฐœ๋ฐœ โ†’ ์ถœ์‹œ๊นŒ์ง€ ์ „์ฒด ํ๋ฆ„์ด ํ•„์š”ํ•  ๋•Œ
  • ํฉ์–ด์ ธ ์žˆ๋Š” ์—ฌ๋Ÿฌ ๋„๊ตฌ(ํ”Œ๋Ÿฌ๊ทธ์ธ)๋ฅผ ํ•˜๋‚˜์˜ ํ๋ฆ„์œผ๋กœ ๋ฌถ์–ด ์ง„ํ–‰ํ•ด์•ผ ํ•  ๋•Œ

ํ•ต์‹ฌ ์šฉ์–ด ์‚ฌ์ „ (๋น„๊ฐœ๋ฐœ์ž์šฉ)#

์šฉ์–ด์‰ฌ์šด ์„ค๋ช…
orchestration / orchestrator ์—ฌ๋Ÿฌ ๋„๊ตฌ์™€ ๋‹จ๊ณ„๋ฅผ ํ•˜๋‚˜์˜ ํ๋ฆ„์œผ๋กœ ๋ฌถ์–ด ์ˆœ์„œ๋Œ€๋กœ ์ž๋™ ์ง„ํ–‰์‹œํ‚ค๋Š” "์ด๊ด„ ์ง€ํœ˜" ์—ญํ• . ์˜ค์ผ€์ŠคํŠธ๋ผ ์ง€ํœ˜์ž๊ฐ€ ์—ฌ๋Ÿฌ ์—ฐ์ฃผ์ž๋ฅผ ํ•œ ๊ณก์œผ๋กœ ๋ชจ์œผ๋Š” ๊ฒƒ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.
slug ํ”„๋กœ์ ํŠธ๋ฅผ ๊ฐ€๋ฆฌํ‚ค๋Š” ์งง๊ณ  ๋‹จ์ˆœํ•œ ์ด๋ฆ„ํ‘œ. ์˜ˆ๋ฅผ ๋“ค์–ด "Community Feature"๋ฅผ community ์ฒ˜๋Ÿผ ์ปดํ“จํ„ฐ๊ฐ€ ๋‹ค๋ฃจ๊ธฐ ์‰ฌ์šด ํ˜•ํƒœ๋กœ ์ค„์ธ ์‹๋ณ„์ž์ž…๋‹ˆ๋‹ค.
kebab-case ๋‹จ์–ด ์‚ฌ์ด๋ฅผ ๋„์–ด์“ฐ๊ธฐ ๋Œ€์‹  ๋ถ™์ž„ํ‘œ(-)๋กœ ์ž‡๊ณ  ๋ชจ๋‘ ์†Œ๋ฌธ์ž๋กœ ์“ฐ๋Š” ํ‘œ๊ธฐ ๋ฐฉ์‹. "๊ผฌ์น˜(kebab)"์— ๋‹จ์–ด๋ฅผ ๊ฟฐ๋“ฏ ์ด์–ด ๋ถ™์—ฌ์„œ ๋ถ™์€ ์ด๋ฆ„์ž…๋‹ˆ๋‹ค. (์˜ˆ: new-project )
artifact (์‚ฐ์ถœ๋ฌผ) ๊ฐ ๋‹จ๊ณ„๋ฅผ ๊ฑฐ์น˜๋ฉฐ ๋งŒ๋“ค์–ด์ ธ ํŒŒ์ผ๋กœ ๋‚จ๋Š” ๊ฒฐ๊ณผ๋ฌผ. ๋ฌธ์„œ, ์‚ฌ์–‘์„œ, ์„ค๊ณ„๋„ ๋“ฑ์ด ์—ฌ๊ธฐ ํ•ด๋‹นํ•˜๋ฉฐ docs/ ํด๋”์— ์ €์žฅ๋ฉ๋‹ˆ๋‹ค.
gate (๊ฒŒ์ดํŠธ/๊ด€๋ฌธ)๋‹ค์Œ ๋‹จ๊ณ„๋กœ ๋„˜์–ด๊ฐ€๊ธฐ ์ „์— "์ถฉ๋ถ„ํžˆ ์ž˜ ๋๋Š”์ง€" ํ™•์ธํ•˜๋Š” ํ’ˆ์งˆ ๊ฒ€์‚ฌ ์ง€์ . ํ†ต๊ณผํ•ด์•ผ๋งŒ ๋‹ค์Œ์œผ๋กœ ์ง„ํ–‰ํ•  ์ˆ˜ ์žˆ๋Š” ๊ด€๋ฌธ์ž…๋‹ˆ๋‹ค.
BMAD Level (๋ ˆ๋ฒจ 0~4) ํ”„๋กœ์ ํŠธ์˜ ๊ทœ๋ชจ์™€ ๋ณต์žก๋„๋ฅผ ์ˆซ์ž๋กœ ๋‚˜๋ˆˆ ๋“ฑ๊ธ‰. ์ˆซ์ž๊ฐ€ ๋‚ฎ์œผ๋ฉด(0~1) ์ž‘์€ ๊ธฐ๋Šฅ ์ถ”๊ฐ€, ๋†’์œผ๋ฉด ํฐ ํ”„๋กœ์ ํŠธ๋ฅผ ๋œปํ•˜๋ฉฐ, ์–ด๋–ค ๋‹จ๊ณ„๋ฅผ ๊ฑด๋„ˆ๋›ธ์ง€ ํŒ๋‹จํ•˜๋Š” ๊ธฐ์ค€์ด ๋ฉ๋‹ˆ๋‹ค.
Seed spec (์‹œ๋“œ ์‚ฌ์–‘)ํ”„๋กœ์ ํŠธ์˜ ํ•ต์‹ฌ ์š”๊ตฌ์‚ฌํ•ญ์„ ์ฒ˜์Œ์œผ๋กœ ๋˜๋ ทํ•˜๊ฒŒ ์ •๋ฆฌํ•ด ๋‘” "์”จ์•—" ๋ฌธ์„œ. ์ดํ›„ ๋ชจ๋“  ์„ค๊ณ„์™€ ๊ฐœ๋ฐœ์ด ์—ฌ๊ธฐ์„œ ์ž๋ผ๋‚ฉ๋‹ˆ๋‹ค.
Socratic (์†Œํฌ๋ผํ…Œ์Šค์‹ ์ธํ„ฐ๋ทฐ)๊ผฌ๋ฆฌ์— ๊ผฌ๋ฆฌ๋ฅผ ๋ฌด๋Š” ์งˆ๋ฌธ์„ ๋˜์ ธ ์ˆจ์–ด ์žˆ๋Š” ์š”๊ตฌ์‚ฌํ•ญ๊ณผ ๊ฐ€์ •์„ ๋„์ง‘์–ด๋‚ด๋Š” ๋Œ€ํ™” ๋ฐฉ์‹.
PRDProduct Requirements Document(์ œํ’ˆ ์š”๊ตฌ์‚ฌํ•ญ ๋ฌธ์„œ). ๋ฌด์—‡์„, ์™œ, ์–ด๋–ป๊ฒŒ ๋งŒ๋“ค์ง€๋ฅผ ์ •๋ฆฌํ•œ ์ œํ’ˆ์˜ ์„ค๊ณ„ ์ฒญ์‚ฌ์ง„์ž…๋‹ˆ๋‹ค.
BDD Acceptance Criteria Behavior-Driven Development(ํ–‰์œ„ ์ฃผ๋„ ๊ฐœ๋ฐœ)์—์„œ "์ด ๊ธฐ๋Šฅ์ด ์ด๋ ‡๊ฒŒ ๋™์ž‘ํ•˜๋ฉด ํ•ฉ๊ฒฉ"์ด๋ผ๊ณ  ๋ฏธ๋ฆฌ ์ •ํ•ด ๋‘๋Š” ํ•ฉ๊ฒฉ ๊ธฐ์ค€.
Epic (์—ํ”ฝ)์—ฌ๋Ÿฌ ์ž‘์€ ์ž‘์—…(Story)์„ ํ•˜๋‚˜๋กœ ๋ฌถ์€ ํฐ ๋‹จ์œ„์˜ ์ผ๊ฐ. ์ฑ…์œผ๋กœ ์น˜๋ฉด "์žฅ(็ซ )"์— ํ•ด๋‹นํ•ฉ๋‹ˆ๋‹ค.
Story (์Šคํ† ๋ฆฌ)Epic์„ ์ž˜๊ฒŒ ๋‚˜๋ˆˆ ์‹ค์ œ ๊ฐœ๋ฐœ ์ž‘์—… ๋‹จ์œ„. ์ฑ…์œผ๋กœ ์น˜๋ฉด ํ•œ "์žฅ" ์•ˆ์˜ ๊ฐœ๋ณ„ ์ด์•ผ๊ธฐ/ํ•ญ๋ชฉ์— ํ•ด๋‹นํ•ฉ๋‹ˆ๋‹ค.
DoD (Definition of Done)"์ด ์ž‘์—…์ด ๋๋‚ฌ๋‹ค๊ณ  ์ธ์ •ํ•˜๋Š” ์กฐ๊ฑด". ๋ฌด์—‡์„ ์ถฉ์กฑํ•ด์•ผ ์™„๋ฃŒ๋กœ ๋ณผ์ง€ ๋ฏธ๋ฆฌ ์ •์˜ํ•œ ๊ธฐ์ค€์ž…๋‹ˆ๋‹ค.
persona (ํŽ˜๋ฅด์†Œ๋‚˜)๊ฐ ๋‹จ๊ณ„๋ฅผ ๊ฒ€ํ† ํ•˜๋Š” ๊ฐ€์ƒ์˜ ์ „๋ฌธ๊ฐ€ ์—ญํ• (๋ถ„์„๊ฐ€, ์•„ํ‚คํ…ํŠธ, PM ๋“ฑ). ์‹ค์ œ ์‚ฌ๋žŒ ๋Œ€์‹  ๊ทธ ๊ด€์ ์œผ๋กœ ๊ฒฐ๊ณผ๋ฌผ์„ ์ ๊ฒ€ํ•ฉ๋‹ˆ๋‹ค.
context-clear handoff ํ•œ ๋‹จ๊ณ„๊ฐ€ ๋๋‚˜๋ฉด ๋Œ€ํ™” ๊ธฐ๋ก์„ ๊นจ๋—์ด ๋น„์šฐ๊ณ (/clear) ๋‹ค์Œ ๋‹จ๊ณ„๋กœ ๋„˜๊ธฐ๋Š” ๋ฐฉ์‹. ๊ฒฐ๊ณผ๋ฌผ์€ ํŒŒ์ผ๋กœ ๋‚จ์•„ ์žˆ์–ด ์ •๋ณด ์†์‹ค ์—†์ด ์ƒˆ ๋Œ€ํ™”์—์„œ ์ด์–ด์ง‘๋‹ˆ๋‹ค.

Triggers#

  • When keywords like "start project", "new project", "full pipeline" are mentioned
  • When the /product command is invoked
  • When the full flow of analysis โ†’ spec verification โ†’ planning โ†’ design โ†’ development โ†’ launch is needed
  • When orchestration connecting existing plugins is needed

Behavior#

1. Project Initialization#

  • Generate project slug (kebab-case)
  • Create .pipeline/{slug}.yaml state file
  • Determine BMAD project level (Level 0-4)

2. Stage Execution Flow#

Discovery โ†’ Specification โ†’ Planning โ†’ Design โ†’ Scaffold โ†’ Epic Creation โ†’ Development โ†’ Launch
    โ”‚            โ”‚             โ”‚          โ”‚          โ”‚           โ”‚              โ”‚           โ”‚
    โ–ผ            โ–ผ             โ–ผ          โ–ผ          โ–ผ           โ–ผ              โ–ผ           โ–ผ
 pm+bmad      cc-spec-      bmad+pm     bmad      cc-bricks    cc-dev-cycle   cc-dev-cycle  pm
 (research)   clarity       (plan/biz)  (arch/ux) +cc-flutter  +bmad(story)   +bmad(dev)    (gtm/anal)
              (์™ธ๋ถ€)                                (์™ธ๋ถ€)       (์™ธ๋ถ€)          (์™ธ๋ถ€)

๋‚ด๋ถ€ ์—ญ๋Ÿ‰(bmad personaยท์ปค๋งจ๋“œ, pm ๊ธฐ๋ฒ•)์€ cc-product ์ž์ฒด๊ฐ€ ๋‹จ๊ณ„๋ณ„๋กœ dispatch. ์™ธ๋ถ€ ํ”Œ๋Ÿฌ๊ทธ์ธ๋งŒ ์œ„์ž„: cc-spec-clarity(Spec) ยท cc-bricks-feature/cc-flutter-dev(Scaffold) ยท cc-dev-cycle(Epic/Dev).

3. Per Stage Execution#

  1. Check previous artifacts: Verify previous stage artifacts exist
  2. Evaluate skip conditions: Determine skippability based on project level/type
  3. Delegate to source plugins: Invoke the stage's skills/commands in order
  4. Gate verification: Verify gate passage (Specification, Analysis, Solutioning, Planning, Implementation)
  5. Save artifacts: Store results in docs/ directory
  6. Update state: Refresh .pipeline/{slug}.yaml

4. Inter-stage Data Passing#

  • Automatically pass previous stage artifact paths to next stage
  • Discovery โ†’ Specification: Research results, vision
  • Specification โ†’ Planning: Seed spec, ambiguity evaluation, decision log
  • Planning โ†’ Design: PRD, technical specification, BDD Acceptance Criteria
  • Design โ†’ Scaffold: Architecture doc, UX spec, PRD (acceptance criteria)
  • Scaffold โ†’ Epic: Scaffolded feature list, .feature file paths, test file paths
  • Epic โ†’ Development: Epic/Story issue numbers (Stories reference scaffolded code + step stubs as DoD)
  • Development โ†’ Launch: Deployed feature list

5. Skip Rules#

  • Discovery skip: BMAD Level 0-1 (small-scale feature addition for existing product)
  • Specification skip: BMAD Level 0-1 (small-scale feature addition for existing product)
  • Scaffold skip: BMAD Level 0-1 (hotfix, minor feature without new code structure)
  • Launch skip: Internal features, minor improvements, infrastructure changes
  • User confirmation: Always confirm with user when skipping

6. State File Format (.pipeline/{slug}.yaml)#

project:
  name:  " Community Feature " 
   slug: community
  level: 3
  created: 2025-01-15T10:00:00Z
  updated: 2025-01-16T14:30:00Z

stages:
  discovery:
    status: completed        # pending | in-progress | completed | skipped
    started: 2025-01-15T10:00:00Z
    completed: 2025-01-15T12:00:00Z
    artifacts:
      - docs/discovery-community.md
    skip_reason: null

  specification:
    status: completed
    started: 2025-01-15T13:00:00Z
    completed: 2025-01-15T14:00:00Z
    gate: specification
    artifacts:
      - docs/seed-spec-community.md
      - docs/socratic-discovery-community.md

  planning:
    status: in-progress
    started: 2025-01-15T14:00:00Z
    gate: analysis           # Current gate
    artifacts: []

  design:
    status: pending
  epic:
    status: pending
  development:
    status: pending
  launch:
    status: pending

7. Context-Clear Handoff#

Each stage produces persistent artifacts in docs/. Between stages, offer the user a context-clear handoff to maximize token efficiency:

Stage {N} complete. Artifacts saved:
  - docs/{artifact}-{slug}.md

**Option 1 (Recommended)**: Clear context and continue to next stage
  /clear
  Then run: /product:{next_stage} docs/{artifact}-{slug}.md

**Option 2**: Continue in current context
  Proceed directly to /product:{next_stage}

Why context-clear matters:

  • Each stage can consume significant context window (Socratic interviews, architecture reviews, etc.)
  • Artifacts persist in docs/ and .pipeline/{slug}.yaml, so no information is lost
  • Next stage reads previous artifacts from files, not from conversation history
  • Fresh context allows the next stage to operate at full capacity

Rules:

  • Always present Option 1 first (recommended)
  • Include the exact artifact file paths so the user can reference them after /clear
  • The pipeline state file .pipeline/{slug}.yaml tracks progress across context clears
  • If the user chooses Option 2, proceed normally in the same context

Output#

  • Project status dashboard (progress by stage)
  • Each stage's artifacts (docs/ directory)
  • .pipeline/{slug}.yaml state tracking file
  • Summary report on stage transitions

Notes#

  • Orchestrates from above without modifying existing plugins
  • Gates serve as quality checkpoints (specification, analysis, planning, solutioning, implementation)
  • Personas serve as reviewers at each stage (Analyst, Architect, PM, etc.)
  • Users can independently execute any stage if desired
  • Stage-to-source command mappings managed in config/stage-mapping.yaml