# Workflow Init - Initialize BMM Project
The workflow execution engine is governed by: {project-root}/_bmad/core/tasks/workflow.xml
You MUST have already loaded and processed: {project-root}/_bmad/bmm/workflows/workflow-status/init/workflow.yaml
This workflow initializes a BMM project by determining project level, type, and creating the workflow path configuration.
Check if {workflow_path} exists
是否要重新初始化项目?(y/n)
Exit workflow
请输入项目级别 (1-4):
Validate input is 1, 2, 3, or 4
Set {{level}} to user input
请输入项目类型 (1-4):
Validate input is 1, 2, 3, or 4
Set {{type}} to user input
Determine workflow path based on level and type
Set workflow_mode = "analysis"
Set workflow_mode = "planning"
Set workflow_mode = "solutioning"
Set workflow_mode = "implementation"
确认此工作流路径?(y/n/edit)
# BMM Workflow Path Configuration
# Generated: {{date}}
# Project: {project-root}
project_level: {{level}}
project_type: {{type}}
workflow_mode: {{workflow_mode}}
# Recommended workflows for this project level
recommended_workflows:
- create-product-brief
- research
- create-prd
- create-ux-design
- create-architecture
- create-epics-and-stories
- check-implementation-readiness
- sprint-planning
- create-story
- dev-story
- code-review
- sprint-status
- retrospective
- correct-course
# Level descriptions:
# Level 1 (analysis): Market research, technical research, domain analysis
# Level 2 (planning): PRD, UX Design
# Level 3 (solutioning): Architecture, Epics & Stories
# Level 4 (implementation): Sprint Planning, Development, Code Review
# Type descriptions:
# 1 (greenfield): New project from scratch
# 2 (brownfield): Existing codebase, consider existing patterns
# 3 (migration): Migrating from another framework/platform
# 4 (enhancement): Extending existing functionality
Write template output to: {workflow_path}
Report workflow completion