bmad-method 6.3.1-next.9 → 6.4.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.
- package/package.json +3 -2
- package/src/bmm-skills/1-analysis/bmad-agent-analyst/SKILL.md +51 -36
- package/src/bmm-skills/1-analysis/bmad-agent-analyst/customize.toml +90 -0
- package/src/bmm-skills/1-analysis/bmad-agent-tech-writer/SKILL.md +50 -33
- package/src/bmm-skills/1-analysis/bmad-agent-tech-writer/customize.toml +81 -0
- package/src/bmm-skills/1-analysis/bmad-document-project/SKILL.md +57 -1
- package/src/bmm-skills/1-analysis/bmad-document-project/customize.toml +41 -0
- package/src/bmm-skills/1-analysis/bmad-document-project/workflows/deep-dive-instructions.md +1 -0
- package/src/bmm-skills/1-analysis/bmad-document-project/workflows/full-scan-instructions.md +1 -0
- package/src/bmm-skills/1-analysis/bmad-prfaq/SKILL.md +48 -9
- package/src/bmm-skills/1-analysis/bmad-prfaq/customize.toml +41 -0
- package/src/bmm-skills/1-analysis/bmad-prfaq/references/verdict.md +4 -0
- package/src/bmm-skills/1-analysis/bmad-product-brief/SKILL.md +44 -9
- package/src/bmm-skills/1-analysis/bmad-product-brief/customize.toml +47 -0
- package/src/bmm-skills/1-analysis/bmad-product-brief/prompts/contextual-discovery.md +8 -7
- package/src/bmm-skills/1-analysis/bmad-product-brief/prompts/draft-and-review.md +6 -5
- package/src/bmm-skills/1-analysis/bmad-product-brief/prompts/finalize.md +4 -1
- package/src/bmm-skills/1-analysis/bmad-product-brief/prompts/guided-elicitation.md +3 -2
- package/src/bmm-skills/1-analysis/research/bmad-domain-research/SKILL.md +91 -1
- package/src/bmm-skills/1-analysis/research/bmad-domain-research/customize.toml +41 -0
- package/src/bmm-skills/1-analysis/research/bmad-domain-research/domain-steps/step-06-research-synthesis.md +6 -0
- package/src/bmm-skills/1-analysis/research/bmad-market-research/SKILL.md +91 -1
- package/src/bmm-skills/1-analysis/research/bmad-market-research/customize.toml +41 -0
- package/src/bmm-skills/1-analysis/research/bmad-market-research/steps/step-06-research-completion.md +6 -0
- package/src/bmm-skills/1-analysis/research/bmad-technical-research/SKILL.md +91 -1
- package/src/bmm-skills/1-analysis/research/bmad-technical-research/customize.toml +41 -0
- package/src/bmm-skills/1-analysis/research/bmad-technical-research/technical-steps/step-06-research-synthesis.md +6 -0
- package/src/bmm-skills/2-plan-workflows/bmad-agent-pm/SKILL.md +50 -35
- package/src/bmm-skills/2-plan-workflows/bmad-agent-pm/customize.toml +85 -0
- package/src/bmm-skills/2-plan-workflows/bmad-agent-ux-designer/SKILL.md +50 -31
- package/src/bmm-skills/2-plan-workflows/bmad-agent-ux-designer/customize.toml +60 -0
- package/src/bmm-skills/2-plan-workflows/bmad-create-prd/SKILL.md +99 -1
- package/src/bmm-skills/2-plan-workflows/bmad-create-prd/customize.toml +41 -0
- package/src/bmm-skills/2-plan-workflows/bmad-create-prd/steps-c/step-12-complete.md +6 -0
- package/src/bmm-skills/2-plan-workflows/bmad-create-ux-design/SKILL.md +70 -1
- package/src/bmm-skills/2-plan-workflows/bmad-create-ux-design/customize.toml +41 -0
- package/src/bmm-skills/2-plan-workflows/bmad-create-ux-design/steps/step-14-complete.md +6 -0
- package/src/bmm-skills/2-plan-workflows/bmad-edit-prd/SKILL.md +97 -1
- package/src/bmm-skills/2-plan-workflows/bmad-edit-prd/customize.toml +42 -0
- package/src/bmm-skills/2-plan-workflows/bmad-edit-prd/steps-e/step-e-04-complete.md +2 -0
- package/src/bmm-skills/2-plan-workflows/bmad-validate-prd/SKILL.md +99 -1
- package/src/bmm-skills/2-plan-workflows/bmad-validate-prd/customize.toml +42 -0
- package/src/bmm-skills/2-plan-workflows/bmad-validate-prd/steps-v/step-v-13-report-complete.md +1 -0
- package/src/bmm-skills/3-solutioning/bmad-agent-architect/SKILL.md +50 -30
- package/src/bmm-skills/3-solutioning/bmad-agent-architect/customize.toml +65 -0
- package/src/bmm-skills/3-solutioning/bmad-check-implementation-readiness/SKILL.md +86 -1
- package/src/bmm-skills/3-solutioning/bmad-check-implementation-readiness/customize.toml +41 -0
- package/src/bmm-skills/3-solutioning/bmad-check-implementation-readiness/steps/step-06-final-assessment.md +6 -0
- package/src/bmm-skills/3-solutioning/bmad-create-architecture/SKILL.md +69 -1
- package/src/bmm-skills/3-solutioning/bmad-create-architecture/customize.toml +41 -0
- package/src/bmm-skills/3-solutioning/bmad-create-architecture/steps/step-08-complete.md +6 -0
- package/src/bmm-skills/3-solutioning/bmad-create-epics-and-stories/SKILL.md +88 -1
- package/src/bmm-skills/3-solutioning/bmad-create-epics-and-stories/customize.toml +41 -0
- package/src/bmm-skills/3-solutioning/bmad-create-epics-and-stories/steps/step-04-final-validation.md +6 -0
- package/src/bmm-skills/3-solutioning/bmad-generate-project-context/SKILL.md +76 -1
- package/src/bmm-skills/3-solutioning/bmad-generate-project-context/customize.toml +41 -0
- package/src/bmm-skills/3-solutioning/bmad-generate-project-context/steps/step-03-complete.md +6 -0
- package/src/bmm-skills/4-implementation/bmad-agent-dev/SKILL.md +48 -43
- package/src/bmm-skills/4-implementation/bmad-agent-dev/customize.toml +90 -0
- package/src/bmm-skills/4-implementation/bmad-checkpoint-preview/SKILL.md +46 -7
- package/src/bmm-skills/4-implementation/bmad-checkpoint-preview/customize.toml +41 -0
- package/src/bmm-skills/4-implementation/bmad-checkpoint-preview/step-05-wrapup.md +6 -0
- package/src/bmm-skills/4-implementation/bmad-code-review/SKILL.md +85 -1
- package/src/bmm-skills/4-implementation/bmad-code-review/customize.toml +41 -0
- package/src/bmm-skills/4-implementation/bmad-code-review/steps/step-04-present.md +6 -0
- package/src/bmm-skills/4-implementation/bmad-correct-course/SKILL.md +296 -1
- package/src/bmm-skills/4-implementation/bmad-correct-course/customize.toml +41 -0
- package/src/bmm-skills/4-implementation/bmad-create-story/SKILL.md +424 -1
- package/src/bmm-skills/4-implementation/bmad-create-story/customize.toml +41 -0
- package/src/bmm-skills/4-implementation/bmad-dev-story/SKILL.md +480 -1
- package/src/bmm-skills/4-implementation/bmad-dev-story/customize.toml +41 -0
- package/src/bmm-skills/4-implementation/bmad-qa-generate-e2e-tests/SKILL.md +171 -1
- package/src/bmm-skills/4-implementation/bmad-qa-generate-e2e-tests/customize.toml +41 -0
- package/src/bmm-skills/4-implementation/bmad-quick-dev/SKILL.md +106 -1
- package/src/bmm-skills/4-implementation/bmad-quick-dev/customize.toml +41 -0
- package/src/bmm-skills/4-implementation/bmad-quick-dev/step-05-present.md +6 -0
- package/src/bmm-skills/4-implementation/bmad-quick-dev/step-oneshot.md +6 -0
- package/src/bmm-skills/4-implementation/bmad-retrospective/SKILL.md +1507 -1
- package/src/bmm-skills/4-implementation/bmad-retrospective/customize.toml +41 -0
- package/src/bmm-skills/4-implementation/bmad-sprint-planning/SKILL.md +294 -1
- package/src/bmm-skills/4-implementation/bmad-sprint-planning/customize.toml +41 -0
- package/src/bmm-skills/4-implementation/bmad-sprint-status/SKILL.md +292 -1
- package/src/bmm-skills/4-implementation/bmad-sprint-status/customize.toml +41 -0
- package/src/bmm-skills/module.yaml +49 -0
- package/src/core-skills/bmad-advanced-elicitation/SKILL.md +7 -1
- package/src/core-skills/bmad-customize/SKILL.md +111 -0
- package/src/core-skills/bmad-customize/scripts/list_customizable_skills.py +231 -0
- package/src/core-skills/bmad-customize/scripts/tests/test_list_customizable_skills.py +249 -0
- package/src/core-skills/bmad-distillator/resources/distillate-format-reference.md +1 -1
- package/src/core-skills/bmad-party-mode/SKILL.md +13 -10
- package/src/core-skills/module-help.csv +1 -0
- package/src/core-skills/module.yaml +2 -0
- package/src/scripts/resolve_config.py +176 -0
- package/src/scripts/resolve_customization.py +230 -0
- package/tools/installer/commands/install.js +13 -0
- package/tools/installer/core/config.js +4 -1
- package/tools/installer/core/install-paths.js +11 -5
- package/tools/installer/core/installer.js +181 -94
- package/tools/installer/core/manifest-generator.js +339 -184
- package/tools/installer/core/manifest.js +86 -86
- package/tools/installer/ide/platform-codes.yaml +6 -0
- package/tools/installer/modules/channel-plan.js +203 -0
- package/tools/installer/modules/channel-resolver.js +241 -0
- package/tools/installer/modules/community-manager.js +130 -23
- package/tools/installer/modules/custom-module-manager.js +160 -19
- package/tools/installer/modules/external-manager.js +235 -32
- package/tools/installer/modules/official-modules.js +58 -12
- package/tools/installer/modules/registry-client.js +139 -7
- package/tools/installer/modules/registry-fallback.yaml +8 -0
- package/tools/installer/modules/version-resolver.js +336 -0
- package/tools/installer/project-root.js +54 -0
- package/tools/installer/ui.js +561 -50
- package/tools/platform-codes.yaml +6 -0
- package/src/bmm-skills/1-analysis/bmad-agent-analyst/bmad-skill-manifest.yaml +0 -11
- package/src/bmm-skills/1-analysis/bmad-agent-tech-writer/bmad-skill-manifest.yaml +0 -11
- package/src/bmm-skills/1-analysis/bmad-document-project/workflow.md +0 -25
- package/src/bmm-skills/1-analysis/research/bmad-domain-research/workflow.md +0 -51
- package/src/bmm-skills/1-analysis/research/bmad-market-research/workflow.md +0 -51
- package/src/bmm-skills/1-analysis/research/bmad-technical-research/workflow.md +0 -52
- package/src/bmm-skills/2-plan-workflows/bmad-agent-pm/bmad-skill-manifest.yaml +0 -11
- package/src/bmm-skills/2-plan-workflows/bmad-agent-ux-designer/bmad-skill-manifest.yaml +0 -11
- package/src/bmm-skills/2-plan-workflows/bmad-create-prd/workflow.md +0 -61
- package/src/bmm-skills/2-plan-workflows/bmad-create-ux-design/workflow.md +0 -35
- package/src/bmm-skills/2-plan-workflows/bmad-edit-prd/workflow.md +0 -62
- package/src/bmm-skills/2-plan-workflows/bmad-validate-prd/workflow.md +0 -61
- package/src/bmm-skills/3-solutioning/bmad-agent-architect/bmad-skill-manifest.yaml +0 -11
- package/src/bmm-skills/3-solutioning/bmad-check-implementation-readiness/workflow.md +0 -47
- package/src/bmm-skills/3-solutioning/bmad-create-architecture/workflow.md +0 -32
- package/src/bmm-skills/3-solutioning/bmad-create-epics-and-stories/workflow.md +0 -51
- package/src/bmm-skills/3-solutioning/bmad-generate-project-context/workflow.md +0 -39
- package/src/bmm-skills/4-implementation/bmad-agent-dev/bmad-skill-manifest.yaml +0 -11
- package/src/bmm-skills/4-implementation/bmad-code-review/workflow.md +0 -55
- package/src/bmm-skills/4-implementation/bmad-correct-course/workflow.md +0 -267
- package/src/bmm-skills/4-implementation/bmad-create-story/workflow.md +0 -380
- package/src/bmm-skills/4-implementation/bmad-dev-story/workflow.md +0 -450
- package/src/bmm-skills/4-implementation/bmad-qa-generate-e2e-tests/workflow.md +0 -136
- package/src/bmm-skills/4-implementation/bmad-quick-dev/workflow.md +0 -76
- package/src/bmm-skills/4-implementation/bmad-retrospective/workflow.md +0 -1479
- package/src/bmm-skills/4-implementation/bmad-sprint-planning/workflow.md +0 -263
- package/src/bmm-skills/4-implementation/bmad-sprint-status/workflow.md +0 -261
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# DO NOT EDIT -- overwritten on every update.
|
|
2
|
+
#
|
|
3
|
+
# Winston, the System Architect, is the hardcoded identity of this agent.
|
|
4
|
+
# Customize the persona and menu below to shape behavior without
|
|
5
|
+
# changing who the agent is.
|
|
6
|
+
|
|
7
|
+
[agent]
|
|
8
|
+
# non-configurable skill frontmatter, create a custom agent if you need a new name/title
|
|
9
|
+
name = "Winston"
|
|
10
|
+
title = "System Architect"
|
|
11
|
+
|
|
12
|
+
# --- Configurable below. Overrides merge per BMad structural rules: ---
|
|
13
|
+
# scalars: override wins • arrays (persistent_facts, principles, activation_steps_*): append
|
|
14
|
+
# arrays-of-tables with `code`/`id`: replace matching items, append new ones.
|
|
15
|
+
|
|
16
|
+
icon = "🏗️"
|
|
17
|
+
|
|
18
|
+
# Steps to run before the standard activation (persona, config, greet).
|
|
19
|
+
# Overrides append. Use for pre-flight loads, compliance checks, etc.
|
|
20
|
+
|
|
21
|
+
activation_steps_prepend = []
|
|
22
|
+
|
|
23
|
+
# Steps to run after greet but before presenting the menu.
|
|
24
|
+
# Overrides append. Use for context-heavy setup that should happen
|
|
25
|
+
# once the user has been acknowledged.
|
|
26
|
+
|
|
27
|
+
activation_steps_append = []
|
|
28
|
+
|
|
29
|
+
# Persistent facts the agent keeps in mind for the whole session (org rules,
|
|
30
|
+
# domain constants, user preferences). Distinct from the runtime memory
|
|
31
|
+
# sidecar — these are static context loaded on activation. Overrides append.
|
|
32
|
+
#
|
|
33
|
+
# Each entry is either:
|
|
34
|
+
# - a literal sentence, e.g. "Our org is AWS-only -- do not propose GCP or Azure."
|
|
35
|
+
# - a file reference prefixed with `file:`, e.g. "file:{project-root}/docs/standards.md"
|
|
36
|
+
# (glob patterns are supported; the file's contents are loaded and treated as facts).
|
|
37
|
+
|
|
38
|
+
persistent_facts = [
|
|
39
|
+
"file:{project-root}/**/project-context.md",
|
|
40
|
+
]
|
|
41
|
+
|
|
42
|
+
role = "Convert the PRD and UX into technical architecture decisions that keep implementation on track during the BMad Method solutioning phase."
|
|
43
|
+
identity = "Channels Martin Fowler's pragmatism and Werner Vogels's cloud-scale realism."
|
|
44
|
+
communication_style = "Calm and pragmatic. Balances 'what could be' with 'what should be.' Answers with trade-offs, not verdicts."
|
|
45
|
+
|
|
46
|
+
# The agent's value system. Overrides append to defaults.
|
|
47
|
+
principles = [
|
|
48
|
+
"Rule of Three before abstraction.",
|
|
49
|
+
"Boring technology for stability.",
|
|
50
|
+
"Developer productivity is architecture.",
|
|
51
|
+
]
|
|
52
|
+
|
|
53
|
+
# Capabilities menu. Overrides merge by `code`: matching codes replace the item
|
|
54
|
+
# in place, new codes append. Each item has exactly one of `skill` (invokes a
|
|
55
|
+
# registered skill by name) or `prompt` (executes the prompt text directly).
|
|
56
|
+
|
|
57
|
+
[[agent.menu]]
|
|
58
|
+
code = "CA"
|
|
59
|
+
description = "Guided workflow to document technical decisions to keep implementation on track"
|
|
60
|
+
skill = "bmad-create-architecture"
|
|
61
|
+
|
|
62
|
+
[[agent.menu]]
|
|
63
|
+
code = "IR"
|
|
64
|
+
description = "Ensure the PRD, UX, Architecture and Epics and Stories List are all aligned"
|
|
65
|
+
skill = "bmad-check-implementation-readiness"
|
|
@@ -3,4 +3,89 @@ name: bmad-check-implementation-readiness
|
|
|
3
3
|
description: 'Validate PRD, UX, Architecture and Epics specs are complete. Use when the user says "check implementation readiness".'
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
|
|
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
|
+
- `{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
|
+
## 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
|
+
Run: `python3 {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow`
|
|
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. `{skill-root}/customize.toml` — defaults
|
|
57
|
+
2. `{project-root}/_bmad/custom/{skill-name}.toml` — team overrides
|
|
58
|
+
3. `{project-root}/_bmad/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}/_bmad/bmm/config.yaml` 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.
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# DO NOT EDIT -- overwritten on every update.
|
|
2
|
+
#
|
|
3
|
+
# Workflow customization surface for bmad-check-implementation-readiness. 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 artifacts must follow org naming conventions."
|
|
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 Step 6 (Final Assessment),
|
|
38
|
+
# after the readiness report has been saved and presented. Override wins.
|
|
39
|
+
# Leave empty for no custom post-completion behavior.
|
|
40
|
+
|
|
41
|
+
on_complete = ""
|
|
@@ -124,3 +124,9 @@ Implementation Readiness complete. Invoke the `bmad-help` skill.
|
|
|
124
124
|
- Not reviewing previous findings
|
|
125
125
|
- Incomplete summary
|
|
126
126
|
- No clear recommendations
|
|
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.
|
|
@@ -3,4 +3,72 @@ name: bmad-create-architecture
|
|
|
3
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"'
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
|
|
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
|
+
- `{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
|
+
## 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
|
+
Run: `python3 {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow`
|
|
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. `{skill-root}/customize.toml` — defaults
|
|
38
|
+
2. `{project-root}/_bmad/custom/{skill-name}.toml` — team overrides
|
|
39
|
+
3. `{project-root}/_bmad/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}/_bmad/bmm/config.yaml` 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.
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# DO NOT EDIT -- overwritten on every update.
|
|
2
|
+
#
|
|
3
|
+
# Workflow customization surface for bmad-create-architecture. 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. "Our org is AWS-only -- do not propose GCP or Azure."
|
|
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 Step 8 (Architecture Completion & Handoff),
|
|
38
|
+
# after the architecture document frontmatter is updated and next-steps guidance is given.
|
|
39
|
+
# Override wins. Leave empty for no custom post-completion behavior.
|
|
40
|
+
|
|
41
|
+
on_complete = ""
|
|
@@ -74,3 +74,9 @@ Upon Completion of task output: offer to answer any questions about the Architec
|
|
|
74
74
|
This is the final step of the Architecture workflow. The user now has a complete, validated architecture document ready for AI agent implementation.
|
|
75
75
|
|
|
76
76
|
The architecture will serve as the single source of truth for all technical decisions, ensuring consistent implementation across the entire project development lifecycle.
|
|
77
|
+
|
|
78
|
+
## On Complete
|
|
79
|
+
|
|
80
|
+
Run: `python3 {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow.on_complete`
|
|
81
|
+
|
|
82
|
+
If the resolved `workflow.on_complete` is non-empty, follow it as the final terminal instruction before exiting.
|
|
@@ -3,4 +3,91 @@ name: bmad-create-epics-and-stories
|
|
|
3
3
|
description: 'Break requirements into epics and user stories. Use when the user says "create the epics and stories list"'
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
|
|
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
|
+
- `{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
|
+
## 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
|
+
Run: `python3 {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow`
|
|
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. `{skill-root}/customize.toml` — defaults
|
|
59
|
+
2. `{project-root}/_bmad/custom/{skill-name}.toml` — team overrides
|
|
60
|
+
3. `{project-root}/_bmad/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}/_bmad/bmm/config.yaml` 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.
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# DO NOT EDIT -- overwritten on every update.
|
|
2
|
+
#
|
|
3
|
+
# Workflow customization surface for bmad-create-epics-and-stories. 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 epics must deliver complete end-to-end user value."
|
|
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 Step 4 (Final Validation) and the
|
|
38
|
+
# user confirms [C] Complete — after the epics.md is saved and bmad-help is invoked.
|
|
39
|
+
# Override wins. Leave empty for no custom post-completion behavior.
|
|
40
|
+
|
|
41
|
+
on_complete = ""
|
package/src/bmm-skills/3-solutioning/bmad-create-epics-and-stories/steps/step-04-final-validation.md
CHANGED
|
@@ -129,3 +129,9 @@ When C is selected, the workflow is complete and the epics.md is ready for devel
|
|
|
129
129
|
Epics and Stories complete. Invoke the `bmad-help` skill.
|
|
130
130
|
|
|
131
131
|
Upon Completion of task output: offer to answer any questions about the Epics and Stories.
|
|
132
|
+
|
|
133
|
+
## On Complete
|
|
134
|
+
|
|
135
|
+
Run: `python3 {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow.on_complete`
|
|
136
|
+
|
|
137
|
+
If the resolved `workflow.on_complete` is non-empty, follow it as the final terminal instruction before exiting.
|
|
@@ -3,4 +3,79 @@ name: bmad-generate-project-context
|
|
|
3
3
|
description: 'Create project-context.md with AI rules. Use when the user says "generate project context" or "create project context"'
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
|
|
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
|
+
- `{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
|
+
## 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
|
+
Run: `python3 {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow`
|
|
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. `{skill-root}/customize.toml` — defaults
|
|
38
|
+
2. `{project-root}/_bmad/custom/{skill-name}.toml` — team overrides
|
|
39
|
+
3. `{project-root}/_bmad/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}/_bmad/bmm/config.yaml` 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.
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# DO NOT EDIT -- overwritten on every update.
|
|
2
|
+
#
|
|
3
|
+
# Workflow customization surface for bmad-generate-project-context. 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 artifacts must follow org naming conventions."
|
|
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 Step 3 (Context Completion & Finalization),
|
|
38
|
+
# after the project-context.md file is optimized and saved. Override wins.
|
|
39
|
+
# Leave empty for no custom post-completion behavior.
|
|
40
|
+
|
|
41
|
+
on_complete = ""
|
package/src/bmm-skills/3-solutioning/bmad-generate-project-context/steps/step-03-complete.md
CHANGED
|
@@ -276,3 +276,9 @@ Your project context will help ensure high-quality, consistent implementation ac
|
|
|
276
276
|
This is the final step of the Generate Project Context workflow. The user now has a comprehensive, optimized project context file that will ensure consistent, high-quality implementation across all AI agents working on the project.
|
|
277
277
|
|
|
278
278
|
The project context file serves as the critical "rules of the road" that agents need to implement code consistently with the project's standards and patterns.
|
|
279
|
+
|
|
280
|
+
## On Complete
|
|
281
|
+
|
|
282
|
+
Run: `python3 {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow.on_complete`
|
|
283
|
+
|
|
284
|
+
If the resolved `workflow.on_complete` is non-empty, follow it as the final terminal instruction before exiting.
|