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,111 +1,59 @@
1
- ---
1
+ ---
2
2
  name: bmad-quick-dev
3
- description: 'Implements any user intent, requirement, story, bug fix or change request by producing clean working code artifacts that follow the project''s existing architecture, patterns and conventions. Use when the user wants to build, fix, tweak, refactor, add or modify any code, component or feature.'
3
+ description: Implement a bounded request with proportionate investigation and acceptance evidence.
4
4
  ---
5
5
 
6
- # Quick Dev New Preview Workflow
7
-
8
- **Goal:** Turn user intent into a hardened, reviewable artifact.
9
-
10
- **CRITICAL:** If a step says "read fully and follow step-XX", you read and follow step-XX. No exceptions.
11
-
12
- ## READY FOR DEVELOPMENT STANDARD
13
-
14
- A specification is "Ready for Development" when:
15
-
16
- - **Actionable**: Every task has a file path and specific action.
17
- - **Logical**: Tasks ordered by dependency.
18
- - **Testable**: All ACs use Given/When/Then.
19
- - **Complete**: No placeholders or TBDs.
20
-
21
- ## SCOPE STANDARD
22
-
23
- A specification should target a **single user-facing goal** within **900–1600 tokens**:
24
-
25
- - **Single goal**: One cohesive feature, even if it spans multiple layers/files. Multi-goal means >=2 **top-level independent shippable deliverables** — each could be reviewed, tested, and merged as a separate PR without breaking the others. Never count surface verbs, "and" conjunctions, or noun phrases. Never split cross-layer implementation details inside one user goal.
26
- - Split: "add dark mode toggle AND refactor auth to JWT AND build admin dashboard"
27
- - Don't split: "add validation and display errors" / "support drag-and-drop AND paste AND retry"
28
- - **900–1600 tokens**: Optimal range for LLM consumption. Below 900 risks ambiguity; above 1600 risks context-rot in implementation agents.
29
- - **Neither limit is a gate.** Both are proposals with user override.
30
-
31
- ## Conventions
32
-
33
- - Bare paths (e.g. `step-01-clarify-and-route.md`) resolve from the skill root.
34
- - `this skill directory` resolves to this skill's installed directory (where `agent configuration` lives).
35
- - `{project-root}`-prefixed paths resolve from the project working directory.
36
- - `{skill-name}` resolves to the skill directory's basename.
37
-
38
- ## On Activation
39
-
40
- ### Step 1: Resolve the Workflow Block
41
-
42
- <!-- Adapted for BMAD+: original script dependency removed -->
43
-
44
- **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:
45
-
46
- 1. `this skill file` defaults
47
- 2. `{project-root}/custom/{skill-name}.toml` team overrides
48
- 3. `{project-root}/custom/{skill-name}.user.toml` — personal overrides
49
-
50
- 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.
51
-
52
- ### Step 2: Execute Prepend Steps
53
-
54
- Execute each entry in `{workflow.activation_steps_prepend}` in order before proceeding.
55
-
56
- ### Step 3: Load Persistent Facts
57
-
58
- 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.
59
-
60
- ### Step 4: Load Config
61
-
62
- Load config from `{project-root}/project config` and resolve:
63
-
64
- - `project_name`, `planning_artifacts`, `implementation_artifacts`, `user_name`
65
- - `communication_language`, `document_output_language`, `user_skill_level`
66
- - `date` as system-generated current datetime
67
- - `sprint_status` = `{implementation_artifacts}/sprint-status.yaml`
68
- - `project_context` = `**/project-context.md` (load if exists)
69
- - CLAUDE.md / memory files (load if exist)
70
- - YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config `{communication_language}`
71
- - Language MUST be tailored to `{user_skill_level}`
72
- - Generate all documents in `{document_output_language}`
73
-
74
- ### Step 5: Greet the User
75
-
76
- Greet `{user_name}`, speaking in `{communication_language}`.
77
-
78
- ### Step 6: Execute Append Steps
79
-
80
- Execute each entry in `{workflow.activation_steps_append}` in order.
81
-
82
- Activation is complete. Begin the workflow below.
83
-
84
- ## WORKFLOW ARCHITECTURE
85
-
86
- This uses **step-file architecture** for disciplined execution:
87
-
88
- - **Micro-file Design**: Each step is self-contained and followed exactly
89
- - **Just-In-Time Loading**: Only load the current step file
90
- - **Sequential Enforcement**: Complete steps in order, no skipping
91
- - **State Tracking**: Persist progress via spec frontmatter and in-memory variables
92
- - **Append-Only Building**: Build artifacts incrementally
93
-
94
- ### Step Processing Rules
95
-
96
- 1. **READ COMPLETELY**: Read the entire step file before acting
97
- 2. **FOLLOW SEQUENCE**: Execute sections in order
98
- 3. **WAIT FOR INPUT**: Halt at checkpoints and wait for human
99
- 4. **LOAD NEXT**: When directed, read fully and follow the next step file
100
-
101
- ### Critical Rules (NO EXCEPTIONS)
102
-
103
- - **NEVER** load multiple step files simultaneously
104
- - **ALWAYS** read entire step file before execution
105
- - **NEVER** skip steps or optimize the sequence
106
- - **ALWAYS** follow the exact instructions in the step file
107
- - **ALWAYS** halt at checkpoints and wait for human input
108
-
109
- ## FIRST STEP
110
-
111
- Read fully and follow: `./step-01-clarify-and-route.md` to begin the workflow.
6
+ # Quick development
7
+
8
+ Read the [execution guide](../../shared/execution.md) and
9
+ [Oholiab's role](dev-agent.md).
10
+
11
+ ## Inputs
12
+
13
+ A change request or supplied artifact describing the desired behavior. Inspect the
14
+ selected project with host tools. If a current story already supplies the scope,
15
+ reuse it rather than generating a competing specification.
16
+
17
+ ## Procedure
18
+
19
+ 1. Translate the request into an observable outcome and acceptance checks. Inspect
20
+ relevant code, project instructions and the working tree before estimating
21
+ scope. State material assumptions and preserve existing user edits.
22
+ 2. Trace the behavior through the actual implementation. Identify affected
23
+ interfaces, data, dependencies and a useful baseline check. Investigate an
24
+ essential ambiguity before changing the code; continue independent authorized
25
+ work while a necessary answer is pending.
26
+ 3. Choose a proportional implementation plan. A routine edit can use a brief
27
+ checklist. A cross-cutting change needs explicit boundaries and dependencies.
28
+ If the request contains independent deliverables, sequence them as separate
29
+ reviewable slices while retaining the user's overall objective.
30
+ 4. Implement the smallest coherent slice in the project's style. Add focused
31
+ regression coverage when it meaningfully protects changed behavior. Do not
32
+ introduce a framework, dependency upgrade or broad refactor without a concrete
33
+ reason tied to the task.
34
+ 5. Execute acceptance checks and required project validation. Inspect the final
35
+ diff, correct regressions caused by the change and record unavailable or
36
+ unrelated failing checks. Rerun a check only when changes or unresolved evidence
37
+ justify it.
38
+ 6. Deliver the changed artifacts and evidence. State which outcomes are verified,
39
+ which are implemented but unverified, and any remaining dependency. Follow
40
+ existing authorization for commit or publication; finishing code does not
41
+ grant permission for unrelated external actions.
42
+
43
+ ## Output and acceptance
44
+
45
+ Write the report for quick-dev with request, baseline, compact plan, changed files,
46
+ acceptance results and next action. Include a before/after example when it makes
47
+ the result easier to review.
48
+
49
+ Success requires the requested behavior and its applicable checks to be
50
+ established. A plan alone is not an implementation, and a test command listed in
51
+ the report is not an executed test. Do not impose a fixed document size or a
52
+ mandatory full planning pipeline on a small change.
53
+
54
+ ## Continue
55
+
56
+ Read the previous report and inspect current files before editing. Compare inputs,
57
+ preserve completed valid work and reconcile interruptions or concurrent changes.
58
+ Resume the next incomplete slice; do not reset the tree or repeat completed
59
+ external effects to recreate a prior state.