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,74 +1,70 @@
1
- ο»Ώ---
1
+ ---
2
2
  name: bmad-create-architecture
3
- description: 'Create architecture solution design decisions for AI agent consistency. Use when the user says "lets create architecture" or "create technical architecture" or "create a solution design"'
3
+ description: Define an implementable architecture for an actual product or change request.
4
4
  ---
5
5
 
6
- # Architecture Workflow
7
-
8
- **Goal:** Create comprehensive architecture decisions through collaborative step-by-step discovery that ensures AI agents implement consistently.
9
-
10
- **Your Role:** You are an architectural facilitator collaborating with a peer. This is a partnership, not a client-vendor relationship. You bring structured thinking and architectural knowledge, while the user brings domain expertise and product vision. Work together as equals to make decisions that prevent implementation conflicts.
11
-
12
- ## Conventions
13
-
14
- - Bare paths (e.g. `steps/step-01-init.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
- ## WORKFLOW ARCHITECTURE
20
-
21
- This uses **micro-file architecture** for disciplined execution:
22
-
23
- - Each step is a self-contained file with embedded rules
24
- - Sequential progression with user control at each step
25
- - Document state tracked in frontmatter
26
- - Append-only document building through conversation
27
- - You NEVER proceed to a step file if the current step file indicates the user must approve and indicate continuation.
28
-
29
- ## On Activation
30
-
31
- ### Step 1: Resolve the Workflow Block
32
-
33
- <!-- Adapted for BMAD+: original script dependency removed -->
34
-
35
- **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:
36
-
37
- 1. `this skill file` β€” defaults
38
- 2. `{project-root}/custom/{skill-name}.toml` β€” team overrides
39
- 3. `{project-root}/custom/{skill-name}.user.toml` β€” personal overrides
40
-
41
- 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.
42
-
43
- ### Step 2: Execute Prepend Steps
44
-
45
- Execute each entry in `{workflow.activation_steps_prepend}` in order before proceeding.
46
-
47
- ### Step 3: Load Persistent Facts
48
-
49
- 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.
50
-
51
- ### Step 4: Load Config
52
-
53
- Load config from `{project-root}/project config` and resolve:
54
- - Use `{user_name}` for greeting
55
- - Use `{communication_language}` for all communications
56
- - Use `{document_output_language}` for output documents
57
- - Use `{planning_artifacts}` for output location and artifact scanning
58
- - Use `{project_knowledge}` for additional context scanning
59
-
60
- ### Step 5: Greet the User
61
-
62
- Greet `{user_name}`, speaking in `{communication_language}`.
63
-
64
- ### Step 6: Execute Append Steps
65
-
66
- Execute each entry in `{workflow.activation_steps_append}` in order.
67
-
68
- Activation is complete. Begin the workflow below.
69
-
70
- ## Execution
71
-
72
- Read fully and follow: `./steps/step-01-init.md` to begin the workflow.
73
-
74
- **Note:** Input document discovery and all initialization protocols are handled in step-01-init.md.
6
+ # Create architecture
7
+
8
+ Read the [execution guide](../../shared/execution.md) and
9
+ [Bezalel's role](architect-agent.md). Use the
10
+ [decision document guide](../../shared/architecture-decision-template.md) for the
11
+ output. This page contains the complete procedure; no step-file runtime is needed.
12
+
13
+ ## Inputs
14
+
15
+ A request or supplied artifact describing the desired behavior. For an existing
16
+ project, inspect relevant code, manifests and prior decisions. A PRD, UX contract,
17
+ load forecast or deployment constraint is evidence only if actually supplied or
18
+ found and read. Record missing consequential facts as questions.
19
+
20
+ ## Procedure
21
+
22
+ 1. Establish the scope and baseline. Record the request, inspected input paths,
23
+ hashes when available, current implementation state and the decisions already
24
+ accepted. Identify what the architecture must enable and what is outside scope.
25
+ 2. Describe the significant journeys and constraints. Distinguish observable
26
+ behavior, invariants, service limits and design preferences. Connect each
27
+ consequential constraint to an input or an explicitly stated assumption.
28
+ 3. Examine the existing stack and operating environment. Locate extension points,
29
+ data stores, deployment configuration and project conventions. For a new
30
+ project, compare suitable foundations against actual needs; scaffolding or
31
+ changing dependencies is a separate action from selecting a design.
32
+ 4. Decide the consequential choices. For each, record the problem, credible
33
+ alternatives, chosen approach, costs, supporting evidence and a condition for
34
+ revisiting it. Resolve an essential unknown by inspection or a bounded,
35
+ authorized experiment; otherwise mark the affected decision provisional.
36
+ 5. Define component and data boundaries. Specify ownership, dependencies,
37
+ interface examples, validation, errors and state transitions. Cover access
38
+ control, sensitive data, concurrency, observability and recovery wherever the
39
+ system actually uses them. Avoid adding mechanisms without a requirement.
40
+ 6. Map the design onto the repository and delivery environment. Distinguish
41
+ existing paths from proposed paths, describe migrations and compatibility, and
42
+ identify the smallest useful implementation sequence with its dependencies.
43
+ 7. Walk through a representative success case, a relevant failure case and any
44
+ migration or restart that the change needs. Check each against the boundaries
45
+ and invariants. Record contradictions, missing decisions and the concrete
46
+ tests or measurements that would resolve them.
47
+ 8. Write the architecture report. Explain which parts are sufficiently specified
48
+ for implementation, which remain provisional, and the next bounded action.
49
+ Do not claim performance, security or deployment validation without evidence.
50
+
51
+ ## Output and acceptance
52
+
53
+ Write the common report at the configured output path for create-architecture.
54
+ Include context, input ledger, requirement-to-decision mapping, component/data
55
+ boundaries, decision records, repository map, delivery sequence, verification
56
+ plan and open risks. A diagram is useful only when its labels agree with the
57
+ written interfaces.
58
+
59
+ The report is complete when every in-scope consequential requirement has a
60
+ decision or an explicit unresolved dependency, interface examples are consistent,
61
+ and an implementer can identify the first slice and its acceptance checks.
62
+ Record actual experiments separately from proposed tests. Provisional design
63
+ can be delivered as a draft; it cannot be described as verified architecture.
64
+
65
+ ## Continue
66
+
67
+ Read the existing report and compare its inputs with current files before editing.
68
+ Keep user additions. Invalidate decisions whose assumptions or interfaces changed,
69
+ then resume at the earliest affected procedure step. Preserve superseded decisions
70
+ and the reason for replacement rather than silently rewriting project history.
@@ -1,93 +1,64 @@
1
- ο»Ώ---
1
+ ---
2
2
  name: bmad-create-epics-and-stories
3
- description: 'Break requirements into epics and user stories. Use when the user says "create the epics and stories list"'
3
+ description: Turn requirements into traceable epics and implementable stories.
4
4
  ---
5
5
 
6
- # Create Epics and Stories
7
-
8
- **Goal:** Transform PRD requirements and Architecture decisions into comprehensive stories organized by user value, creating detailed, actionable stories with complete acceptance criteria for the Developer agent.
9
-
10
- **Your Role:** In addition to your name, communication_style, and persona, you are also a product strategist and technical specifications writer collaborating with a product owner. This is a partnership, not a client-vendor relationship. You bring expertise in requirements decomposition, technical implementation context, and acceptance criteria writing, while the user brings their product vision, user needs, and business requirements. Work together as equals.
11
-
12
- ## Conventions
13
-
14
- - Bare paths (e.g. `steps/step-01-validate-prerequisites.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
- ## WORKFLOW ARCHITECTURE
20
-
21
- This uses **step-file architecture** for disciplined execution:
22
-
23
- ### Core Principles
24
-
25
- - **Micro-file Design**: Each step toward the overall goal is a self-contained instruction file; adhere to one file at a time, as directed
26
- - **Just-In-Time Loading**: Only 1 current step file will be loaded and followed to completion - never load future step files until told to do so
27
- - **Sequential Enforcement**: Sequence within the step files must be completed in order, no skipping or optimization allowed
28
- - **State Tracking**: Document progress in output file frontmatter using `stepsCompleted` array when a workflow produces a document
29
- - **Append-Only Building**: Build documents by appending content as directed to the output file
30
-
31
- ### Step Processing Rules
32
-
33
- 1. **READ COMPLETELY**: Always read the entire step file before taking any action
34
- 2. **FOLLOW SEQUENCE**: Execute all numbered sections in order, never deviate
35
- 3. **WAIT FOR INPUT**: If a menu is presented, halt and wait for user selection
36
- 4. **CHECK CONTINUATION**: If the step has a menu with Continue as an option, only proceed to next step when user selects 'C' (Continue)
37
- 5. **SAVE STATE**: Update `stepsCompleted` in frontmatter before loading next step
38
- 6. **LOAD NEXT**: When directed, read fully and follow the next step file
39
-
40
- ### Critical Rules (NO EXCEPTIONS)
41
-
42
- - πŸ›‘ **NEVER** load multiple step files simultaneously
43
- - πŸ“– **ALWAYS** read entire step file before execution
44
- - 🚫 **NEVER** skip steps or optimize the sequence
45
- - πŸ’Ύ **ALWAYS** update frontmatter of output files when writing the final output for a specific step
46
- - 🎯 **ALWAYS** follow the exact instructions in the step file
47
- - ⏸️ **ALWAYS** halt at menus and wait for user input
48
- - πŸ“‹ **NEVER** create mental todo lists from future steps
49
-
50
- ## On Activation
51
-
52
- ### Step 1: Resolve the Workflow Block
53
-
54
- <!-- Adapted for BMAD+: original script dependency removed -->
55
-
56
- **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:
57
-
58
- 1. `this skill file` β€” defaults
59
- 2. `{project-root}/custom/{skill-name}.toml` β€” team overrides
60
- 3. `{project-root}/custom/{skill-name}.user.toml` β€” personal overrides
61
-
62
- 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.
63
-
64
- ### Step 2: Execute Prepend Steps
65
-
66
- Execute each entry in `{workflow.activation_steps_prepend}` in order before proceeding.
67
-
68
- ### Step 3: Load Persistent Facts
69
-
70
- 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.
71
-
72
- ### Step 4: Load Config
73
-
74
- Load config from `{project-root}/project config` and resolve:
75
- - Use `{user_name}` for greeting
76
- - Use `{communication_language}` for all communications
77
- - Use `{document_output_language}` for output documents
78
- - Use `{planning_artifacts}` for output location and artifact scanning
79
- - Use `{project_knowledge}` for additional context scanning
80
-
81
- ### Step 5: Greet the User
82
-
83
- Greet `{user_name}`, speaking in `{communication_language}`.
84
-
85
- ### Step 6: Execute Append Steps
86
-
87
- Execute each entry in `{workflow.activation_steps_append}` in order.
88
-
89
- Activation is complete. Begin the workflow below.
90
-
91
- ## Execution
92
-
93
- Read fully and follow: `./steps/step-01-validate-prerequisites.md` to begin the workflow.
6
+ # Create epics and stories
7
+
8
+ Read the [execution guide](../../shared/execution.md) and
9
+ [Bezalel's role](architect-agent.md).
10
+
11
+ ## Inputs
12
+
13
+ At least one explicit requirements artifact. Read any supplied architecture,
14
+ UX decisions and existing backlog. Determine the intended outcome from their
15
+ contents; file names alone do not establish requirements or readiness.
16
+
17
+ ## Procedure
18
+
19
+ 1. Inventory the requested outcomes and constraints. Preserve existing requirement,
20
+ epic and story identifiers. If inputs have no identifiers, assign local stable
21
+ IDs and record their source passages so later edits remain traceable.
22
+ 2. Inspect the existing backlog and implementation where available. Separate work
23
+ already evidenced from proposed work; do not infer completion from a title or
24
+ change a manually maintained status.
25
+ 3. Group related outcomes into epics with an observable benefit and a boundary.
26
+ Make stories small coherent increments that can be reviewed and tested.
27
+ Necessary infrastructure work should state the capability it enables and an
28
+ observable acceptance condition, rather than masquerading as a user journey.
29
+ 4. Define each story's intent, affected behavior, requirement references,
30
+ prerequisites, acceptance examples, exclusions and evidence needed to accept
31
+ it. Include failure or permission cases when they belong to the behavior.
32
+ Do not invent file paths before inspecting the relevant code.
33
+ 5. Order dependencies and check for cycles. Identify external prerequisites and
34
+ decisions that prevent a story from being actionable. Distinguish a useful
35
+ sequence from a hard dependency; avoid making independent stories wait without
36
+ a reason.
37
+ 6. Reconcile the set with the requirements. Find omitted constraints, duplicate
38
+ outcomes and acceptance criteria that cannot be observed. Revise the slices or
39
+ record the unresolved issue with the affected IDs.
40
+ 7. Deliver the backlog and recommend the first actionable slice. If capacity or
41
+ delivery dates are unknown, leave scheduling uncommitted rather than inventing
42
+ velocity or assigning people.
43
+
44
+ ## Output and acceptance
45
+
46
+ Write the report for create-epics-stories with an epic overview, story records,
47
+ dependency list and coverage table:
48
+
49
+ | Requirement ID | Source | Story IDs | Acceptance evidence | Gap |
50
+ | --- | --- | --- | --- | --- |
51
+ | Use actual IDs | File and section | Existing or newly assigned IDs | Observable check | None or unresolved dependency |
52
+
53
+ Each story record includes its stable ID, outcome, scope, dependencies and
54
+ acceptance examples. Each in-scope requirement must map to a story or an explained
55
+ deferral. A story is actionable only when its essential decisions and inputs are
56
+ available. Report coverage gaps explicitly; a completed backlog is not completed
57
+ implementation.
58
+
59
+ ## Continue
60
+
61
+ Compare the current inputs and backlog with the saved input ledger. Preserve IDs,
62
+ human status values and annotations. Add or revise affected stories, recording
63
+ splits, merges and superseded IDs so existing references remain understandable.
64
+ Recheck dependencies and coverage only for changes and their consequences.
@@ -1,81 +1,59 @@
1
- ο»Ώ---
1
+ ---
2
2
  name: bmad-generate-project-context
3
- description: 'Create project-context.md with AI rules. Use when the user says "generate project context" or "create project context"'
3
+ description: Capture concise project conventions and constraints from inspected sources.
4
4
  ---
5
5
 
6
- # Generate Project Context Workflow
7
-
8
- **Goal:** Create a concise, optimized `project-context.md` file containing critical rules, patterns, and guidelines that AI agents must follow when implementing code. This file focuses on unobvious details that LLMs need to be reminded of.
9
-
10
- **Your Role:** You are a technical facilitator working with a peer to capture the essential implementation rules that will ensure consistent, high-quality code generation across all AI agents working on the project.
11
-
12
- ## Conventions
13
-
14
- - Bare paths (e.g. `steps/step-01-discover.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
- ## WORKFLOW ARCHITECTURE
20
-
21
- This uses **micro-file architecture** for disciplined execution:
22
-
23
- - Each step is a self-contained file with embedded rules
24
- - Sequential progression with user control at each step
25
- - Document state tracked in frontmatter
26
- - Focus on lean, LLM-optimized content generation
27
- - You NEVER proceed to a step file if the current step file indicates the user must approve and indicate continuation.
28
-
29
- ## On Activation
30
-
31
- ### Step 1: Resolve the Workflow Block
32
-
33
- <!-- Adapted for BMAD+: original script dependency removed -->
34
-
35
- **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:
36
-
37
- 1. `this skill file` β€” defaults
38
- 2. `{project-root}/custom/{skill-name}.toml` β€” team overrides
39
- 3. `{project-root}/custom/{skill-name}.user.toml` β€” personal overrides
40
-
41
- 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.
42
-
43
- ### Step 2: Execute Prepend Steps
44
-
45
- Execute each entry in `{workflow.activation_steps_prepend}` in order before proceeding.
46
-
47
- ### Step 3: Load Persistent Facts
48
-
49
- 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.
50
-
51
- ### Step 4: Load Config
52
-
53
- Load config from `{project-root}/project config` and resolve:
54
- - Use `{user_name}` for greeting
55
- - Use `{communication_language}` for all communications
56
- - Use `{document_output_language}` for output documents
57
- - Use `{planning_artifacts}` for output location and artifact scanning
58
- - Use `{project_knowledge}` for additional context scanning
59
-
60
- ### Step 5: Greet the User
61
-
62
- Greet `{user_name}`, speaking in `{communication_language}`.
63
-
64
- ### Step 6: Execute Append Steps
65
-
66
- Execute each entry in `{workflow.activation_steps_append}` in order.
67
-
68
- Activation is complete. Begin the workflow below.
69
-
70
- ## Paths
71
-
72
- - `output_file` = `{output_folder}/project-context.md`
73
-
74
- ## Execution
75
-
76
- - βœ… YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
77
- - βœ… YOU MUST ALWAYS WRITE all artifact and document content in `{document_output_language}`
78
-
79
- Load and execute `./steps/step-01-discover.md` to begin the workflow.
80
-
81
- **Note:** Input document discovery and initialization protocols are handled in step-01-discover.md.
6
+ # Generate project context
7
+
8
+ Read the [execution guide](../../shared/execution.md) and
9
+ [Bezalel's role](architect-agent.md).
10
+
11
+ ## Inputs
12
+
13
+ A request naming what project or area to summarize, or an explicit project
14
+ artifact. Inspect the selected directory with host tools; a prepared context
15
+ bundle is not a repository inspection. Read current instructions and existing
16
+ context before generating another file.
17
+
18
+ ## Procedure
19
+
20
+ 1. Identify the repository boundary and relevant source areas. Read project
21
+ instructions, manifests, build or test entry points and representative code.
22
+ Record the inspected revision or input hashes and any inaccessible areas.
23
+ 2. Extract facts that affect future work: runtime and package manager, directory
24
+ responsibilities, established extension patterns, actual verification commands
25
+ and deployment boundaries. Cite each consequential fact to its source.
26
+ 3. Capture invariants and recurring conventions using concrete examples. Separate
27
+ project requirements from an observed local pattern and from a recommendation.
28
+ Do not promote one unusual file into a universal rule.
29
+ 4. Check existing context and documentation for duplication or contradictions.
30
+ Resolve claims by inspecting the authoritative source; keep unresolved
31
+ disagreements visible. Summarize useful rules rather than copying large files
32
+ or storing sensitive values.
33
+ 5. Organize a compact context document around the decisions a future implementer
34
+ must make. Include where to look next and what has not been inspected. Label
35
+ commands as discovered or executed, with actual results only for executed
36
+ checks.
37
+ 6. Review each statement for evidence and ongoing relevance. Write the report,
38
+ or the user's requested project-context destination. Never overwrite generated
39
+ AGENTS.md or tool adapters; changes to their rules belong in their source
40
+ configuration and generation workflow.
41
+
42
+ ## Output and acceptance
43
+
44
+ The report for generate-project-context contains scope and freshness, source
45
+ ledger, project map, working conventions, acceptance/verification commands,
46
+ invariants and unresolved questions. State the inspected area prominently when
47
+ coverage is partial.
48
+
49
+ A future assistant should be able to find the implementation area and the
50
+ appropriate checks from this document. Unsupported prescriptions, duplicated
51
+ manuals and hidden assumptions should be removed or labeled as proposals.
52
+ The context is reference material and does not override project or user instructions.
53
+
54
+ ## Continue
55
+
56
+ Read and preserve the existing document's human additions. Compare referenced
57
+ sources and hashes, refresh affected facts and remove stale statements only with
58
+ their replacement evidence recorded. An unchanged report date is not proof that
59
+ the project stayed unchanged.
@@ -1,91 +1,58 @@
1
- ο»Ώ---
1
+ ---
2
2
  name: bmad-check-implementation-readiness
3
- description: 'Validate PRD, UX, Architecture and Epics specs are complete. Use when the user says "check implementation readiness".'
3
+ description: Check whether a selected scope has enough consistent evidence to begin implementation.
4
4
  ---
5
5
 
6
- # Implementation Readiness
7
-
8
- **Goal:** Validate that PRD, UX, Architecture, Epics and Stories are complete and aligned before Phase 4 implementation starts, with a focus on ensuring epics and stories are logical and have accounted for all requirements and planning.
9
-
10
- **Your Role:** You are an expert Product Manager, renowned and respected in the field of requirements traceability and spotting gaps in planning. Your success is measured in spotting the failures others have made in planning or preparation of epics and stories to produce the user's product vision.
11
-
12
- ## Conventions
13
-
14
- - Bare paths (e.g. `steps/step-01-document-discovery.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
- ## WORKFLOW ARCHITECTURE
20
-
21
- ### Core Principles
22
-
23
- - **Micro-file Design**: Each step toward the overall goal is a self-contained instruction file; adhere to one file at a time, as directed
24
- - **Just-In-Time Loading**: Only 1 current step file will be loaded and followed to completion - never load future step files until told to do so
25
- - **Sequential Enforcement**: Sequence within the step files must be completed in order, no skipping or optimization allowed
26
- - **State Tracking**: Document progress in output file frontmatter using `stepsCompleted` array when a workflow produces a document
27
- - **Append-Only Building**: Build documents by appending content as directed to the output file
28
-
29
- ### Step Processing Rules
30
-
31
- 1. **READ COMPLETELY**: Always read the entire step file before taking any action
32
- 2. **FOLLOW SEQUENCE**: Execute all numbered sections in order, never deviate
33
- 3. **WAIT FOR INPUT**: If a menu is presented, halt and wait for user selection
34
- 4. **CHECK CONTINUATION**: If the step has a menu with Continue as an option, only proceed to next step when user selects 'C' (Continue)
35
- 5. **SAVE STATE**: Update `stepsCompleted` in frontmatter before loading next step
36
- 6. **LOAD NEXT**: When directed, read fully and follow the next step file
37
-
38
- ### Critical Rules (NO EXCEPTIONS)
39
-
40
- - πŸ›‘ **NEVER** load multiple step files simultaneously
41
- - πŸ“– **ALWAYS** read entire step file before execution
42
- - 🚫 **NEVER** skip steps or optimize the sequence
43
- - πŸ’Ύ **ALWAYS** update frontmatter of output files when writing the final output for a specific step
44
- - 🎯 **ALWAYS** follow the exact instructions in the step file
45
- - ⏸️ **ALWAYS** halt at menus and wait for user input
46
- - πŸ“‹ **NEVER** create mental todo lists from future steps
47
-
48
- ## On Activation
49
-
50
- ### Step 1: Resolve the Workflow Block
51
-
52
- <!-- Adapted for BMAD+: original script dependency removed -->
53
-
54
- **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:
55
-
56
- 1. `this skill file` β€” defaults
57
- 2. `{project-root}/custom/{skill-name}.toml` β€” team overrides
58
- 3. `{project-root}/custom/{skill-name}.user.toml` β€” personal overrides
59
-
60
- 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.
61
-
62
- ### Step 2: Execute Prepend Steps
63
-
64
- Execute each entry in `{workflow.activation_steps_prepend}` in order before proceeding.
65
-
66
- ### Step 3: Load Persistent Facts
67
-
68
- 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.
69
-
70
- ### Step 4: Load Config
71
-
72
- Load config from `{project-root}/project config` and resolve:
73
- - Use `{user_name}` for greeting
74
- - Use `{communication_language}` for all communications
75
- - Use `{document_output_language}` for output documents
76
- - Use `{planning_artifacts}` for output location and artifact scanning
77
- - Use `{project_knowledge}` for additional context scanning
78
-
79
- ### Step 5: Greet the User
80
-
81
- Greet `{user_name}`, speaking in `{communication_language}`.
82
-
83
- ### Step 6: Execute Append Steps
84
-
85
- Execute each entry in `{workflow.activation_steps_append}` in order.
86
-
87
- Activation is complete. Begin the workflow below.
88
-
89
- ## Execution
90
-
91
- Read fully and follow: `./steps/step-01-document-discovery.md` to begin the workflow.
6
+ # Implementation readiness
7
+
8
+ Read the [execution guide](../../shared/execution.md) and
9
+ [Bezalel's role](architect-agent.md).
10
+
11
+ ## Inputs
12
+
13
+ At least one explicit planning or story artifact and the scope to assess. Use
14
+ supplied requirements, architecture, UX, backlog and project constraints as
15
+ applicable. A small maintenance task need not acquire unrelated planning documents.
16
+
17
+ ## Procedure
18
+
19
+ 1. Name the slice being assessed and inventory the artifacts actually read.
20
+ Record versions or hashes and whether each artifact describes the current
21
+ project. Separate absent documents from missing information.
22
+ 2. Extract the slice's intended behavior, acceptance criteria and invariants.
23
+ Check that essential terms, boundaries and failure behavior have a consistent
24
+ meaning across inputs. Cite conflicting passages precisely.
25
+ 3. Trace requirements through relevant UX or interface contracts, architecture
26
+ decisions and implementation tasks. Identify missing handoffs, contradictory
27
+ interfaces, uncovered constraints and acceptance checks with no observable
28
+ result.
29
+ 4. Inspect readiness dependencies: repository and runtime access, required data,
30
+ decision owners, migrations, credentials supplied through approved channels,
31
+ and test capabilities. Do not request or reproduce secret values in the report.
32
+ A promise that access exists is not a successful access check.
33
+ 5. Rank issues by their effect on the next implementation slice. Separate
34
+ prerequisites that stop it, decisions safely deferred, and improvements that
35
+ do not affect its acceptance. Give each blocking issue a source, consequence
36
+ and the smallest resolution action.
37
+ 6. Produce a disposition of ready, needs-resolution, or insufficient-evidence.
38
+ Ready requires the scoped prerequisites and acceptance path to be evidenced.
39
+ Missing information prevents a readiness claim for the affected scope;
40
+ unrelated missing documents do not block useful independent work.
41
+
42
+ ## Output and acceptance
43
+
44
+ Write the report for implementation-readiness with assessed scope, input ledger,
45
+ traceability table, issues, disposition and next actions. Use one row per relevant
46
+ requirement or invariant with columns for source, implementing story or task,
47
+ acceptance check and evidence status.
48
+
49
+ Every blocking conclusion must cite a concrete contradiction or missing
50
+ prerequisite. Zero issues is valid after completing the scoped assessment.
51
+ Readiness means work can begin under the recorded assumptions; it does not mean
52
+ the implementation is correct or that tests have passed.
53
+
54
+ ## Continue
55
+
56
+ On new evidence, compare inputs and reassess only affected rows and dependencies.
57
+ Keep prior issues and record their resolution evidence. A document revision or
58
+ someone saying an issue is fixed is not itself proof of the relevant change.