@sleighmaster/bmad 1.5.3 โ 1.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data/_bmad/_config/bmad-help.csv +1 -0
- package/data/_bmad/_config/workflow-manifest.csv +1 -0
- package/data/_bmad/bmm/workflows/4-implementation/create-story/instructions.xml +26 -0
- package/data/_bmad/bmm/workflows/4-implementation/create-story/template.md +8 -0
- package/data/_bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +5 -0
- package/data/_bmad/bmm/workflows/onboarding/onboarding-template.md +167 -0
- package/data/_bmad/bmm/workflows/onboarding/workflow.md +226 -0
- package/data/claude-commands/bmad-bmm-onboarding.md +6 -0
- package/package.json +1 -1
|
@@ -22,6 +22,7 @@ bmm,4-implementation,Dev Story,DS,40,_bmad/bmm/workflows/4-implementation/dev-st
|
|
|
22
22
|
bmm,4-implementation,Automate,QA,45,_bmad/bmm/workflows/qa/automate/workflow.yaml,bmad-bmm-automate,false,quinn,bmad:bmm:agent:quinn,Quinn,๐งช QA Engineer,Create Mode,"Generate automated API and E2E tests for implemented code using the project's existing test framework (detects Playwright, Jest, Vitest, etc). Use after implementation to add test coverage. NOT for code review or story validation - use CR for that.",implementation_artifacts,test suite
|
|
23
23
|
bmm,4-implementation,Code Review,CR,50,_bmad/bmm/workflows/4-implementation/code-review/workflow.yaml,bmad-bmm-code-review,false,dev,bmad:_bmad/bmm/agents/dev.md:agent:dev,Amelia,๐ป Developer Agent,Create Mode,Story cycle: If issues back to DS if approved then next CS or ER if epic complete,,
|
|
24
24
|
bmm,4-implementation,Retrospective,ER,60,_bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml,bmad-bmm-retrospective,false,sm,bmad:- I strive to be a servant leader and conduct myself accordingly:agent:sm,Bob,๐ Scrum Master,Create Mode,Optional at epic end: Review completed work lessons learned and next epic or if major issues consider CC,implementation_artifacts,retrospective
|
|
25
|
+
bmm,anytime,Developer Onboarding,DO,5,_bmad/bmm/workflows/onboarding/workflow.md,bmad-bmm-onboarding,false,,,,,Create Mode,Generate comprehensive onboarding documentation for new developers joining the project,output_folder,onboarding guide
|
|
25
26
|
bmm,anytime,Document Project,DP,10,_bmad/bmm/workflows/document-project/workflow.yaml,bmad-bmm-document-project,false,analyst,bmad:- Channel expert business analysis frameworks: draw upon Porter's Five Forces:agent:analyst,Mary,๐ Business Analyst,Create Mode,Analyze an existing project to produce useful documentation,project-knowledge,*
|
|
26
27
|
bmm,anytime,Quick Spec,TS,20,_bmad/bmm/workflows/bmad-quick-flow/quick-spec/workflow.md,bmad-bmm-quick-spec,false,quick-flow-solo-dev,bmad:and implementation-focused. Uses tech slang (e.g.:agent:quick-flow-solo-dev,Barry,๐ Quick Flow Solo Dev,Create Mode,Do not suggest for potentially very complex things unless requested or if the user complains that they do not want to follow the extensive planning of the bmad method. Quick one-off tasks small changes simple apps utilities without extensive planning,planning_artifacts,tech spec
|
|
27
28
|
bmm,anytime,Quick Dev,QD,30,_bmad/bmm/workflows/bmad-quick-flow/quick-dev/workflow.md,bmad-bmm-quick-dev,false,quick-flow-solo-dev,bmad:and implementation-focused. Uses tech slang (e.g.:agent:quick-flow-solo-dev,Barry,๐ Quick Flow Solo Dev,Create Mode,"Quick one-off tasks small changes simple apps utilities without extensive planning - Do not suggest for potentially very complex things unless requested or if the user complains that they do not want to follow the extensive planning of the bmad method, unless the user is already working through the implementation phase and just requests a 1 off things not already in the plan",,
|
|
@@ -22,4 +22,5 @@ name,description,module,path
|
|
|
22
22
|
"create-excalidraw-diagram","Create system architecture diagrams, ERDs, UML diagrams, or general technical diagrams in Excalidraw format","bmm","_bmad/bmm/workflows/excalidraw-diagrams/create-diagram/workflow.yaml"
|
|
23
23
|
"create-excalidraw-flowchart","Create a flowchart visualization in Excalidraw format for processes, pipelines, or logic flows","bmm","_bmad/bmm/workflows/excalidraw-diagrams/create-flowchart/workflow.yaml"
|
|
24
24
|
"create-excalidraw-wireframe","Create website or app wireframes in Excalidraw format","bmm","_bmad/bmm/workflows/excalidraw-diagrams/create-wireframe/workflow.yaml"
|
|
25
|
+
"onboarding","Generate a comprehensive onboarding document for new developers joining this project.","bmm","_bmad/bmm/workflows/onboarding/workflow.md"
|
|
25
26
|
"qa-automate","Generate tests quickly for existing features using standard test patterns","bmm","_bmad/bmm/workflows/qa/automate/workflow.yaml"
|
|
@@ -198,6 +198,26 @@
|
|
|
198
198
|
all learnings that could impact current story implementation</action>
|
|
199
199
|
</check>
|
|
200
200
|
|
|
201
|
+
<!-- Retrospective intelligence for learning propagation -->
|
|
202
|
+
<action>Check if {retrospectives_folder} exists and contains retrospective documents</action>
|
|
203
|
+
<check if="retrospective documents found in {retrospectives_folder}">
|
|
204
|
+
<action>Scan {retrospectives_folder} for files matching pattern: epic-*-retro-*.md</action>
|
|
205
|
+
<action>Sort by epic number descending, load the most recent retrospective(s) relevant to current epic</action>
|
|
206
|
+
<action>If current epic_num > 1, prioritize loading epic-{{prev_epic_num}}-retro-*.md (immediately preceding epic)</action>
|
|
207
|
+
|
|
208
|
+
**RETROSPECTIVE INTELLIGENCE:**
|
|
209
|
+
<action>Extract from each loaded retrospective:
|
|
210
|
+
- **Action Items**: Specific agreed-upon changes and their ownership
|
|
211
|
+
- **Team Agreements**: Process or coding conventions the team committed to
|
|
212
|
+
- **Recurring Patterns**: Issues that appeared multiple times across stories
|
|
213
|
+
- **Code Review Findings**: H/M-level issues that were repeatedly flagged
|
|
214
|
+
- **Lessons Learned**: Key insights about what worked and what didn't
|
|
215
|
+
- **Anti-Patterns Identified**: Specific mistakes to avoid going forward
|
|
216
|
+
</action>
|
|
217
|
+
<action>Filter extracted items for relevance to current story's domain and technical area</action>
|
|
218
|
+
<action>Flag any unresolved action items that directly apply to this story's implementation</action>
|
|
219
|
+
</check>
|
|
220
|
+
|
|
201
221
|
<!-- Git intelligence for previous work patterns -->
|
|
202
222
|
<check
|
|
203
223
|
if="previous story exists AND git repository detected">
|
|
@@ -278,6 +298,12 @@
|
|
|
278
298
|
file_structure_requirements</template-output>
|
|
279
299
|
<template-output file="{default_output_file}">testing_requirements</template-output>
|
|
280
300
|
|
|
301
|
+
<!-- Retrospective learnings -->
|
|
302
|
+
<check
|
|
303
|
+
if="retrospective analysis completed AND relevant items found">
|
|
304
|
+
<template-output file="{default_output_file}">retrospective_learnings</template-output>
|
|
305
|
+
</check>
|
|
306
|
+
|
|
281
307
|
<!-- Previous story intelligence -->
|
|
282
308
|
<check
|
|
283
309
|
if="previous story learnings available">
|
|
@@ -38,6 +38,14 @@ so that {{benefit}}.
|
|
|
38
38
|
- Source tree components to touch
|
|
39
39
|
- Testing standards summary
|
|
40
40
|
|
|
41
|
+
### Retrospective Learnings
|
|
42
|
+
|
|
43
|
+
<!-- Auto-populated from previous epic retrospectives when available -->
|
|
44
|
+
|
|
45
|
+
- Relevant action items from previous retrospectives
|
|
46
|
+
- Recurring code review patterns to watch for
|
|
47
|
+
- Team agreements applicable to this story
|
|
48
|
+
|
|
41
49
|
### Project Structure Notes
|
|
42
50
|
|
|
43
51
|
- Alignment with unified project structure (paths, modules, naming)
|
|
@@ -15,6 +15,7 @@ architecture_artifacts: "{config_source}:architecture_artifacts"
|
|
|
15
15
|
implementation_artifacts: "{config_source}:implementation_artifacts"
|
|
16
16
|
output_folder: "{implementation_artifacts}"
|
|
17
17
|
story_dir: "{stories_artifacts}"
|
|
18
|
+
retrospectives_folder: "{implementation_artifacts}/retrospectives"
|
|
18
19
|
|
|
19
20
|
# Workflow components
|
|
20
21
|
installed_path: "{project-root}/_bmad/bmm/workflows/4-implementation/create-story"
|
|
@@ -61,5 +62,9 @@ input_file_patterns:
|
|
|
61
62
|
whole: "{epics_artifacts}/*epic*.md"
|
|
62
63
|
sharded: "{epics_artifacts}/*epic*/*.md"
|
|
63
64
|
load_strategy: "SELECTIVE_LOAD" # Only load needed epic
|
|
65
|
+
retrospective:
|
|
66
|
+
description: "Previous epic retrospectives for lessons learned and action items"
|
|
67
|
+
pattern: "{retrospectives_folder}/epic-*-retro-*.md"
|
|
68
|
+
load_strategy: "SELECTIVE_LOAD" # Load most recent retrospective(s)
|
|
64
69
|
|
|
65
70
|
standalone: true
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
# {project_name} โ Developer Onboarding Guide
|
|
2
|
+
|
|
3
|
+
> Generated: {date}
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 1. Project Overview
|
|
8
|
+
|
|
9
|
+
<!-- PLACEHOLDER: project_overview -->
|
|
10
|
+
<!-- Fill with: project name, description/purpose, version, license -->
|
|
11
|
+
<!-- Include a tech stack summary table:
|
|
12
|
+
| Category | Technology |
|
|
13
|
+
|----------|-----------|
|
|
14
|
+
| Language | ... |
|
|
15
|
+
| Framework | ... |
|
|
16
|
+
| Database | ... |
|
|
17
|
+
| Test Framework | ... |
|
|
18
|
+
| Build Tool | ... |
|
|
19
|
+
-->
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## 2. Project Structure
|
|
24
|
+
|
|
25
|
+
<!-- PLACEHOLDER: project_structure -->
|
|
26
|
+
<!-- Fill with: 2-level directory tree with descriptions -->
|
|
27
|
+
<!-- Example format:
|
|
28
|
+
```
|
|
29
|
+
project-root/
|
|
30
|
+
โโโ src/ โ Source code
|
|
31
|
+
โโโ tests/ โ Test suites
|
|
32
|
+
โโโ docs/ โ Documentation
|
|
33
|
+
```
|
|
34
|
+
-->
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## 3. Development Environment Setup
|
|
39
|
+
|
|
40
|
+
### Prerequisites
|
|
41
|
+
|
|
42
|
+
<!-- PLACEHOLDER: prerequisites -->
|
|
43
|
+
<!-- Fill with: required tools and versions (Node.js, Python, Docker, etc.) -->
|
|
44
|
+
|
|
45
|
+
### Getting Started
|
|
46
|
+
|
|
47
|
+
<!-- PLACEHOLDER: getting_started -->
|
|
48
|
+
<!-- Fill with: step-by-step commands to set up and run the project -->
|
|
49
|
+
<!-- Example format:
|
|
50
|
+
```bash
|
|
51
|
+
# Clone the repository
|
|
52
|
+
git clone <repo-url>
|
|
53
|
+
cd <project-name>
|
|
54
|
+
|
|
55
|
+
# Install dependencies
|
|
56
|
+
npm install
|
|
57
|
+
|
|
58
|
+
# Run development server
|
|
59
|
+
npm run dev
|
|
60
|
+
|
|
61
|
+
# Run tests
|
|
62
|
+
npm test
|
|
63
|
+
```
|
|
64
|
+
-->
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## 4. Development Workflow
|
|
69
|
+
|
|
70
|
+
### Git Workflow
|
|
71
|
+
|
|
72
|
+
<!-- PLACEHOLDER: git_workflow -->
|
|
73
|
+
<!-- Fill with: branch strategy, commit conventions, PR process -->
|
|
74
|
+
|
|
75
|
+
### Code Standards
|
|
76
|
+
|
|
77
|
+
<!-- PLACEHOLDER: code_standards -->
|
|
78
|
+
<!-- Fill with: linter/formatter config, key coding rules from CLAUDE.md -->
|
|
79
|
+
|
|
80
|
+
### Testing
|
|
81
|
+
|
|
82
|
+
<!-- PLACEHOLDER: testing -->
|
|
83
|
+
<!-- Fill with: test framework, how to run tests, coverage requirements -->
|
|
84
|
+
|
|
85
|
+
### CI/CD
|
|
86
|
+
|
|
87
|
+
<!-- PLACEHOLDER: cicd -->
|
|
88
|
+
<!-- Fill with: pipeline descriptions, deployment process -->
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
## 5. Current Project Status
|
|
93
|
+
|
|
94
|
+
### Planning Documents
|
|
95
|
+
|
|
96
|
+
<!-- PLACEHOLDER: planning_documents -->
|
|
97
|
+
<!-- Fill with: list of existing planning artifacts (PRD, Architecture, UX, etc.) with file paths -->
|
|
98
|
+
|
|
99
|
+
### Epic & Story Progress
|
|
100
|
+
|
|
101
|
+
<!-- PLACEHOLDER: epic_story_progress -->
|
|
102
|
+
<!-- Fill with: sprint status summary โ epic/story counts, completion rates, current focus -->
|
|
103
|
+
<!-- If no epics exist, note that the project is in pre-implementation or uses a different tracking method -->
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
## 6. BMAD Workflow Guide
|
|
108
|
+
|
|
109
|
+
<!-- PLACEHOLDER: bmad_section -->
|
|
110
|
+
<!-- If BMAD is not installed, replace this entire section with a note that BMAD is not configured for this project -->
|
|
111
|
+
|
|
112
|
+
### What is BMAD?
|
|
113
|
+
|
|
114
|
+
<!-- PLACEHOLDER: bmad_intro -->
|
|
115
|
+
<!-- Brief 2-3 sentence explanation of BMAD Method and what it provides -->
|
|
116
|
+
|
|
117
|
+
### Daily Commands (Top 6)
|
|
118
|
+
|
|
119
|
+
<!-- PLACEHOLDER: bmad_daily_commands -->
|
|
120
|
+
<!-- Fill with table:
|
|
121
|
+
| Command | Description |
|
|
122
|
+
|---------|-----------|
|
|
123
|
+
| `/bmad-help` | Get unstuck โ shows next steps and answers questions |
|
|
124
|
+
| `/bmad-bmm-quick-dev` | Quick one-off tasks without full planning |
|
|
125
|
+
| `/bmad-bmm-sprint-status` | View current sprint progress |
|
|
126
|
+
| `/bmad-bmm-dev-story` | Execute the next story implementation |
|
|
127
|
+
| `/bmad-bmm-document-project` | Generate project documentation |
|
|
128
|
+
| `/bmad-bmm-onboarding` | Regenerate this onboarding guide |
|
|
129
|
+
-->
|
|
130
|
+
|
|
131
|
+
### Full Workflow Phases
|
|
132
|
+
|
|
133
|
+
<!-- PLACEHOLDER: bmad_workflow_phases -->
|
|
134
|
+
<!-- Fill with the phase-ordered workflow from bmad-help.csv:
|
|
135
|
+
1. Analysis โ Brainstorm, Research, Create Brief
|
|
136
|
+
2. Planning โ PRD, UX Design
|
|
137
|
+
3. Solutioning โ Architecture, Epics & Stories, Readiness Check
|
|
138
|
+
4. Implementation โ Sprint Planning, Create Story, Dev Story, Code Review
|
|
139
|
+
-->
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
|
|
143
|
+
## 7. Reference Documents
|
|
144
|
+
|
|
145
|
+
<!-- PLACEHOLDER: reference_documents -->
|
|
146
|
+
<!-- Fill with: links to existing documentation files -->
|
|
147
|
+
<!-- Example format:
|
|
148
|
+
- [Project Overview](./project-overview.md)
|
|
149
|
+
- [Source Tree](./source-tree.md)
|
|
150
|
+
- [Architecture](./architecture.md)
|
|
151
|
+
-->
|
|
152
|
+
<!-- If no documents exist, note that documentation can be generated with `/bmad-bmm-document-project` -->
|
|
153
|
+
|
|
154
|
+
---
|
|
155
|
+
|
|
156
|
+
## 8. Quick Start Checklist
|
|
157
|
+
|
|
158
|
+
<!-- PLACEHOLDER: quick_start_checklist -->
|
|
159
|
+
<!-- Fill with actionable checklist. Example:
|
|
160
|
+
- [ ] Clone repo and install dependencies
|
|
161
|
+
- [ ] Run the project locally
|
|
162
|
+
- [ ] Run the test suite
|
|
163
|
+
- [ ] Read CLAUDE.md for project rules
|
|
164
|
+
- [ ] Check sprint status: `/bmad-bmm-sprint-status`
|
|
165
|
+
- [ ] Review current epic/story assignments
|
|
166
|
+
- [ ] Pick up your first story: `/bmad-bmm-create-story`
|
|
167
|
+
-->
|
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: onboarding
|
|
3
|
+
description: 'Generate a comprehensive onboarding document for new developers joining this project.'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Developer Onboarding Document Generator
|
|
7
|
+
|
|
8
|
+
**Goal:** Automatically scan the project and generate a single, comprehensive onboarding guide for new developers joining the team.
|
|
9
|
+
|
|
10
|
+
**Your Role:** You are a technical writer creating a human-readable onboarding document. Scan project metadata, structure, and configuration โ do NOT deep-dive into source code. Produce a clear, actionable guide that helps a new developer get productive quickly.
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## INITIALIZATION
|
|
15
|
+
|
|
16
|
+
### Configuration Loading
|
|
17
|
+
|
|
18
|
+
Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
|
|
19
|
+
|
|
20
|
+
- `project_name`, `user_name`, `communication_language`, `document_output_language`
|
|
21
|
+
- `output_folder`, `planning_artifacts`, `implementation_artifacts`, `epics_artifacts`
|
|
22
|
+
- `date` = current date
|
|
23
|
+
|
|
24
|
+
### Path Variables
|
|
25
|
+
|
|
26
|
+
- `installed_path` = `{project-root}/_bmad/bmm/workflows/onboarding`
|
|
27
|
+
- `template_path` = `{installed_path}/onboarding-template.md`
|
|
28
|
+
- `output_path` = `{output_folder}/onboarding-guide.md`
|
|
29
|
+
- `bmad_config_path` = `{project-root}/_bmad/_config`
|
|
30
|
+
|
|
31
|
+
### Critical Rules
|
|
32
|
+
|
|
33
|
+
- **ALL output text** (section headings, descriptions, explanations) MUST be written in `{document_output_language}`
|
|
34
|
+
- Translate template section titles and placeholder text to `{document_output_language}`
|
|
35
|
+
- If `onboarding-guide.md` already exists at `output_path`, overwrite it (re-run = refresh)
|
|
36
|
+
- Do NOT deep-scan source code files โ focus on metadata, config, and structure
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## PHASE 1: PROJECT FUNDAMENTALS
|
|
41
|
+
|
|
42
|
+
### 1.1 Repository Basics
|
|
43
|
+
|
|
44
|
+
Scan and collect:
|
|
45
|
+
|
|
46
|
+
- **README.md** โ extract project name, description, purpose (first ~50 lines)
|
|
47
|
+
- **package.json** / **pyproject.toml** / **Cargo.toml** / equivalent โ name, version, description, scripts
|
|
48
|
+
- **LICENSE** โ license type
|
|
49
|
+
- **Git info** โ default branch, remote URL
|
|
50
|
+
|
|
51
|
+
### 1.2 Tech Stack Detection
|
|
52
|
+
|
|
53
|
+
From dependency files (package.json, requirements.txt, go.mod, etc.):
|
|
54
|
+
|
|
55
|
+
- **Languages** โ primary language(s) and versions
|
|
56
|
+
- **Frameworks** โ web framework, UI library, test framework
|
|
57
|
+
- **Key Dependencies** โ database, ORM, auth, API client, etc.
|
|
58
|
+
- **Dev Tools** โ linter, formatter, bundler, task runner
|
|
59
|
+
|
|
60
|
+
### 1.3 Project Structure
|
|
61
|
+
|
|
62
|
+
Generate a **2-level directory tree** of the project root with brief descriptions:
|
|
63
|
+
|
|
64
|
+
```
|
|
65
|
+
project-root/
|
|
66
|
+
โโโ src/ โ Source code
|
|
67
|
+
โโโ tests/ โ Test suites
|
|
68
|
+
โโโ docs/ โ Documentation
|
|
69
|
+
โโโ _bmad/ โ BMAD Method configuration
|
|
70
|
+
โโโ ...
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
### 1.4 Development Environment Setup
|
|
74
|
+
|
|
75
|
+
Extract from README, package.json scripts, Makefile, docker-compose, etc.:
|
|
76
|
+
|
|
77
|
+
- **Prerequisites** โ Node.js version, Python version, Docker, etc.
|
|
78
|
+
- **Install command** โ `npm install`, `pip install`, etc.
|
|
79
|
+
- **Run command** โ `npm run dev`, `python manage.py runserver`, etc.
|
|
80
|
+
- **Test command** โ `npm test`, `pytest`, etc.
|
|
81
|
+
- **Build command** โ if applicable
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
## PHASE 2: DEVELOPMENT WORKFLOW
|
|
86
|
+
|
|
87
|
+
### 2.1 Git Workflow
|
|
88
|
+
|
|
89
|
+
Scan for:
|
|
90
|
+
|
|
91
|
+
- **Git hooks** โ `.husky/`, `_bmad/hooks/`, `.git/hooks/` โ list active hooks and what they do
|
|
92
|
+
- **Branch strategy** โ from CONTRIBUTING.md, CLAUDE.md, or PR templates
|
|
93
|
+
- **PR templates** โ `.github/pull_request_template.md`
|
|
94
|
+
- **CI/CD** โ `.github/workflows/`, `.gitlab-ci.yml`, `Jenkinsfile` โ list pipelines and their purpose
|
|
95
|
+
|
|
96
|
+
### 2.2 Code Standards
|
|
97
|
+
|
|
98
|
+
Scan for:
|
|
99
|
+
|
|
100
|
+
- **Linter config** โ `.eslintrc`, `ruff.toml`, `.golangci.yml`, etc.
|
|
101
|
+
- **Formatter config** โ `.prettierrc`, `black`, `gofmt`, etc.
|
|
102
|
+
- **CLAUDE.md rules** โ extract key development rules from CLAUDE.md if it exists
|
|
103
|
+
- **EditorConfig** โ `.editorconfig` settings
|
|
104
|
+
|
|
105
|
+
### 2.3 Test Strategy
|
|
106
|
+
|
|
107
|
+
Detect:
|
|
108
|
+
|
|
109
|
+
- **Test framework** โ Jest, Vitest, Pytest, Go test, etc.
|
|
110
|
+
- **Test directory** โ where tests live
|
|
111
|
+
- **Test run command** โ how to execute tests
|
|
112
|
+
- **Coverage** โ coverage tool and thresholds if configured
|
|
113
|
+
|
|
114
|
+
### 2.4 Build & Deploy
|
|
115
|
+
|
|
116
|
+
Detect:
|
|
117
|
+
|
|
118
|
+
- **Build system** โ webpack, vite, turbo, make, etc.
|
|
119
|
+
- **Build command** โ primary build command
|
|
120
|
+
- **Environments** โ dev, staging, production indicators
|
|
121
|
+
- **Deployment** โ Dockerfile, Vercel config, AWS config, etc.
|
|
122
|
+
|
|
123
|
+
---
|
|
124
|
+
|
|
125
|
+
## PHASE 3: BMAD WORKFLOW (Conditional)
|
|
126
|
+
|
|
127
|
+
> **If `{project-root}/_bmad/` directory does NOT exist, skip this entire phase and note in the output that BMAD is not installed.**
|
|
128
|
+
|
|
129
|
+
### 3.1 BMAD Installation Detection
|
|
130
|
+
|
|
131
|
+
- Confirm `_bmad/` exists
|
|
132
|
+
- Load `_bmad/bmm/config.yaml` if present (already loaded in INIT)
|
|
133
|
+
- Detect installed modules: check for `_bmad/core/`, `_bmad/bmm/`
|
|
134
|
+
|
|
135
|
+
### 3.2 Available Commands
|
|
136
|
+
|
|
137
|
+
Scan `{project-root}/.claude/commands/bmad-*.md`:
|
|
138
|
+
|
|
139
|
+
- List each command with its name and description (from frontmatter)
|
|
140
|
+
- Group by category if possible (analysis, planning, implementation, anytime)
|
|
141
|
+
|
|
142
|
+
### 3.3 Workflow Guide
|
|
143
|
+
|
|
144
|
+
Load `{bmad_config_path}/bmad-help.csv`:
|
|
145
|
+
|
|
146
|
+
- Extract the **phase-ordered workflow sequence** (phase 1 โ 2 โ 3 โ 4)
|
|
147
|
+
- For the `anytime` group, highlight the **top daily-use commands**:
|
|
148
|
+
- `/bmad-help` โ Get unstuck
|
|
149
|
+
- `/bmad-bmm-quick-dev` โ Quick tasks
|
|
150
|
+
- `/bmad-bmm-sprint-status` โ Sprint overview
|
|
151
|
+
- `/bmad-bmm-document-project` โ Generate docs
|
|
152
|
+
- `/bmad-bmm-onboarding` โ Refresh this guide
|
|
153
|
+
- Create a simple "your first day" command sequence recommendation
|
|
154
|
+
|
|
155
|
+
---
|
|
156
|
+
|
|
157
|
+
## PHASE 4: PROJECT STATUS
|
|
158
|
+
|
|
159
|
+
### 4.1 Planning Artifacts
|
|
160
|
+
|
|
161
|
+
Check for existence of key documents in `{planning_artifacts}`:
|
|
162
|
+
|
|
163
|
+
- PRD (`*prd*`, `*product-requirements*`)
|
|
164
|
+
- Architecture doc (`*architecture*`, `*arch*`)
|
|
165
|
+
- UX design (`*ux*`, `*design*`)
|
|
166
|
+
- Product brief (`*brief*`)
|
|
167
|
+
- List found documents with relative paths
|
|
168
|
+
|
|
169
|
+
### 4.2 Epic & Story Status
|
|
170
|
+
|
|
171
|
+
If `{epics_artifacts}` exists:
|
|
172
|
+
|
|
173
|
+
- List epic files found (`epic-*.md`)
|
|
174
|
+
- If `sprint-status.yaml` exists in `{implementation_artifacts}`, parse and summarize:
|
|
175
|
+
- Total epics, stories
|
|
176
|
+
- Completion status (done / in-progress / pending counts)
|
|
177
|
+
- Current sprint focus
|
|
178
|
+
|
|
179
|
+
### 4.3 Existing Documentation
|
|
180
|
+
|
|
181
|
+
Check `{output_folder}` for document-project outputs:
|
|
182
|
+
|
|
183
|
+
- `project-overview.md`
|
|
184
|
+
- `source-tree.md`
|
|
185
|
+
- `*-deep-dive.md`
|
|
186
|
+
- Any `index.md` files
|
|
187
|
+
- List found documents as reference links (do NOT duplicate content)
|
|
188
|
+
|
|
189
|
+
---
|
|
190
|
+
|
|
191
|
+
## PHASE 5: DOCUMENT GENERATION
|
|
192
|
+
|
|
193
|
+
### 5.1 Load Template
|
|
194
|
+
|
|
195
|
+
Read the full template from `{template_path}`.
|
|
196
|
+
|
|
197
|
+
### 5.2 Fill Template
|
|
198
|
+
|
|
199
|
+
Replace all placeholder sections with the data collected in Phases 1-4:
|
|
200
|
+
|
|
201
|
+
- Every `<!-- PLACEHOLDER: ... -->` must be replaced with actual content
|
|
202
|
+
- Remove any placeholder comments that have no data (section stays but shows "Not detected" or equivalent in `{document_output_language}`)
|
|
203
|
+
- Translate ALL fixed text (section titles, labels, descriptions) to `{document_output_language}`
|
|
204
|
+
- Keep code blocks, file paths, and command names in their original form
|
|
205
|
+
|
|
206
|
+
### 5.3 Write Output
|
|
207
|
+
|
|
208
|
+
Save the completed document to `{output_path}`.
|
|
209
|
+
|
|
210
|
+
### 5.4 Completion Summary
|
|
211
|
+
|
|
212
|
+
Output to the user:
|
|
213
|
+
|
|
214
|
+
```
|
|
215
|
+
โ
Onboarding guide generated: {output_path}
|
|
216
|
+
|
|
217
|
+
Sections included:
|
|
218
|
+
- Project Overview
|
|
219
|
+
- Project Structure
|
|
220
|
+
- Dev Environment Setup
|
|
221
|
+
- Development Workflow
|
|
222
|
+
- [BMAD Workflow โ if applicable]
|
|
223
|
+
- Project Status
|
|
224
|
+
- Reference Documents
|
|
225
|
+
- Quick Start Checklist
|
|
226
|
+
```
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 'onboarding'
|
|
3
|
+
description: 'Generate a comprehensive onboarding document for new developers joining this project.'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
IT IS CRITICAL THAT YOU FOLLOW THIS COMMAND: LOAD the FULL @{project-root}/_bmad/bmm/workflows/onboarding/workflow.md, READ its entire contents and follow its directions exactly!
|