tools/docs/fix-refs.md
Fix reference patterns ONLY. Do not modify links, formatting, structure, or other content.
Fix incorrect references to workflows, agents, and commands in BMad documentation files.
Before fixing references, determine who the document is for:
| Audience | Indicators | Style |
|---|---|---|
| Newbies | tutorials/, getting-started, installation/, "What You'll Learn" | Keep "workflow", include platform hints |
| Experienced | reference/, explanation/ | Drop "workflow", no platform hints |
| How-To | how-to/ | Ask — depends on the task |
How-To guides require judgment: Don't assume experienced. Ask: "Does this task require prior BMad knowledge?" Early-journey tasks (first PRD, first sprint) are newbie docs. Customization and advanced features are experienced.
If unclear: Ask the user "Who is the target audience for this document — new users learning BMad, or experienced users who know the system?"
This determines whether helper words like "workflow" and platform hints are helpful context or just noise.
| Pattern | Example | Problem |
|---|---|---|
*workflow | *prd | Obsolete menu shortcut notation |
/workflow | /workflow-init | Platform-specific slash command |
bmad_bmm_* | bmad_bmm_workflow-init | Internal slash command name, platform-specific |
Use backticks with plain workflow name:
/workflow-init*prdWhen to say "workflow":
prd workflow" — helps them learn what it isprd" — they already know, so "workflow" is noisePlatform hint: Only in newbie docs, and only on the first workflow mention:
help workflow (bmad-help on most platforms)prd — no hint, no "workflow" needed after they've seen the patternIn experienced docs, the hint is always noise — just use the workflow name.
| Old Name | New Name | Notes |
|---|---|---|
workflow-init | bmad-help | DEPRECATED - help system replaces initialization |
workflow-status | bmad-help | DEPRECATED - help system replaces status checking |
The bmad-help workflow is the modern replacement for both workflow-init and workflow-status:
Users can run bmad-help to get guidance on what to do next. It detects:
workflow-namebmad_bmm_ prefix, no / prefixBefore finishing, verify you ONLY changed reference patterns: