bmad-method 6.3.1-next.22 → 6.3.1-next.24

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 (23) hide show
  1. package/package.json +1 -1
  2. package/src/bmm-skills/4-implementation/bmad-checkpoint-preview/SKILL.md +46 -7
  3. package/src/bmm-skills/4-implementation/bmad-checkpoint-preview/customize.toml +41 -0
  4. package/src/bmm-skills/4-implementation/bmad-checkpoint-preview/step-05-wrapup.md +6 -0
  5. package/src/bmm-skills/4-implementation/bmad-code-review/SKILL.md +85 -1
  6. package/src/bmm-skills/4-implementation/bmad-code-review/customize.toml +41 -0
  7. package/src/bmm-skills/4-implementation/bmad-code-review/steps/step-04-present.md +6 -0
  8. package/src/bmm-skills/4-implementation/bmad-create-story/SKILL.md +12 -0
  9. package/src/bmm-skills/4-implementation/bmad-dev-story/SKILL.md +480 -1
  10. package/src/bmm-skills/4-implementation/bmad-dev-story/customize.toml +41 -0
  11. package/src/bmm-skills/4-implementation/bmad-quick-dev/SKILL.md +106 -1
  12. package/src/bmm-skills/4-implementation/bmad-quick-dev/customize.toml +41 -0
  13. package/src/bmm-skills/4-implementation/bmad-quick-dev/step-05-present.md +6 -0
  14. package/src/bmm-skills/4-implementation/bmad-quick-dev/step-oneshot.md +6 -0
  15. package/src/bmm-skills/4-implementation/bmad-sprint-planning/SKILL.md +294 -1
  16. package/src/bmm-skills/4-implementation/bmad-sprint-planning/customize.toml +41 -0
  17. package/src/bmm-skills/4-implementation/bmad-sprint-status/SKILL.md +292 -1
  18. package/src/bmm-skills/4-implementation/bmad-sprint-status/customize.toml +41 -0
  19. package/src/bmm-skills/4-implementation/bmad-code-review/workflow.md +0 -55
  20. package/src/bmm-skills/4-implementation/bmad-dev-story/workflow.md +0 -450
  21. package/src/bmm-skills/4-implementation/bmad-quick-dev/workflow.md +0 -76
  22. package/src/bmm-skills/4-implementation/bmad-sprint-planning/workflow.md +0 -263
  23. package/src/bmm-skills/4-implementation/bmad-sprint-status/workflow.md +0 -261
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "bmad-method",
4
- "version": "6.3.1-next.22",
4
+ "version": "6.3.1-next.24",
5
5
  "description": "Breakthrough Method of Agile AI-driven Development",
6
6
  "keywords": [
7
7
  "agile",
@@ -7,23 +7,62 @@ description: 'LLM-assisted human-in-the-loop review. Make sense of a change, foc
7
7
 
8
8
  **Goal:** Guide a human through reviewing a change — from purpose and context into details.
9
9
 
10
- You are assisting the user in reviewing a change.
10
+ **Your Role:** You are assisting the user in reviewing a change.
11
11
 
12
- ## Global Step Rules (apply to every step)
12
+ ## Conventions
13
13
 
14
- - **Path:line format** Every code reference must use CWD-relative `path:line` format (no leading `/`) so it is clickable in IDE-embedded terminals (e.g., `src/auth/middleware.ts:42`).
15
- - **Front-load then shut up** Present the entire output for the current step in a single coherent message. Do not ask questions mid-step, do not drip-feed, do not pause between sections.
16
- - **Language** — Speak in `{communication_language}`. Write any file output in `{document_output_language}`.
14
+ - Bare paths (e.g. `step-01-orientation.md`) resolve from the skill root.
15
+ - `{skill-root}` resolves to this skill's installed directory (where `customize.toml` 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
+ Run: `python3 {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow`
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. `{skill-root}/customize.toml` — defaults
28
+ 2. `{project-root}/_bmad/custom/{skill-name}.toml` — team overrides
29
+ 3. `{project-root}/_bmad/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
17
38
 
18
- ## INITIALIZATION
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.
19
40
 
20
- Load and read full config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
41
+ ### Step 4: Load Config
42
+
43
+ Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
21
44
 
22
45
  - `implementation_artifacts`
23
46
  - `planning_artifacts`
24
47
  - `communication_language`
25
48
  - `document_output_language`
26
49
 
50
+ ### Step 5: Greet the User
51
+
52
+ Greet the user, 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
+ ## Global Step Rules (apply to every step)
61
+
62
+ - **Path:line format** — Every code reference must use CWD-relative `path:line` format (no leading `/`) so it is clickable in IDE-embedded terminals (e.g., `src/auth/middleware.ts:42`).
63
+ - **Front-load then shut up** — Present the entire output for the current step in a single coherent message. Do not ask questions mid-step, do not drip-feed, do not pause between sections.
64
+ - **Language** — Speak in `{communication_language}`. Write any file output in `{document_output_language}`.
65
+
27
66
  ## FIRST STEP
28
67
 
29
68
  Read fully and follow `./step-01-orientation.md` to begin.
@@ -0,0 +1,41 @@
1
+ # DO NOT EDIT -- overwritten on every update.
2
+ #
3
+ # Workflow customization surface for bmad-checkpoint-preview. Mirrors the
4
+ # agent customization shape under the [workflow] namespace.
5
+
6
+ [workflow]
7
+
8
+ # --- Configurable below. Overrides merge per BMad structural rules: ---
9
+ # scalars: override wins • arrays (persistent_facts, activation_steps_*): append
10
+ # arrays-of-tables with `code`/`id`: replace matching items, append new ones.
11
+
12
+ # Steps to run before the standard activation (config load, greet).
13
+ # Overrides append. Use for pre-flight loads, compliance checks, etc.
14
+
15
+ activation_steps_prepend = []
16
+
17
+ # Steps to run after greet but before the workflow begins.
18
+ # Overrides append. Use for context-heavy setup that should happen
19
+ # once the user has been acknowledged.
20
+
21
+ activation_steps_append = []
22
+
23
+ # Persistent facts the workflow keeps in mind for the whole run
24
+ # (standards, compliance constraints, stylistic guardrails).
25
+ # Distinct from the runtime memory sidecar — these are static context
26
+ # loaded on activation. Overrides append.
27
+ #
28
+ # Each entry is either:
29
+ # - a literal sentence, e.g. "All stories must include testable acceptance criteria."
30
+ # - a file reference prefixed with `file:`, e.g. "file:{project-root}/docs/standards.md"
31
+ # (glob patterns are supported; the file's contents are loaded and treated as facts).
32
+
33
+ persistent_facts = [
34
+ "file:{project-root}/**/project-context.md",
35
+ ]
36
+
37
+ # Scalar: executed when the workflow reaches its final step,
38
+ # after the review decision (approve/rework/discuss) is made. Override wins.
39
+ # Leave empty for no custom post-completion behavior.
40
+
41
+ on_complete = ""
@@ -22,3 +22,9 @@ HALT — do not proceed until the user makes their choice.
22
22
  - **Approve**: Acknowledge briefly. If the human wants to patch something before shipping, help apply the fix interactively. If reviewing a PR, offer to approve via `gh pr review --approve` — but confirm with the human before executing, since this is a visible action on a shared resource.
23
23
  - **Rework**: Ask what went wrong — was it the approach, the spec, or the implementation? Help the human decide on next steps (revert commit, open an issue, revise the spec, etc.). Help draft specific, actionable feedback tied to `path:line` locations if the change is a PR from someone else.
24
24
  - **Discuss**: Open conversation — answer questions, explore concerns, dig into any aspect. After discussion, return to the decision prompt above.
25
+
26
+ ## On Complete
27
+
28
+ Run: `python3 {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow.on_complete`
29
+
30
+ If the resolved `workflow.on_complete` is non-empty, follow it as the final terminal instruction before exiting.
@@ -3,4 +3,88 @@ name: bmad-code-review
3
3
  description: 'Review code changes adversarially using parallel review layers (Blind Hunter, Edge Case Hunter, Acceptance Auditor) with structured triage into actionable categories. Use when the user says "run code review" or "review this code"'
4
4
  ---
5
5
 
6
- Follow the instructions in ./workflow.md.
6
+ # Code Review Workflow
7
+
8
+ **Goal:** Review code changes adversarially using parallel review layers and structured triage.
9
+
10
+ **Your Role:** You are an elite code reviewer. You gather context, launch parallel adversarial reviews, triage findings with precision, and present actionable results. No noise, no filler.
11
+
12
+ ## Conventions
13
+
14
+ - Bare paths (e.g. `checklist.md`) resolve from the skill root.
15
+ - `{skill-root}` resolves to this skill's installed directory (where `customize.toml` 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
+ Run: `python3 {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow`
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. `{skill-root}/customize.toml` — defaults
28
+ 2. `{project-root}/_bmad/custom/{skill-name}.toml` — team overrides
29
+ 3. `{project-root}/_bmad/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}/_bmad/bmm/config.yaml` and resolve:
44
+
45
+ - `project_name`, `planning_artifacts`, `implementation_artifacts`, `user_name`
46
+ - `communication_language`, `document_output_language`, `user_skill_level`
47
+ - `date` as system-generated current datetime
48
+ - `sprint_status` = `{implementation_artifacts}/sprint-status.yaml`
49
+ - `project_context` = `**/project-context.md` (load if exists)
50
+ - CLAUDE.md / memory files (load if exist)
51
+ - YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config `{communication_language}`
52
+
53
+ ### Step 5: Greet the User
54
+
55
+ Greet `{user_name}`, speaking in `{communication_language}`.
56
+
57
+ ### Step 6: Execute Append Steps
58
+
59
+ Execute each entry in `{workflow.activation_steps_append}` in order.
60
+
61
+ Activation is complete. Begin the workflow below.
62
+
63
+ ## WORKFLOW ARCHITECTURE
64
+
65
+ This uses **step-file architecture** for disciplined execution:
66
+
67
+ - **Micro-file Design**: Each step is self-contained and followed exactly
68
+ - **Just-In-Time Loading**: Only load the current step file
69
+ - **Sequential Enforcement**: Complete steps in order, no skipping
70
+ - **State Tracking**: Persist progress via in-memory variables
71
+ - **Append-Only Building**: Build artifacts incrementally
72
+
73
+ ### Step Processing Rules
74
+
75
+ 1. **READ COMPLETELY**: Read the entire step file before acting
76
+ 2. **FOLLOW SEQUENCE**: Execute sections in order
77
+ 3. **WAIT FOR INPUT**: Halt at checkpoints and wait for human
78
+ 4. **LOAD NEXT**: When directed, read fully and follow the next step file
79
+
80
+ ### Critical Rules (NO EXCEPTIONS)
81
+
82
+ - **NEVER** load multiple step files simultaneously
83
+ - **ALWAYS** read entire step file before execution
84
+ - **NEVER** skip steps or optimize the sequence
85
+ - **ALWAYS** follow the exact instructions in the step file
86
+ - **ALWAYS** halt at checkpoints and wait for human input
87
+
88
+ ## FIRST STEP
89
+
90
+ Read fully and follow: `./steps/step-01-gather-context.md`
@@ -0,0 +1,41 @@
1
+ # DO NOT EDIT -- overwritten on every update.
2
+ #
3
+ # Workflow customization surface for bmad-code-review. Mirrors the
4
+ # agent customization shape under the [workflow] namespace.
5
+
6
+ [workflow]
7
+
8
+ # --- Configurable below. Overrides merge per BMad structural rules: ---
9
+ # scalars: override wins • arrays (persistent_facts, activation_steps_*): append
10
+ # arrays-of-tables with `code`/`id`: replace matching items, append new ones.
11
+
12
+ # Steps to run before the standard activation (config load, greet).
13
+ # Overrides append. Use for pre-flight loads, compliance checks, etc.
14
+
15
+ activation_steps_prepend = []
16
+
17
+ # Steps to run after greet but before the workflow begins.
18
+ # Overrides append. Use for context-heavy setup that should happen
19
+ # once the user has been acknowledged.
20
+
21
+ activation_steps_append = []
22
+
23
+ # Persistent facts the workflow keeps in mind for the whole run
24
+ # (standards, compliance constraints, stylistic guardrails).
25
+ # Distinct from the runtime memory sidecar — these are static context
26
+ # loaded on activation. Overrides append.
27
+ #
28
+ # Each entry is either:
29
+ # - a literal sentence, e.g. "All stories must include testable acceptance criteria."
30
+ # - a file reference prefixed with `file:`, e.g. "file:{project-root}/docs/standards.md"
31
+ # (glob patterns are supported; the file's contents are loaded and treated as facts).
32
+
33
+ persistent_facts = [
34
+ "file:{project-root}/**/project-context.md",
35
+ ]
36
+
37
+ # Scalar: executed when the workflow reaches its final step,
38
+ # after review findings are presented and sprint status is synced. Override wins.
39
+ # Leave empty for no custom post-completion behavior.
40
+
41
+ on_complete = ""
@@ -124,3 +124,9 @@ Present the user with follow-up options:
124
124
  > 3. **Done** — end the workflow
125
125
 
126
126
  **HALT** — I am waiting for your choice. Do not proceed until the user selects an option.
127
+
128
+ ## On Complete
129
+
130
+ Run: `python3 {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow.on_complete`
131
+
132
+ If the resolved `workflow.on_complete` is non-empty, follow it as the final terminal instruction before exiting.
@@ -302,6 +302,18 @@ Activation is complete. Begin the workflow below.
302
302
  processes - **Integration Patterns:** External service integrations, data flows <action>Extract any story-specific requirements that the
303
303
  developer MUST follow</action>
304
304
  <action>Identify any architectural decisions that override previous patterns</action>
305
+
306
+ <!-- Read existing code being modified — non-negotiable -->
307
+ <critical>📂 READ FILES BEING MODIFIED — skipping this is the primary cause of implementation failures and review cycles</critical>
308
+ <action>From the architecture directory structure, identify every file marked UPDATE (not NEW) that this story will touch</action>
309
+ <action>Read each relevant UPDATE file completely. For each one, document in dev notes:
310
+ - Current state: what it does today (state machine, API calls, data shapes, existing behaviors)
311
+ - What this story changes: the specific sections or behaviors being modified
312
+ - What must be preserved: existing interactions and behaviors the story must not break
313
+ </action>
314
+ <critical>A story implementation must leave the system working end-to-end — not just satisfy its stated ACs.
315
+ If a behavior is required for the feature to work correctly in the existing system, it is a requirement
316
+ whether or not it is explicitly written in the story. The dev agent owns this.</critical>
305
317
  </step>
306
318
 
307
319
  <step n="4" goal="Web research for latest technical specifics">