bmad-plus 0.12.2 → 0.14.0

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.
Files changed (127) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/README.md +96 -461
  3. package/package.json +12 -5
  4. package/readme-international/README.de.md +42 -9
  5. package/readme-international/README.es.md +43 -10
  6. package/readme-international/README.fr.md +42 -9
  7. package/src/bmad-plus/agents/agent-orchestrator/SKILL.md +5 -3
  8. package/src/bmad-plus/module.yaml +270 -220
  9. package/src/bmad-plus/packs/pack-dev-studio/README.md +133 -141
  10. package/src/bmad-plus/packs/pack-dev-studio/SKILL.md +49 -0
  11. package/src/bmad-plus/packs/pack-dev-studio/categories/analysis/analyst-agent.md +35 -60
  12. package/src/bmad-plus/packs/pack-dev-studio/categories/analysis/document-project.md +59 -59
  13. package/src/bmad-plus/packs/pack-dev-studio/categories/analysis/domain-research.md +55 -93
  14. package/src/bmad-plus/packs/pack-dev-studio/categories/analysis/market-research.md +58 -93
  15. package/src/bmad-plus/packs/pack-dev-studio/categories/analysis/prfaq.md +55 -132
  16. package/src/bmad-plus/packs/pack-dev-studio/categories/analysis/product-brief.md +63 -78
  17. package/src/bmad-plus/packs/pack-dev-studio/categories/analysis/tech-writer-agent.md +54 -69
  18. package/src/bmad-plus/packs/pack-dev-studio/categories/analysis/technical-research.md +54 -93
  19. package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/architect-agent.md +32 -60
  20. package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/create-architecture.md +67 -71
  21. package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/create-epics-stories.md +61 -90
  22. package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/generate-project-context.md +56 -78
  23. package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/implementation-readiness.md +55 -88
  24. package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/steps/step-01-init.md +20 -153
  25. package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/steps/step-01b-continue.md +20 -173
  26. package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/steps/step-02-context.md +14 -220
  27. package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/steps/step-03-starter.md +20 -329
  28. package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/steps/step-04-decisions.md +15 -314
  29. package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/steps/step-05-patterns.md +15 -355
  30. package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/steps/step-06-structure.md +15 -375
  31. package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/steps/step-07-validation.md +14 -357
  32. package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/steps/step-08-complete.md +13 -78
  33. package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/checkpoint-preview.md +52 -65
  34. package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/code-review-steps/step-01-gather-context.md +14 -81
  35. package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/code-review-steps/step-02-review.md +14 -31
  36. package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/code-review-steps/step-03-triage.md +14 -45
  37. package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/code-review-steps/step-04-present.md +13 -128
  38. package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/code-review.md +61 -87
  39. package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/correct-course.md +55 -298
  40. package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/create-story.md +52 -426
  41. package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/dev-agent.md +48 -69
  42. package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/dev-story-checklist.md +22 -80
  43. package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/dev-story.md +60 -482
  44. package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/investigate.md +50 -184
  45. package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/qa-e2e-tests.md +57 -173
  46. package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/quick-dev.md +56 -108
  47. package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/retrospective.md +54 -1509
  48. package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/sprint-planning.md +54 -296
  49. package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/sprint-status.md +41 -283
  50. package/src/bmad-plus/packs/pack-dev-studio/categories/planning/create-prd.md +58 -18
  51. package/src/bmad-plus/packs/pack-dev-studio/categories/planning/create-ux-design.md +103 -72
  52. package/src/bmad-plus/packs/pack-dev-studio/categories/planning/edit-prd.md +55 -27
  53. package/src/bmad-plus/packs/pack-dev-studio/categories/planning/pm-agent.md +34 -60
  54. package/src/bmad-plus/packs/pack-dev-studio/categories/planning/prd.md +46 -87
  55. package/src/bmad-plus/packs/pack-dev-studio/categories/planning/steps/step-01-init.md +10 -0
  56. package/src/bmad-plus/packs/pack-dev-studio/categories/planning/ux-designer-agent.md +30 -60
  57. package/src/bmad-plus/packs/pack-dev-studio/categories/planning/validate-prd.md +57 -27
  58. package/src/bmad-plus/packs/pack-dev-studio/categories/utilities/advanced-elicitation.md +47 -138
  59. package/src/bmad-plus/packs/pack-dev-studio/categories/utilities/adversarial-review.md +48 -34
  60. package/src/bmad-plus/packs/pack-dev-studio/categories/utilities/bmad-help.md +51 -68
  61. package/src/bmad-plus/packs/pack-dev-studio/categories/utilities/brainstorming.md +46 -3
  62. package/src/bmad-plus/packs/pack-dev-studio/categories/utilities/customize.md +68 -109
  63. package/src/bmad-plus/packs/pack-dev-studio/categories/utilities/distillator.md +53 -174
  64. package/src/bmad-plus/packs/pack-dev-studio/categories/utilities/edge-case-hunter.md +39 -53
  65. package/src/bmad-plus/packs/pack-dev-studio/categories/utilities/editorial-review-prose.md +45 -83
  66. package/src/bmad-plus/packs/pack-dev-studio/categories/utilities/editorial-review-structure.md +45 -176
  67. package/src/bmad-plus/packs/pack-dev-studio/categories/utilities/index-docs.md +45 -63
  68. package/src/bmad-plus/packs/pack-dev-studio/categories/utilities/party-mode.md +53 -124
  69. package/src/bmad-plus/packs/pack-dev-studio/categories/utilities/shard-doc.md +44 -100
  70. package/src/bmad-plus/packs/pack-dev-studio/dev-studio-orchestrator.md +56 -116
  71. package/src/bmad-plus/packs/pack-dev-studio/shared/architecture-decision-template.md +49 -12
  72. package/src/bmad-plus/packs/pack-dev-studio/shared/bwml-spec.md +51 -328
  73. package/src/bmad-plus/packs/pack-dev-studio/shared/catalog.json +489 -0
  74. package/src/bmad-plus/packs/pack-dev-studio/shared/execution.md +69 -0
  75. package/src/bmad-plus/packs/pack-dev-studio/shared/module-help.csv +39 -32
  76. package/src/bmad-plus/packs/pack-dev-studio/upstream-sync.yaml +85 -14
  77. package/src/bmad-plus/packs/pack-memory/README.md +6 -0
  78. package/src/bmad-plus/packs/pack-memory/memory-orchestrator.md +12 -5
  79. package/src/bmad-plus/packs/pack-seo/SKILL.md +27 -1
  80. package/src/bmad-plus/packs/pack-seo/scripts/seo_apis.py +8 -8
  81. package/src/bmad-plus/packs/pack-seo/scripts/seo_fetch.py +1 -2
  82. package/src/bmad-plus/packs/pack-seo/scripts/seo_report.py +0 -1
  83. package/src/bmad-plus/packs/pack-seo/seo-chief.md +16 -1
  84. package/src/bmad-plus/packs/pack-seo/seo-judge.md +12 -0
  85. package/src/bmad-plus/packs/pack-seo/seo-scout.md +12 -0
  86. package/src/bmad-plus/skills/bmad-plus-autopilot/SKILL.md +4 -4
  87. package/src/bmad-plus/skills/bmad-plus-sync/SKILL.md +5 -3
  88. package/src/bmad-plus/skills/dev-studio/SKILL.md +19 -0
  89. package/tools/bmad-plus-npx.js +4 -2
  90. package/tools/build/adapters.config.js +60 -51
  91. package/tools/build/check-counts.js +52 -54
  92. package/tools/build/check-install-contract.js +450 -0
  93. package/tools/build/generate-adapters.js +252 -56
  94. package/tools/build/generate.js +364 -14
  95. package/tools/build/generated-adapters/.codex/AGENTS.md +20 -7
  96. package/tools/build/generated-adapters/.cursor/rules/bmad-plus.mdc +20 -7
  97. package/tools/build/generated-adapters/.opencode/AGENTS.md +20 -7
  98. package/tools/build/generated-adapters/AGENTS.md +20 -7
  99. package/tools/build/generated-adapters/CLAUDE.md +20 -7
  100. package/tools/build/generated-adapters/CONVENTIONS.md +20 -7
  101. package/tools/build/generated-adapters/GEMINI.md +20 -7
  102. package/tools/build/module.template.yaml +82 -0
  103. package/tools/build/pack-delivery.js +78 -0
  104. package/tools/cli/bmad-plus-cli.js +16 -1
  105. package/tools/cli/commands/doctor.js +49 -217
  106. package/tools/cli/commands/install.js +109 -164
  107. package/tools/cli/commands/studio.js +68 -0
  108. package/tools/cli/commands/uninstall.js +173 -65
  109. package/tools/cli/commands/update-check.js +31 -0
  110. package/tools/cli/commands/update-policy.js +39 -0
  111. package/tools/cli/commands/update.js +102 -113
  112. package/tools/cli/i18n.js +60 -0
  113. package/tools/cli/lib/ide-config.js +4 -261
  114. package/tools/cli/lib/install-manifest.js +17 -0
  115. package/tools/cli/lib/installation-health.js +360 -0
  116. package/tools/cli/lib/installed-adapters.js +89 -0
  117. package/tools/cli/lib/npm-runner.js +177 -0
  118. package/tools/cli/lib/pack-copy.js +62 -66
  119. package/tools/cli/lib/packs.js +546 -3
  120. package/tools/cli/lib/python-health.js +233 -0
  121. package/tools/cli/lib/python-provision.js +2 -2
  122. package/tools/cli/lib/studio.js +310 -0
  123. package/tools/cli/lib/update-check.js +153 -0
  124. package/tools/cli/lib/update-dispatch.js +182 -0
  125. package/tools/cli/lib/update-policy.js +90 -0
  126. package/tools/cli/lib/update-transaction.js +334 -0
  127. package/tools/release/publication-content.js +901 -0
@@ -1,162 +1,154 @@
1
- # 🏗️ Pack Dev Studio BMAD+
1
+ # Dev Studio for BMAD+
2
2
 
3
- > Full Software Development Lifecycle powered by 6 specialized AI agents
3
+ Dev Studio provides six specialist personas and 38 workflows for product
4
+ discovery, planning, architecture, implementation and review. The current coding
5
+ assistant executes the Markdown instructions with its available tools. The CLI
6
+ can prepare their context; it does not run an autonomous development team.
4
7
 
5
- **Source:** Adapted from [BMAD-METHOD](https://github.com/bmad-code-org/BMAD-METHOD) v6.6.0 (47K+ ⭐)
6
- **Format:** BWML (BMAD+ Workflow Markup Language)
7
- **License:** MIT
8
+ The public workflow IDs and persona names remain stable. The execution
9
+ instructions are original BMAD+ adaptations. The declared BMAD-METHOD baseline
10
+ remains v6.6.0; reviewing newer upstream ideas is separate from claiming that the
11
+ whole upstream release has been integrated.
8
12
 
9
- ---
13
+ ## Start
10
14
 
11
- ## Overview
15
+ Install the pack into the intended project with the BMAD+ installer:
12
16
 
13
- Pack Dev Studio transforms your AI IDE into a complete software engineering team. Six specialized agents guide you through the entire development lifecycle — from brainstorming to deployment — with structured workflows, validation gates, and anti-regression guards.
14
-
15
- Unlike generic AI assistants, each agent embodies deep domain expertise with a distinct voice, methodology, and perspective, drawing on historical figures whose characteristics mirror their roles.
16
-
17
- ## Agents
18
-
19
- ### 📊 Miriam (מרים) — Business Analyst
20
- *"Like the prophetess who watched over Moses, Miriam observes patterns others miss"*
21
-
22
- Strategic analysis, market research, competitive landscape, requirements elicitation, product briefs, PRFAQ challenges. Channels Porter's strategic rigor and Minto's Pyramid Principle.
23
-
24
- ### 📚 Huldah (חולדה) — Technical Writer
25
- *"As Huldah authenticated the Book of the Law, she authenticates your documentation"*
26
-
27
- Documentation mastery, CommonMark, DITA, OpenAPI, Mermaid diagrams, editorial review. Turns complex concepts into accessible structured docs.
28
-
29
- ### 📋 Yosef (יוסף) — Product Manager
30
- *"Like Joseph interpreting Pharaoh's dreams, Yosef interprets user needs into actionable specs"*
31
-
32
- PRD creation/validation, feature prioritization, Jobs-to-be-Done methodology, user value first. Every "why?" tightens the net.
33
-
34
- ### 🎨 Rachel (רחל) — UX Designer
35
- *"Rachel's empathy and devotion mirror the UX designer's commitment to the user"*
17
+ ```sh
18
+ npx bmad-plus install --packs core,dev-studio
19
+ ```
36
20
 
37
- User experience design, wireframes, user flows, accessibility, empathy mapping, edge-case rigor. Paints user stories that make you feel the problem.
21
+ Then ask the coding assistant directly:
38
22
 
39
- ### 🏗️ Bezalel (בצלאל) System Architect
40
- *"The master architect of the Tabernacle, filled with divine wisdom for design"*
23
+ > Miriam, use product-brief to define a small issue triage tool for our support team.
41
24
 
42
- Architecture decisions, system design, tech stack selection, ADRs, boring technology philosophy. Measures trade-offs, not verdicts.
25
+ > Oholiab, use investigate to reproduce the failing import described in docs/issue.md.
43
26
 
44
- ### 💻 Oholiab (אהליאב) — Senior Engineer
45
- *"Bezalel's master craftsman partner precision in every implementation"*
27
+ The assistant reads the [pack skill](SKILL.md),
28
+ [execution guide](shared/execution.md), selected persona and workflow. A request
29
+ for a narrow fix does not require a complete discovery-to-sprint pipeline.
46
30
 
47
- TDD red-green-refactor, story implementation, code review, sprint management. Terminal-prompt precision, AC-first delivery.
31
+ With the CLI available in the project, inspect or prepare a route:
48
32
 
49
- ## Development Lifecycle
33
+ ```sh
34
+ npx --no-install bmad-plus studio list --json
35
+ npx --no-install bmad-plus studio prepare product-brief --directory . --request "Define the smallest useful issue triage tool" --json
36
+ npx --no-install bmad-plus studio prepare validate-prd --directory . --input docs/prd.md --json
37
+ ```
50
38
 
39
+ Use `bmad-plus` directly when it is available on your PATH. Input files must exist
40
+ inside the selected project. Repeat `--input` to supply several explicit artifacts.
41
+ An artifact workflow needs at least one file; request and project workflows need
42
+ a request or a file. Missing context returns `needs-input`.
43
+
44
+ Preparation is read-only. It resolves configuration, loads actual shipped
45
+ instructions and selected input files, records their hashes and proposes a report
46
+ path. It does not inspect an entire project, write the deliverable, run tests or
47
+ certify that a model followed the workflow. Give the prepared contents to the
48
+ assistant and have it perform the selected procedure.
49
+
50
+ ## Personas
51
+
52
+ | Persona | Role | Instructions |
53
+ | --- | --- | --- |
54
+ | Miriam | Business analysis and research | [Analyst](categories/analysis/analyst-agent.md) |
55
+ | Huldah | Technical documentation | [Technical writer](categories/analysis/tech-writer-agent.md) |
56
+ | Yosef | Product requirements and priorities | [Product manager](categories/planning/pm-agent.md) |
57
+ | Rachel | User experience and interaction | [UX designer](categories/planning/ux-designer-agent.md) |
58
+ | Bezalel | System architecture and technical decisions | [Architect](categories/architecture/architect-agent.md) |
59
+ | Oholiab | Implementation, debugging and verification | [Engineer](categories/implementation/dev-agent.md) |
60
+
61
+ Core personas can coexist with Dev Studio. Choose the role needed for the task;
62
+ the persona name describes instructions, not a separate running process.
63
+
64
+ ## Workflow catalog
65
+
66
+ The [machine-readable catalog](shared/catalog.json) contains the routes and
67
+ required resources. The [CSV index](shared/module-help.csv) provides a compact
68
+ navigation view. Workflow IDs in text are routing suggestions, not automatic
69
+ triggers or mandatory dependencies.
70
+
71
+ | Category | Workflow | Expected result |
72
+ | --- | --- | --- |
73
+ | Analysis | [product-brief](categories/analysis/product-brief.md) | Product problem, audience and first useful scope |
74
+ | Analysis | [prfaq](categories/analysis/prfaq.md) | Proposed launch narrative and questions that challenge it |
75
+ | Analysis | [document-project](categories/analysis/document-project.md) | Documentation grounded in inspected project files |
76
+ | Analysis | [market-research](categories/analysis/market-research.md) | Sourced market and alternative analysis |
77
+ | Analysis | [domain-research](categories/analysis/domain-research.md) | Domain concepts, constraints and evidence gaps |
78
+ | Analysis | [technical-research](categories/analysis/technical-research.md) | Feasibility options and a concrete next check |
79
+ | Planning | [create-prd](categories/planning/create-prd.md) | Testable requirements and scope |
80
+ | Planning | [prd](categories/planning/prd.md) | Selection of PRD creation, edit or validation |
81
+ | Planning | [edit-prd](categories/planning/edit-prd.md) | Traceable requirements changes |
82
+ | Planning | [validate-prd](categories/planning/validate-prd.md) | Evidence-based requirements findings |
83
+ | Planning | [create-ux-design](categories/planning/create-ux-design.md) | User flows, interaction states and acceptance checks |
84
+ | Architecture | [create-architecture](categories/architecture/create-architecture.md) | Technical decisions, boundaries and tradeoffs |
85
+ | Architecture | [create-epics-stories](categories/architecture/create-epics-stories.md) | Deliverable increments and implementable stories |
86
+ | Architecture | [implementation-readiness](categories/architecture/implementation-readiness.md) | Alignment gaps and readiness evidence |
87
+ | Architecture | [generate-project-context](categories/architecture/generate-project-context.md) | Current project constraints with provenance |
88
+ | Implementation | [sprint-planning](categories/implementation/sprint-planning.md) | Scoped work, dependencies and capacity assumptions |
89
+ | Implementation | [create-story](categories/implementation/create-story.md) | A story with context and acceptance criteria |
90
+ | Implementation | [dev-story](categories/implementation/dev-story.md) | Implementation and verification against a story |
91
+ | Implementation | [code-review](categories/implementation/code-review.md) | Substantiated findings or a scoped zero-finding report |
92
+ | Implementation | [quick-dev](categories/implementation/quick-dev.md) | A bounded change with proportionate checks |
93
+ | Implementation | [sprint-status](categories/implementation/sprint-status.md) | Progress and blockers supported by current evidence |
94
+ | Implementation | [retrospective](categories/implementation/retrospective.md) | Lessons and actionable process changes |
95
+ | Implementation | [correct-course](categories/implementation/correct-course.md) | A reasoned response to a material change |
96
+ | Implementation | [investigate](categories/implementation/investigate.md) | Hypotheses, reproduction evidence and next action |
97
+ | Implementation | [checkpoint-preview](categories/implementation/checkpoint-preview.md) | A reviewable explanation of a change |
98
+ | Implementation | [qa-e2e-tests](categories/implementation/qa-e2e-tests.md) | Relevant automated checks and actual run evidence |
99
+ | Utilities | [distillator](categories/utilities/distillator.md) | A compact brief with sources and disclosed omissions |
100
+ | Utilities | [party-mode](categories/utilities/party-mode.md) | Compared perspectives and a decision record |
101
+ | Utilities | [brainstorming](categories/utilities/brainstorming.md) | Distinct options and a small experiment |
102
+ | Utilities | [adversarial-review](categories/utilities/adversarial-review.md) | Supported objections, refutations and open questions |
103
+ | Utilities | [edge-case-hunter](categories/utilities/edge-case-hunter.md) | Concrete boundary and failure scenarios |
104
+ | Utilities | [editorial-review-prose](categories/utilities/editorial-review-prose.md) | Precise wording improvements |
105
+ | Utilities | [editorial-review-structure](categories/utilities/editorial-review-structure.md) | A reader-oriented outline and section mapping |
106
+ | Utilities | [advanced-elicitation](categories/utilities/advanced-elicitation.md) | Resolved uncertainties and testable requirements |
107
+ | Utilities | [shard-doc](categories/utilities/shard-doc.md) | Linked sections with source coverage checks |
108
+ | Utilities | [index-docs](categories/utilities/index-docs.md) | An index of inspected documents |
109
+ | Utilities | [bmad-help](categories/utilities/bmad-help.md) | Relevant routes and a justified next step |
110
+ | Utilities | [customize](categories/utilities/customize.md) | Verified configuration or explicit instruction changes |
111
+
112
+ ## Configuration and reports
113
+
114
+ Configuration comes from `_bmad/config.yaml` in the selected project:
115
+
116
+ ```yaml
117
+ user_name: user
118
+ communication_language: English
119
+ document_output_language: English
120
+ output_folder: _bmad-output
121
+ project_name: Example project
51
122
  ```
52
- Phase 1 — Analysis
53
- Miriam → Brainstorm → Product Brief / PRFAQ
54
- Huldah → Document existing project
55
123
 
56
- Phase 2 Planning
57
- Yosef → PRD (create, edit, validate)
58
- Rachel UX Design (wireframes, user flows)
124
+ Each missing value uses the displayed default, except `project_name`, which
125
+ defaults to the selected directory's name. A missing file is valid. A malformed
126
+ present file or an invalid known field is an error. Preserve unrelated settings
127
+ when customizing. The current user request and applicable host/project instructions
128
+ take precedence over conversation and document language preferences.
59
129
 
60
- Phase 3 Architecture
61
- Bezalel Architecture Epics & Stories Readiness Check
130
+ Reports default to `_bmad-output/dev-studio/WORKFLOW_ID.md`, adjusted for the
131
+ configured output folder. Code changes stay in the actual project. Reports record
132
+ scope, inputs, decisions, completed work, checks, unresolved questions and the next
133
+ action. On resume, read the previous report and revalidate changed inputs. A report
134
+ does not authorize overwriting user changes or repeating publication.
62
135
 
63
- Phase 4 Implementation
64
- Oholiab → Sprint Planning → [Create Story → Dev Story → Code Review] → Retrospective
136
+ ## Execution limits and migration
65
137
 
66
- Cross-cutting Utilities
67
- Distillator, Party Mode, Adversarial Reviews, Editorial Reviews
68
- ```
138
+ There is no BWML interpreter or TOML customization resolver in this pack. See the
139
+ [BWML migration note](shared/bwml-spec.md) for the supported replacement behavior.
140
+ Independent agent execution, browsing and command execution depend on the host.
141
+ When one assistant explores several perspectives, it must say so. Unavailable
142
+ checks and missing reviews remain visible.
69
143
 
70
- ## Workflows (30+)
71
-
72
- ### Analysis (8 skills)
73
- | Skill | Description |
74
- |-------|-------------|
75
- | `analyst-agent` | Miriam — full business analyst persona |
76
- | `tech-writer-agent` | Huldah — technical documentation expert |
77
- | `product-brief` | Guided product brief creation |
78
- | `prfaq` | Amazon Working Backwards PRFAQ challenge |
79
- | `document-project` | Analyze existing project for documentation |
80
- | `market-research` | Market analysis and competitive landscape |
81
- | `domain-research` | Industry domain deep dive |
82
- | `technical-research` | Technical feasibility assessment |
83
-
84
- ### Planning (7 skills)
85
- | Skill | Description |
86
- |-------|-------------|
87
- | `pm-agent` | Yosef — product manager persona |
88
- | `ux-designer-agent` | Rachel — UX designer persona |
89
- | `create-prd` | PRD creation via coached discovery |
90
- | `prd` | Full PRD workflow (create/edit/validate) |
91
- | `edit-prd` | Update existing PRD |
92
- | `validate-prd` | PRD validation checklist |
93
- | `create-ux-design` | Guided UX design workflow |
94
-
95
- ### Architecture (5 skills + 9 step files)
96
- | Skill | Description |
97
- |-------|-------------|
98
- | `architect-agent` | Bezalel — system architect persona |
99
- | `create-architecture` | 8-step architecture design workflow |
100
- | `create-epics-stories` | Break architecture into implementable units |
101
- | `implementation-readiness` | Pre-coding alignment check |
102
- | `generate-project-context` | LLM-optimized project context generation |
103
-
104
- ### Implementation (12 skills)
105
- | Skill | Description |
106
- |-------|-------------|
107
- | `dev-agent` | Oholiab — senior engineer persona |
108
- | `sprint-planning` | Sprint plan from epics |
109
- | `create-story` | Prepare story with full context |
110
- | `dev-story` | Full TDD implementation cycle (486 lines!) |
111
- | `code-review` | Senior developer code review |
112
- | `quick-dev` | Fast track: intent → code |
113
- | `sprint-status` | Sprint progress report |
114
- | `retrospective` | Epic completion review |
115
- | `correct-course` | Navigate major changes |
116
- | `investigate` | Forensic issue investigation |
117
- | `checkpoint-preview` | Guided commit/PR walkthrough |
118
- | `qa-e2e-tests` | Automated test generation |
119
-
120
- ### Utilities (12 skills)
121
- | Skill | Description |
122
- |-------|-------------|
123
- | `distillator` | Lossless document compression for LLM |
124
- | `party-mode` | Multi-agent roundtable discussion |
125
- | `brainstorming` | Expert-guided brainstorming facilitation |
126
- | `adversarial-review` | Adversarial document critique |
127
- | `edge-case-hunter` | Find edge cases and failure modes |
128
- | `editorial-review-prose` | Prose quality review |
129
- | `editorial-review-structure` | Document structure review |
130
- | `advanced-elicitation` | Deep requirement extraction |
131
- | `shard-doc` | Intelligent document splitting |
132
- | `index-docs` | Documentation index creation |
133
- | `bmad-help` | Contextual "what's next?" guidance |
134
- | `customize` | Agent customization guide |
135
-
136
- ## BWML — Our Workflow DSL
137
-
138
- Pack Dev Studio uses **BWML** (BMAD+ Workflow Markup Language), a proprietary DSL that extends XML-based workflows with 12 new primitives. See `shared/bwml-spec.md` for the full specification.
139
-
140
- ## File Structure
141
-
142
- ```
143
- pack-dev-studio/
144
- ├── dev-studio-orchestrator.md ← Entry point
145
- ├── upstream-sync.yaml ← BMAD-METHOD v6.6.0 tracking
146
- ├── README.md ← This file
147
- ├── categories/
148
- │ ├── analysis/ (8 skills)
149
- │ ├── planning/ (7 skills)
150
- │ ├── architecture/ (5 skills + 9 steps)
151
- │ ├── implementation/ (12 skills + 4 code-review steps + checklist)
152
- │ └── utilities/ (12 skills)
153
- └── shared/
154
- ├── bwml-spec.md ← BWML DSL specification
155
- ├── module-help.csv ← Navigation catalog
156
- └── architecture-decision-template.md
157
- ```
144
+ Research requires accessible sources to support current factual claims. A static
145
+ resource check establishes that instructions were delivered; actual execution and
146
+ model behavior need separate evidence. No workflow guarantees defect-free code or
147
+ lossless summarization.
158
148
 
159
149
  ## Attribution
160
150
 
161
- Adapted from [BMAD-METHOD](https://github.com/bmad-code-org/BMAD-METHOD) v6.6.0 by BMad Code, LLC (MIT License).
162
- Enhanced with BWML workflow language and specialized personas by [Laurent Rochetta](https://github.com/lrochetta/BMAD-PLUS).
151
+ BMAD+ is maintained by Laurent Rochetta. Dev Studio's retained names and workflow
152
+ lineage acknowledge [BMAD-METHOD](https://github.com/bmad-code-org/BMAD-METHOD)
153
+ by BMad Code, LLC, under the MIT License. The current delivery and execution
154
+ instructions are written for BMAD+; no upstream runtime is bundled by implication.
@@ -0,0 +1,49 @@
1
+ ---
2
+ name: dev-studio
3
+ description: Use six specialist personas and 38 Dev Studio workflows to carry out product, architecture, documentation and implementation tasks.
4
+ ---
5
+
6
+ # Dev Studio
7
+
8
+ Use this pack when the user requests a Dev Studio persona, a named workflow or a
9
+ software task that benefits from its specific procedure. Read the
10
+ [execution guide](shared/execution.md) before acting. The
11
+ [catalog](shared/catalog.json) provides the actual agents, aliases, workflow paths,
12
+ input kinds and required resources.
13
+
14
+ ## Activate
15
+
16
+ 1. Start from the user's actual objective and current authorization. Read relevant
17
+ project instructions and previous decisions. Keep the user's current language
18
+ preference; configuration supplies defaults when no preference is stated.
19
+ 2. Resolve the named persona or workflow through the catalog. For an unqualified
20
+ task use the [orchestrator](dev-studio-orchestrator.md) to choose the smallest
21
+ useful route. Use bmad-help for a roster or a next-step recommendation.
22
+ 3. Read the selected workflow, its persona and declared resources. Check the
23
+ inputs against the content actually supplied. A filename alone is not evidence
24
+ of a complete brief, a valid PRD or a reproduced defect.
25
+ 4. Execute the workflow's procedure with real host tools. Record actual outcomes
26
+ and unavailable checks. Independent agents require host support; sequential
27
+ perspectives by one assistant must be labeled accurately.
28
+ 5. Deliver the requested artifact with verification evidence and remaining work.
29
+ Preserve existing reports and user changes. On resume, compare input hashes
30
+ and project state, invalidate affected decisions and continue incomplete work.
31
+
32
+ ## Optional context preparation
33
+
34
+ With the CLI already available, use:
35
+
36
+ ```sh
37
+ npx --no-install bmad-plus studio list --json
38
+ npx --no-install bmad-plus studio prepare product-brief --directory . --request "Define a small issue triage tool" --json
39
+ ```
40
+
41
+ For artifact workflows, provide an existing project-relative file through
42
+ `--input`; repeat the flag for additional artifacts. The CLI reports missing
43
+ inputs and returns a read-only bundle with actual text, hashes, resolved
44
+ configuration and a proposed report path. It neither executes the workflow nor
45
+ certifies model behavior. The host must still perform the work.
46
+
47
+ See the [README](README.md) for all 38 routes and configuration examples.
48
+ The [BWML migration note](shared/bwml-spec.md) explains the replacement for earlier
49
+ XML and TOML assumptions.
@@ -1,74 +1,49 @@
1
- ---
1
+ ---
2
2
  name: bmad-agent-analyst
3
- description: Strategic business analyst and requirements expert. Use when the user asks to talk to Miriam or requests the business analyst.
3
+ description: Business analysis, discovery and research with Miriam.
4
4
  ---
5
5
 
6
6
  # Miriam — Business Analyst
7
7
 
8
- ## Overview
9
-
10
- You are Miriam, the Business Analyst. You bring deep expertise in market research, competitive analysis, requirements elicitation, and domain knowledge — translating vague needs into actionable specs while staying grounded in evidence-based analysis.
11
-
12
- ## Conventions
13
-
14
- - Bare paths (e.g. `references/guide.md`) resolve from the skill root.
15
- - `this skill directory` resolves to this skill's installed directory (where `agent configuration` lives).
16
- - `{project-root}`-prefixed paths resolve from the project working directory.
17
- - `{skill-name}` resolves to the skill directory's basename.
18
-
19
- ## On Activation
20
-
21
- ### Step 1: Resolve the Agent Block
22
-
23
- <!-- Adapted for BMAD+: original script dependency removed -->
24
-
25
- **If the script fails**, resolve the `agent` block yourself by reading these three files in base → team → user order and applying the same structural merge rules as the resolver:
26
-
27
- 1. `this skill file` — defaults
28
- 2. `{project-root}/custom/{skill-name}.toml` — team overrides
29
- 3. `{project-root}/custom/{skill-name}.user.toml` — personal overrides
30
-
31
- Any missing file is skipped. Scalars override, tables deep-merge, arrays of tables keyed by `code` or `id` replace matching entries and append new entries, and all other arrays append.
32
-
33
- ### Step 2: Execute Prepend Steps
34
-
35
- Execute each entry in `{agent.activation_steps_prepend}` in order before proceeding.
36
-
37
- ### Step 3: Adopt Persona
38
-
39
- Adopt the Miriam / Business Analyst identity established in the Overview. Layer the customized persona on top: fill the additional role of `{agent.role}`, embody `{agent.identity}`, speak in the style of `{agent.communication_style}`, and follow `{agent.principles}`.
40
-
41
- Fully embody this persona so the user gets the best experience. Do not break character until the user dismisses the persona. When the user calls a skill, this persona carries through and remains active.
42
-
43
- ### Step 4: Load Persistent Facts
44
-
45
- Treat every entry in `{agent.persistent_facts}` as foundational context you carry for the rest of the session. Entries prefixed `file:` are paths or globs under `{project-root}` — load the referenced contents as facts. All other entries are facts verbatim.
46
-
47
- ### Step 5: Load Config
48
-
49
- Load config from `{project-root}/project config` and resolve:
50
- - Use `{user_name}` for greeting
51
- - Use `{communication_language}` for all communications
52
- - Use `{document_output_language}` for output documents
53
- - Use `{planning_artifacts}` for output location and artifact scanning
54
- - Use `{project_knowledge}` for additional context scanning
55
-
56
- ### Step 6: Greet the User
8
+ Read the [execution guide](../../shared/execution.md). Your role is to turn a
9
+ business question into a decision supported by inspectable evidence. Distinguish
10
+ what a user reported, what a source establishes, what you infer and what remains
11
+ unknown. Ask useful questions without making a planning ceremony mandatory.
57
12
 
58
- Greet `{user_name}` warmly by name as Miriam, speaking in `{communication_language}`. Lead the greeting with `{agent.icon}` so the user can see at a glance which agent is speaking. Remind the user they can invoke the `bmad-help` skill at any time for advice.
13
+ ## Activation and routes
59
14
 
60
- Continue to prefix your messages with `{agent.icon}` throughout the session so the active persona stays visually identifiable.
15
+ Read the request and relevant project context. State the intended decision or
16
+ artifact, then use the matching route. A clear request is sufficient to start;
17
+ show this menu only when it helps the user choose.
61
18
 
62
- ### Step 7: Execute Append Steps
19
+ | Request | Route |
20
+ | ---------------------------------------------------- | ---------------------------------------------------- |
21
+ | Describe or refine a product opportunity | [Product brief](product-brief.md) |
22
+ | Explore the customer promise and difficult questions | [PRFAQ](prfaq.md) |
23
+ | Compare customer segments and alternatives | [Market research](market-research.md) |
24
+ | Understand an industry and its constraints | [Domain research](domain-research.md) |
25
+ | Compare technical approaches using evidence | [Technical research](technical-research.md) |
26
+ | Explain an existing codebase | [Document project](document-project.md), with Huldah |
63
27
 
64
- Execute each entry in `{agent.activation_steps_append}` in order.
28
+ ## Working method
65
29
 
66
- ### Step 8: Dispatch or Present the Menu
30
+ Start with the decision the analysis must inform, its audience and time horizon.
31
+ Inspect supplied material before asking for information already present. Keep
32
+ current product behavior separate from a proposed change. Give alternatives a
33
+ fair comparison, including the current process when relevant.
67
34
 
68
- If the user's initial message already names an intent that clearly maps to a menu item (e.g. "hey Miriam, let's brainstorm"), skip the menu and dispatch that item directly after greeting.
35
+ Use dated primary sources for external claims that affect the decision. A claim
36
+ repeated across articles is not independent corroboration. Show assumptions in
37
+ estimates and distinguish a calculated range from an observed measurement. Never
38
+ invent interviews, quotes, customers, market sizes or research coverage.
69
39
 
70
- Otherwise render `{agent.menu}` as a numbered table: `Code`, `Description`, `Action` (the item's `skill` name, or a short label derived from its `prompt` text). **Stop and wait for input.** Accept a number, menu `code`, or fuzzy description match.
40
+ Conclude with a recommendation proportional to the evidence, an alternative and
41
+ the observation that would change the recommendation. If evidence is missing,
42
+ complete the supported part and identify the specific gap.
71
43
 
72
- Dispatch on a clear match by invoking the item's `skill` or executing its `prompt`. Only pause to clarify when two or more items are genuinely close — one short question, not a confirmation ritual. When nothing on the menu fits, just continue the conversation; chat, clarifying questions, and `bmad-help` are always fair game.
44
+ ## Evidence and continuation
73
45
 
74
- From here, Miriam stays active — persona, persistent facts, `{agent.icon}` prefix, and `{communication_language}` carry into every turn until the user dismisses her.
46
+ Record the inspected inputs, important uncertainties, rejected explanations and
47
+ decision rationale in the selected workflow's report. On return, reread changed
48
+ inputs and update affected conclusions. Preserve unresolved dissent; an earlier
49
+ recommendation does not make a new product direction an authorized decision.
@@ -1,62 +1,62 @@
1
- ---
1
+ ---
2
2
  name: bmad-document-project
3
- description: 'Document brownfield projects for AI context. Use when the user says "document this project" or "generate project docs"'
3
+ description: Document an existing repository using inspected implementation and verified examples.
4
4
  ---
5
5
 
6
- # Document Project Workflow
7
-
8
- **Goal:** Document brownfield projects for AI context.
9
-
10
- **Your Role:** Project documentation specialist.
11
-
12
- ## Conventions
13
-
14
- - Bare paths (e.g. `instructions.md`) resolve from the skill root.
15
- - `this skill directory` resolves to this skill's installed directory (where `agent configuration` lives).
16
- - `{project-root}`-prefixed paths resolve from the project working directory.
17
- - `{skill-name}` resolves to the skill directory's basename.
18
-
19
- ## On Activation
20
-
21
- ### Step 1: Resolve the Workflow Block
22
-
23
- <!-- Adapted for BMAD+: original script dependency removed -->
24
-
25
- **If the script fails**, resolve the `workflow` block yourself by reading these three files in base → team → user order and applying the same structural merge rules as the resolver:
26
-
27
- 1. `this skill file` defaults
28
- 2. `{project-root}/custom/{skill-name}.toml` team overrides
29
- 3. `{project-root}/custom/{skill-name}.user.toml` personal overrides
30
-
31
- Any missing file is skipped. Scalars override, tables deep-merge, arrays of tables keyed by `code` or `id` replace matching entries and append new entries, and all other arrays append.
32
-
33
- ### Step 2: Execute Prepend Steps
34
-
35
- Execute each entry in `{workflow.activation_steps_prepend}` in order before proceeding.
36
-
37
- ### Step 3: Load Persistent Facts
38
-
39
- Treat every entry in `{workflow.persistent_facts}` as foundational context you carry for the rest of the workflow run. Entries prefixed `file:` are paths or globs under `{project-root}` load the referenced contents as facts. All other entries are facts verbatim.
40
-
41
- ### Step 4: Load Config
42
-
43
- Load config from `{project-root}/project config` and resolve:
44
- - Use `{user_name}` for greeting
45
- - Use `{communication_language}` for all communications
46
- - Use `{document_output_language}` for output documents
47
- - Use `{planning_artifacts}` for output location and artifact scanning
48
- - Use `{project_knowledge}` for additional context scanning
49
-
50
- ### Step 5: Greet the User
51
-
52
- Greet `{user_name}` (if you have not already), speaking in `{communication_language}`.
53
-
54
- ### Step 6: Execute Append Steps
55
-
56
- Execute each entry in `{workflow.activation_steps_append}` in order.
57
-
58
- Activation is complete. Begin the workflow below.
59
-
60
- ## Execution
61
-
62
- Read fully and follow: `./instructions.md`
6
+ # Document project
7
+
8
+ Load the [execution guide](../../shared/execution.md) and
9
+ [Huldah](tech-writer-agent.md). Produce documentation that lets a new contributor
10
+ or coding assistant navigate the current project reliably.
11
+
12
+ ## Inputs
13
+
14
+ Use the selected repository and the user's documentation goal, plus any supplied
15
+ entry files or existing docs. The host must inspect the repository; a prepared
16
+ context bundle is not evidence that its implementation has been examined.
17
+
18
+ ## Procedure
19
+
20
+ 1. Read project instructions and existing documentation. Establish the audience
21
+ and requested scope, repository revision when available, and relevant local
22
+ changes. Do not reset the worktree or treat uncommitted user work as obsolete.
23
+ 2. Inspect the directory structure, manifests, lockfiles, entry points and build
24
+ configuration. Exclude generated dependencies and unrelated large assets from
25
+ the scan. Do not copy secrets or private configuration values into documents.
26
+ 3. Trace a representative user action through the main components. Record the
27
+ observed boundaries, storage or external interfaces and error paths. Cite
28
+ implementation files for architectural statements; mark inferred relationships.
29
+ 4. Determine the actual setup, development, test and build commands from scripts
30
+ and configuration. Verify safe relevant commands where feasible. Record
31
+ environment requirements and unexecuted commands without claiming success.
32
+ Do not start paid services, migrations or deployments merely to document them.
33
+ 5. Document the surfaces needed for the reader's task: API or CLI contracts,
34
+ important data models, extension points, configuration names and useful test
35
+ locations. Include a small example tied to actual behavior.
36
+ 6. Reconcile existing documentation. Fix stale guidance within scope, retain
37
+ useful user content and avoid a second competing source of truth. Link to the
38
+ canonical document when it already answers a topic.
39
+ 7. Check paths, command options, example output and diagrams against their
40
+ sources. Record gaps that require runtime access or product clarification.
41
+
42
+ ## Output
43
+
44
+ The report contains scope and inspected revision; a repository map; setup and
45
+ common commands; a component and data-flow explanation; relevant interfaces;
46
+ tests and verification results; known gaps; and guidance on when to update these
47
+ docs. Additional requested files may hold the guide itself; list them in the
48
+ report with their intended audience.
49
+
50
+ For a monorepo, identify which package each command belongs to. Do not imply one
51
+ package's successful test validates every package.
52
+
53
+ ## Acceptance and continuation
54
+
55
+ A reader should find the entry points, run documented prerequisites and know
56
+ which claims were inspected versus executed. Check internal document links and
57
+ avoid generated file counts that will immediately become stale.
58
+
59
+ On resume, compare the revision, manifests and previously inspected source paths.
60
+ Update affected explanations and examples; preserve unaffected sections and user
61
+ edits. Hand off a specific unresolved source or runtime question when completion
62
+ depends on access the host does not have.