LogoSkills

product:workflow-init

Executes the Workflow Init command to initialize the BMAD Method in the current project.

ํ•ญ๋ชฉ๋‚ด์šฉ
Invoke/workflow-init

/workflow-init โ€” BMAD ํ”„๋กœ์ ํŠธ ์ฒซ ์„ธํŒ…#

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

์ƒˆ ํ”„๋กœ์ ํŠธ์— BMAD๋ผ๋Š” ์ž‘์—… ๋ฐฉ์‹์˜ ๊ธฐ๋ณธ ํ‹€์„ ๊น”์•„์ฃผ๋Š” "์ดˆ๊ธฐ ์„ค์ •" ๋ช…๋ น์ž…๋‹ˆ๋‹ค. ์ƒˆ ์‚ฌ๋ฌด์‹ค์— ์ฒ˜์Œ ๋“ค์–ด๊ฐ€ ์ฑ…์ƒยท์„œ๋ฅ˜ํ•จยท๋ผ๋ฒจ์„ ๋ฏธ๋ฆฌ ์ •๋ฆฌํ•ด๋‘๋Š” ๊ฒƒ๊ณผ ๊ฐ™์•„์š”. ์ด๊ฑธ ๋จผ์ € ํ•ด๋‘ฌ์•ผ ์ดํ›„ ์ž‘์—…๋“ค์ด ์ •ํ•ด์ง„ ์ž๋ฆฌ์— ์ฐจ๊ณก์ฐจ๊ณก ์Œ“์ž…๋‹ˆ๋‹ค.

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

  • ์ƒˆ ํ”„๋กœ์ ํŠธ๋ฅผ ์‹œ์ž‘ํ•˜๋ฉด์„œ BMAD ๋ฐฉ์‹์œผ๋กœ ์ผ์„ ์ง„ํ–‰ํ•˜๊ธฐ๋กœ ์ •ํ–ˆ์„ ๋•Œ ๊ฐ€์žฅ ๋จผ์ € ํ•œ ๋ฒˆ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค.
  • ํ”„๋กœ์ ํŠธ์˜ ์ด๋ฆ„ยท์ข…๋ฅ˜ยท๊ทœ๋ชจ(๋ณต์žก๋„)๋ฅผ ๋“ฑ๋กํ•˜๊ณ , ์•ž์œผ๋กœ ๋งŒ๋“ค ๋ฌธ์„œ๊ฐ€ ๋“ค์–ด๊ฐˆ ํด๋” ๊ตฌ์กฐ๋ฅผ ์žก๊ณ  ์‹ถ์„ ๋•Œ ์”๋‹ˆ๋‹ค.
  • (์„ ํƒ) ์ด์Šˆ ๊ด€๋ฆฌ ๋„๊ตฌ์ธ ZenHub์™€ ์—ฐ๊ฒฐํ•ด ๋‘๊ณ  ์‹ถ์„ ๋•Œ๋„ ์ด ๋‹จ๊ณ„์—์„œ ํ•จ๊ป˜ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.

๐Ÿ‘‰ ์ด๋ฏธ ํ•œ ๋ฒˆ ์„ธํŒ…ํ•œ ํ”„๋กœ์ ํŠธ๋ผ๋ฉด ๋‹ค์‹œ ์‹คํ–‰ํ•  ๋•Œ "๋ฎ์–ด์“ธ๊นŒ์š”?"๋ผ๊ณ  ๋ฌผ์–ด๋ด…๋‹ˆ๋‹ค.

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

์‹คํ–‰ํ•˜๋ฉด ํ”„๋กœ์ ํŠธ์— ๋‹ค์Œ์ด ๋งŒ๋“ค์–ด์ง‘๋‹ˆ๋‹ค.

  • bmad/config.yaml โ€” ํ”„๋กœ์ ํŠธ ๊ธฐ๋ณธ ์„ค์ •(์ด๋ฆ„ยท์ข…๋ฅ˜ยท๊ทœ๋ชจ ๋“ฑ)์ด ๋‹ด๊ธด ํŒŒ์ผ
  • .bmad/bmm-workflow-status.yaml โ€” ์ž‘์—… ์ง„ํ–‰ ์ƒํ™ฉ์„ ์ถ”์ ํ•˜๋Š” ํŒŒ์ผ
  • BMAD ์‚ฐ์ถœ๋ฌผ์ด ์Œ“์ผ ํด๋” ๊ตฌ์กฐ(bmad/, .bmad/, .claude/commands/bmad/ ๋“ฑ)
  • (ZenHub ์—ฐ๋™์„ ์„ ํƒํ•œ ๊ฒฝ์šฐ) bmad/zenhub-conventions.yaml โ€” ZenHub ์—ฐ๊ฒฐ ๊ทœ์น™ ํŒŒ์ผ

๋งˆ์ง€๋ง‰์—๋Š” ์„ธํŒ… ์™„๋ฃŒ ๋ฉ”์‹œ์ง€์™€ ํ•จ๊ป˜ ํ”„๋กœ์ ํŠธ ๊ทœ๋ชจ์— ๋งž๋Š” ๋‹ค์Œ ์ž‘์—… ์ˆœ์„œ๊นŒ์ง€ ์ถ”์ฒœํ•ด ์ค๋‹ˆ๋‹ค.

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

# ํ”„๋กœ์ ํŠธ์—์„œ ํ•œ ๋ฒˆ ์‹คํ–‰ํ•˜๋ฉด ๋ฉ๋‹ˆ๋‹ค
/workflow-init

์‹คํ–‰ํ•˜๋ฉด ๋Œ€ํ™”๋กœ ๋ช‡ ๊ฐ€์ง€๋ฅผ ์ฐจ๋ก€๋กœ ๋ฌผ์–ด๋ด…๋‹ˆ๋‹ค.

  • ํ”„๋กœ์ ํŠธ ์ด๋ฆ„ (์˜ˆ: "MyApp", "์ด์ปค๋จธ์Šค ํ”Œ๋žซํผ")
  • ํ”„๋กœ์ ํŠธ ์ข…๋ฅ˜ (์›น ์•ฑ / ๋ชจ๋ฐ”์ผ ์•ฑ / APIยท๋ฐฑ์—”๋“œ / ๊ฒŒ์ž„ / ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ / ๊ธฐํƒ€)
  • ํ”„๋กœ์ ํŠธ ๊ทœ๋ชจ(Level 0~4) โ€” ์Šคํ† ๋ฆฌ(์ž‘์—… ๋‹จ์œ„) ๊ฐœ์ˆ˜๋กœ ๊ฐ€๋Š ํ•ฉ๋‹ˆ๋‹ค
    • Level 0: ๋‹จ์ผ ์ž‘์—… 1๊ฐœ
    • Level 1: ์†Œ๊ทœ๋ชจ (1~10๊ฐœ)
    • Level 2: ์ค‘๊ฐ„ ๊ทœ๋ชจ (5~15๊ฐœ)
    • Level 3: ๋ณต์žกํ•œ ํ†ตํ•ฉ (12~40๊ฐœ)
    • Level 4: ์—”ํ„ฐํ”„๋ผ์ด์ฆˆ (40๊ฐœ ์ด์ƒ)

๋ฌผ์–ด๋ณด๋Š” ๋‹ต์— ๋”ฐ๋ผ ์„ค์ • ํŒŒ์ผ์ด ์ž๋™์œผ๋กœ ์ฑ„์›Œ์ง€๋ฏ€๋กœ, ๋ฉ”๋‰ด์—์„œ ๋ฒˆํ˜ธ๋งŒ ๊ณจ๋ผ์ฃผ๋ฉด ๋ฉ๋‹ˆ๋‹ค.

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

ํฌ๊ฒŒ 8๋‹จ๊ณ„๋กœ, ์ฐจ๋ก€๋Œ€๋กœ ์ง„ํ–‰๋ฉ๋‹ˆ๋‹ค.

  1. ๊ธฐ์กด ์„ค์ • ํ™•์ธ โ€” ์ด๋ฏธ ์„ธํŒ…๋ผ ์žˆ์œผ๋ฉด ๋ฎ์–ด์“ธ์ง€ ๋จผ์ € ๋ฌผ์–ด๋ด…๋‹ˆ๋‹ค.
  2. ํด๋” ๋งŒ๋“ค๊ธฐ โ€” ์‚ฐ์ถœ๋ฌผ์ด ๋“ค์–ด๊ฐˆ ํด๋” ๊ตฌ์กฐ๋ฅผ ์•ˆ์ „ํ•˜๊ฒŒ ๋งŒ๋“ญ๋‹ˆ๋‹ค(์žˆ๋Š” ํด๋”๋Š” ๊ฑด๋“œ๋ฆฌ์ง€ ์•Š์Œ).
  3. ํ”„๋กœ์ ํŠธ ์ •๋ณด ๋ฐ›๊ธฐ โ€” ์ด๋ฆ„ยท์ข…๋ฅ˜ยท๊ทœ๋ชจ๋ฅผ ํ•˜๋‚˜์”ฉ ์งˆ๋ฌธํ•ด ์ž…๋ ฅ๋ฐ›์Šต๋‹ˆ๋‹ค.
  4. ์„ค์ • ํŒŒ์ผ ์ƒ์„ฑ โ€” ์ž…๋ ฅ๊ฐ’์œผ๋กœ bmad/config.yaml์„ ์ฑ„์›๋‹ˆ๋‹ค.
  5. ์ง„ํ–‰ ์ƒํ™ฉ ํŒŒ์ผ ์ƒ์„ฑ โ€” ๊ทœ๋ชจ์— ๋”ฐ๋ผ ์–ด๋–ค ๋ฌธ์„œ๊ฐ€ "ํ•„์ˆ˜/๊ถŒ์žฅ/์„ ํƒ"์ธ์ง€ ์ •ํ•ด .bmad/bmm-workflow-status.yaml์— ๊ธฐ๋กํ•ฉ๋‹ˆ๋‹ค.
  6. (์„ ํƒ) ZenHub ์—ฐ๋™ โ€” ์›ํ•˜๋ฉด ์›Œํฌ์ŠคํŽ˜์ด์Šค๋ฅผ ์—ฐ๊ฒฐํ•˜๊ณ  ๊ทœ์น™ ํŒŒ์ผ์„ ๋งŒ๋“ญ๋‹ˆ๋‹ค.
  7. ์™„๋ฃŒ ์•ˆ๋‚ด + ๋‹ค์Œ ๋‹จ๊ณ„ ์ถ”์ฒœ โ€” ๊ทœ๋ชจ์— ๋งž๋Š” ์ž‘์—… ์ˆœ์„œ(์˜ˆ: product-brief โ†’ tech-spec โ†’ ์Šคํ† ๋ฆฌ)๋ฅผ ๋ณด์—ฌ์ค๋‹ˆ๋‹ค.
  8. ๋ฐ”๋กœ ์‹œ์ž‘ ์ œ์•ˆ โ€” ์›ํ•˜๋ฉด ์ถ”์ฒœ ์ž‘์—…์œผ๋กœ ๋ฐ”๋กœ ์ด์–ด์„œ ์ง„ํ–‰ํ•ฉ๋‹ˆ๋‹ค. (๋‚˜์ค‘์— /workflow-status๋กœ ์ง„ํ–‰ ์ƒํ™ฉ์„ ์–ธ์ œ๋“  ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.)

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

Command Overview#

Purpose: Set up BMAD Method v6 structure and configuration in the current project

Agent: BMad Master (Core Orchestrator)

Output:

  • bmad/config.yaml - Project configuration
  • .bmad/bmm-workflow-status.yaml - Workflow status tracking
  • Directory structure for BMAD artifacts

Execution Steps#

Step 1: Check for Existing Installation#

  1. Check if bmad/config.yaml exists
  2. If exists:
    • Read current config
    • Ask: "BMAD already initialized. Reinitialize (overwrites config)?"
    • If no โ†’ Exit
    • If yes โ†’ Continue

Step 2: Create Directory Structure#

Create the following directories using Write/Bash tool:

bmad/
โ”œโ”€โ”€ config.yaml
โ””โ”€โ”€ agent-overrides/

.bmad/
โ”œโ”€โ”€ bmm-workflow-status.yaml
โ””โ”€โ”€ stories/
    โ””โ”€โ”€ (story directories created as needed)

.claude/
โ””โ”€โ”€ commands/
    โ””โ”€โ”€ bmad/
        โ””โ”€โ”€ (commands auto-registered by Claude Code)

Note: Only create directories that don't exist. Use mkdir -p to be safe.

Step 3: Collect Project Information#

Ask user these questions (one at a time):

Q1: Project Name

" What is your project name? " 

 Examples:  " MyApp " ,  " E-Commerce Platform " ,  " Mobile Game " 
 Default: Use directory name if user skips

Q2: Project Type

" What type of project is this? " 

 Options (present as menu):
1. Web Application
2. Mobile App (iOS/Android)
3. API / Backend Service
4. Game
5. Library / Framework
6. Other

Store as:  " web-app " ,  " mobile-app " ,  " api " ,  " game " ,  " library " ,  " other "

Q3: Project Level

" What is the project complexity level? " 

 Explain levels:
- Level 0: Single atomic change (1 story)
- Level 1: Small feature set (1-10 stories)
- Level 2: Medium feature set (5-15 stories)
- Level 3: Complex integration (12-40 stories)
- Level 4: Enterprise expansion (40+ stories)

Options (present as menu):
0. Level 0 - Single story
1. Level 1 - Small (1-10 stories)
2. Level 2 - Medium (5-15 stories)
3. Level 3 - Complex (12-40 stories)
4. Level 4 - Enterprise (40+ stories)

Store as: 0, 1, 2, 3, or 4

Step 4: Create Project Config#

  1. Load global config from ~/.claude/config/bmad/config.yaml per helpers.md#Load-Global-Config

  2. Load template from ${CLAUDE_PLUGIN_ROOT}/references/project-config-template.md

  3. Substitute variables:

    • {{PROJECT_NAME}} โ†’ User input from Step 3
    • {{PROJECT_TYPE}} โ†’ User input from Step 3
    • {{PROJECT_LEVEL}} โ†’ User input from Step 3
  4. Write to bmad/config.yaml using Write tool

Example output:

project_name:  " MyApp " 
 project_type:  " web-app " 
 project_level: 2
output_folder:  " .bmad " 
 bmm:
  workflow_status_file:  " .bmad/bmm-workflow-status.yaml " 
   sprint_status_file:  " .bmad/sprint-status.yaml " 
 paths:
  docs:  " .bmad " 
   stories:  " .bmad/stories " 
   tests:  " tests "

Step 5: Create Workflow Status File#

  1. Load template from ${CLAUDE_PLUGIN_ROOT}/references/templates/bmm-workflow-status-template.md

  2. Determine conditional statuses based on project level:

        Level 0-1:
      - PRD:  " recommended "   (optional for level 0)
      - Tech-spec:  " required " 
       - Architecture:  " optional " 
    
     Level 2+:
      - PRD:  " required " 
       - Tech-spec:  " optional " 
       - Architecture:  " required " 
    
  3. Substitute variables:

    • {{TIMESTAMP}} โ†’ Current ISO timestamp
    • {{PROJECT_NAME}} โ†’ From project config
    • {{PROJECT_TYPE}} โ†’ From project config
    • {{PROJECT_LEVEL}} โ†’ From project config
    • {{PRD_STATUS}} โ†’ Conditional per above
    • {{TECH_SPEC_STATUS}} โ†’ Conditional per above
    • {{ARCHITECTURE_STATUS}} โ†’ Conditional per above
  4. Write to .bmad/bmm-workflow-status.yaml using Write tool

Step 5.5: ZenHub Integration Setup (Optional)#

Ask user:

" Would you like to set up ZenHub integration? " 

 ZenHub integration enables:
- Automatic issue creation (Epics, Stories, Sub-tasks)
- Pipeline management (Sprint Backlog โ†’ In Progress โ†’ Done)
- Sprint assignment and tracking
- Sub-task decomposition for complex stories

Options:
1. Yes - Set up ZenHub integration
2. No - Skip (can be configured later)

If yes:

  1. Check MCP availability:

    • Attempt helpers.md#Load-ZenHub-Context
    • If MCP available:
      • Auto-discover workspace IDs
      • Auto-generate bmad/zenhub-conventions.yaml from MCP data
      • Log: "โœ“ ZenHub conventions auto-generated from workspace"
    • If MCP not available:
      • Copy template: ${CLAUDE_PLUGIN_ROOT}/references/templates/zenhub-conventions-template.md โ†’ bmad/zenhub-conventions.yaml
      • Log: "โš  ZenHub MCP not available. Template created โ€” fill in IDs manually or run again when MCP is configured."
  2. Ask about Sub-tasks:

        " Does your ZenHub workspace support Sub-tasks (Task issue type)? " 
    
     Options:
    1. Yes - Enable sub-task decomposition
    2. No / Not sure - Disable (can enable later)
    
  3. Update project config (bmad/config.yaml):

        zenhub:
      conventions_file:  " bmad/zenhub-conventions.yaml " 
       sub_tasks:
        enabled: {true|false}
        auto_generate: false
        min_story_points: 5
    

If no: Skip โ€” ZenHub integration can be configured later by:

  • Creating bmad/zenhub-conventions.yaml from template
  • Adding zenhub: section to bmad/config.yaml

Step 6: Confirm Initialization#

Display success message:

โœ“ BMAD Method v6 initialized successfully!

Project Configuration:
  Name: {project_name}
  Type: {project_type}
  Level: {project_level}

Files Created:
  โœ“ bmad/config.yaml
  โœ“ .bmad/bmm-workflow-status.yaml
  โœ“ Directory structure
  โœ“ bmad/zenhub-conventions.yaml  (if ZenHub setup chosen)

Workflow Path for Level {project_level}:
  {Display path based on level - see Step 7}

Recommended Next Step:
  {Recommend workflow - see helpers.md#Determine-Next-Workflow}

Step 7: Recommend Workflow Path#

Based on project level, show recommended path:

Level 0:

Phase 1 (Optional): /product-brief
Phase 2 (Required): /tech-spec
Phase 4 (Required): /create-story โ†’ /dev-story

Level 1:

Phase 1 (Recommended): /product-brief
Phase 2 (Required): /tech-spec
Phase 4 (Required): /sprint-planning โ†’ stories

Level 2+:

Phase 1 (Recommended): /product-brief
Phase 2 (Required): /prd
Phase 3 (Required): /architecture
Phase 4 (Required): /sprint-planning โ†’ stories

Step 8: Offer to Start#

Ask user:

" Would you like to start with the recommended workflow? " 

 If Phase 1 recommended:  " I can help you create a product brief. " 
 If Phase 2 required:  " I can help you create a [PRD/tech-spec]. "

If yes: Hand off to appropriate agent (Analyst for brief, PM for PRD/tech-spec) If no: "Run /workflow-status anytime to check your progress."


Helper References#

  • Load global config: helpers.md#Load-Global-Config
  • Load template: helpers.md#Load-Template
  • Apply variables: helpers.md#Apply-Variables-to-Template
  • Save document: helpers.md#Save-Output-Document
  • Determine next: helpers.md#Determine-Next-Workflow
  • Load ZenHub context: helpers.md#Load-ZenHub-Context

Error Handling#

If BMAD already initialized:

  • Inform user
  • Offer to reinitialize (overwrites config)
  • Offer to check status instead (/workflow-status)

If directory creation fails:

  • Show error
  • Check permissions
  • Suggest manual directory creation

If template missing:

  • Use inline fallback template
  • Log warning
  • Continue initialization

Notes for LLMs#

  • Use TodoWrite to track 8 steps
  • Create directories with mkdir -p (safe for existing dirs)
  • Be clear about conditional requirements based on level
  • Present options as numbered menus for clarity
  • Use Write tool for config/status files
  • Maintain BMad Master persona (helpful, organized, clear)
  • Don't skip steps - initialization must be complete

Remember: This is the entry point for BMAD. Set users up for success with clear explanation of their path forward.