bmad-plus 0.13.0 β 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.
- package/CHANGELOG.md +22 -0
- package/README.md +96 -489
- package/package.json +7 -2
- package/readme-international/README.de.md +9 -5
- package/readme-international/README.es.md +9 -5
- package/readme-international/README.fr.md +9 -5
- package/src/bmad-plus/agents/agent-orchestrator/SKILL.md +3 -3
- package/src/bmad-plus/packs/pack-dev-studio/README.md +133 -141
- package/src/bmad-plus/packs/pack-dev-studio/SKILL.md +49 -0
- package/src/bmad-plus/packs/pack-dev-studio/categories/analysis/analyst-agent.md +35 -60
- package/src/bmad-plus/packs/pack-dev-studio/categories/analysis/document-project.md +59 -59
- package/src/bmad-plus/packs/pack-dev-studio/categories/analysis/domain-research.md +55 -93
- package/src/bmad-plus/packs/pack-dev-studio/categories/analysis/market-research.md +58 -93
- package/src/bmad-plus/packs/pack-dev-studio/categories/analysis/prfaq.md +55 -132
- package/src/bmad-plus/packs/pack-dev-studio/categories/analysis/product-brief.md +63 -78
- package/src/bmad-plus/packs/pack-dev-studio/categories/analysis/tech-writer-agent.md +54 -69
- package/src/bmad-plus/packs/pack-dev-studio/categories/analysis/technical-research.md +54 -93
- package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/architect-agent.md +32 -60
- package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/create-architecture.md +67 -71
- package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/create-epics-stories.md +61 -90
- package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/generate-project-context.md +56 -78
- package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/implementation-readiness.md +55 -88
- package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/steps/step-01-init.md +20 -153
- package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/steps/step-01b-continue.md +20 -173
- package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/steps/step-02-context.md +14 -220
- package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/steps/step-03-starter.md +20 -329
- package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/steps/step-04-decisions.md +15 -314
- package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/steps/step-05-patterns.md +15 -355
- package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/steps/step-06-structure.md +15 -375
- package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/steps/step-07-validation.md +14 -357
- package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/steps/step-08-complete.md +13 -78
- package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/checkpoint-preview.md +52 -65
- package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/code-review-steps/step-01-gather-context.md +14 -81
- package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/code-review-steps/step-02-review.md +14 -31
- package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/code-review-steps/step-03-triage.md +14 -45
- package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/code-review-steps/step-04-present.md +13 -128
- package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/code-review.md +61 -87
- package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/correct-course.md +55 -298
- package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/create-story.md +52 -426
- package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/dev-agent.md +48 -69
- package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/dev-story-checklist.md +22 -80
- package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/dev-story.md +60 -482
- package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/investigate.md +50 -184
- package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/qa-e2e-tests.md +57 -173
- package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/quick-dev.md +56 -108
- package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/retrospective.md +54 -1509
- package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/sprint-planning.md +54 -296
- package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/sprint-status.md +41 -283
- package/src/bmad-plus/packs/pack-dev-studio/categories/planning/create-prd.md +58 -18
- package/src/bmad-plus/packs/pack-dev-studio/categories/planning/create-ux-design.md +103 -72
- package/src/bmad-plus/packs/pack-dev-studio/categories/planning/edit-prd.md +55 -27
- package/src/bmad-plus/packs/pack-dev-studio/categories/planning/pm-agent.md +34 -60
- package/src/bmad-plus/packs/pack-dev-studio/categories/planning/prd.md +46 -87
- package/src/bmad-plus/packs/pack-dev-studio/categories/planning/steps/step-01-init.md +10 -0
- package/src/bmad-plus/packs/pack-dev-studio/categories/planning/ux-designer-agent.md +30 -60
- package/src/bmad-plus/packs/pack-dev-studio/categories/planning/validate-prd.md +57 -27
- package/src/bmad-plus/packs/pack-dev-studio/categories/utilities/advanced-elicitation.md +47 -138
- package/src/bmad-plus/packs/pack-dev-studio/categories/utilities/adversarial-review.md +48 -34
- package/src/bmad-plus/packs/pack-dev-studio/categories/utilities/bmad-help.md +51 -68
- package/src/bmad-plus/packs/pack-dev-studio/categories/utilities/brainstorming.md +46 -3
- package/src/bmad-plus/packs/pack-dev-studio/categories/utilities/customize.md +68 -109
- package/src/bmad-plus/packs/pack-dev-studio/categories/utilities/distillator.md +53 -174
- package/src/bmad-plus/packs/pack-dev-studio/categories/utilities/edge-case-hunter.md +39 -53
- package/src/bmad-plus/packs/pack-dev-studio/categories/utilities/editorial-review-prose.md +45 -83
- package/src/bmad-plus/packs/pack-dev-studio/categories/utilities/editorial-review-structure.md +45 -176
- package/src/bmad-plus/packs/pack-dev-studio/categories/utilities/index-docs.md +45 -63
- package/src/bmad-plus/packs/pack-dev-studio/categories/utilities/party-mode.md +53 -124
- package/src/bmad-plus/packs/pack-dev-studio/categories/utilities/shard-doc.md +44 -100
- package/src/bmad-plus/packs/pack-dev-studio/dev-studio-orchestrator.md +56 -116
- package/src/bmad-plus/packs/pack-dev-studio/shared/architecture-decision-template.md +49 -12
- package/src/bmad-plus/packs/pack-dev-studio/shared/bwml-spec.md +51 -328
- package/src/bmad-plus/packs/pack-dev-studio/shared/catalog.json +489 -0
- package/src/bmad-plus/packs/pack-dev-studio/shared/execution.md +69 -0
- package/src/bmad-plus/packs/pack-dev-studio/shared/module-help.csv +39 -32
- package/src/bmad-plus/packs/pack-dev-studio/upstream-sync.yaml +85 -14
- package/src/bmad-plus/packs/pack-memory/README.md +6 -0
- package/src/bmad-plus/packs/pack-memory/memory-orchestrator.md +12 -5
- package/src/bmad-plus/packs/pack-seo/SKILL.md +27 -1
- package/src/bmad-plus/packs/pack-seo/seo-chief.md +16 -1
- package/src/bmad-plus/packs/pack-seo/seo-judge.md +12 -0
- package/src/bmad-plus/packs/pack-seo/seo-scout.md +12 -0
- package/src/bmad-plus/skills/bmad-plus-autopilot/SKILL.md +3 -3
- package/src/bmad-plus/skills/bmad-plus-sync/SKILL.md +5 -3
- package/src/bmad-plus/skills/dev-studio/SKILL.md +19 -0
- package/tools/build/check-install-contract.js +165 -13
- package/tools/build/generate.js +213 -40
- package/tools/build/generated-adapters/.codex/AGENTS.md +1 -1
- package/tools/build/generated-adapters/.cursor/rules/bmad-plus.mdc +1 -1
- package/tools/build/generated-adapters/.opencode/AGENTS.md +1 -1
- package/tools/build/generated-adapters/AGENTS.md +1 -1
- package/tools/build/generated-adapters/CLAUDE.md +1 -1
- package/tools/build/generated-adapters/CONVENTIONS.md +1 -1
- package/tools/build/generated-adapters/GEMINI.md +1 -1
- package/tools/build/pack-delivery.js +78 -0
- package/tools/cli/bmad-plus-cli.js +1 -1
- package/tools/cli/commands/doctor.js +49 -189
- package/tools/cli/commands/install.js +1 -1
- package/tools/cli/commands/studio.js +68 -0
- package/tools/cli/lib/installation-health.js +360 -0
- package/tools/cli/lib/packs.js +118 -9
- package/tools/cli/lib/python-health.js +233 -0
- package/tools/cli/lib/python-provision.js +2 -2
- package/tools/cli/lib/studio.js +310 -0
- package/tools/release/publication-content.js +901 -0
|
@@ -1,96 +1,57 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
2
|
name: bmad-technical-research
|
|
3
|
-
description:
|
|
3
|
+
description: Compare technical options against project constraints with primary sources and bounded experiments.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Technical
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
##
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
### Step 6: Execute Append Steps
|
|
59
|
-
|
|
60
|
-
Execute each entry in `{workflow.activation_steps_append}` in order.
|
|
61
|
-
|
|
62
|
-
Activation is complete. Begin the workflow below.
|
|
63
|
-
|
|
64
|
-
## QUICK TOPIC DISCOVERY
|
|
65
|
-
|
|
66
|
-
"Welcome {{user_name}}! Let's get started with your **technical research**.
|
|
67
|
-
|
|
68
|
-
**What technology, tool, or technical area do you want to research?**
|
|
69
|
-
|
|
70
|
-
For example:
|
|
71
|
-
- 'React vs Vue for large-scale applications'
|
|
72
|
-
- 'GraphQL vs REST API architectures'
|
|
73
|
-
- 'Serverless deployment options for Node.js'
|
|
74
|
-
- 'Or any other technical topic you have in mind...'"
|
|
75
|
-
|
|
76
|
-
### Topic Clarification
|
|
77
|
-
|
|
78
|
-
Based on the user's topic, briefly clarify:
|
|
79
|
-
1. **Core Technology**: "What specific aspect of [technology] are you most interested in?"
|
|
80
|
-
2. **Research Goals**: "What do you hope to achieve with this research?"
|
|
81
|
-
3. **Scope**: "Should we focus broadly or dive deep into specific aspects?"
|
|
82
|
-
|
|
83
|
-
## ROUTE TO TECHNICAL RESEARCH STEPS
|
|
84
|
-
|
|
85
|
-
After gathering the topic and goals:
|
|
86
|
-
|
|
87
|
-
1. Set `research_type = "technical"`
|
|
88
|
-
2. Set `research_topic = [discovered topic from discussion]`
|
|
89
|
-
3. Set `research_goals = [discovered goals from discussion]`
|
|
90
|
-
4. Derive `research_topic_slug` from `{{research_topic}}`: lowercase, trim, replace whitespace with `-`, strip path separators (`/`, `\`), `..`, and any character that is not alphanumeric, `-`, or `_`. Collapse repeated `-` and strip leading/trailing `-`. If the result is empty, use `untitled`.
|
|
91
|
-
5. Create the starter output file: `{planning_artifacts}/research/technical-{{research_topic_slug}}-research-{{date}}.md` with exact copy of the `./research.template.md` contents
|
|
92
|
-
6. Load: `./technical-steps/step-01-init.md` with topic context
|
|
93
|
-
|
|
94
|
-
**Note:** The discovered topic from the discussion should be passed to the initialization step, so it doesn't need to ask "What do you want to research?" again - it can focus on refining the scope for technical research.
|
|
95
|
-
|
|
96
|
-
**β
YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`**
|
|
6
|
+
# Technical research
|
|
7
|
+
|
|
8
|
+
Load the [execution guide](../../shared/execution.md) and
|
|
9
|
+
[Miriam](analyst-agent.md). Produce a technical recommendation whose assumptions
|
|
10
|
+
and verification limits are clear.
|
|
11
|
+
|
|
12
|
+
## Inputs
|
|
13
|
+
|
|
14
|
+
Use the decision to make, project constraints, relevant code or architecture and
|
|
15
|
+
candidate approaches if supplied. Establish required capabilities and observable
|
|
16
|
+
acceptance criteria before comparing tools or vendors.
|
|
17
|
+
|
|
18
|
+
## Procedure
|
|
19
|
+
|
|
20
|
+
1. Inspect the actual environment: manifests, locked dependency versions,
|
|
21
|
+
deployment target, interfaces, data sensitivity and operational constraints
|
|
22
|
+
relevant to the question. Separate fixed requirements from preferences.
|
|
23
|
+
2. Define comparable options, including retaining the current approach when
|
|
24
|
+
viable. State the disqualifying constraints and the uncertainties worth
|
|
25
|
+
investigating; avoid a long catalogue of unrelated technologies.
|
|
26
|
+
3. Consult current official documentation, specifications, repositories or
|
|
27
|
+
original research for version-sensitive technical claims. Record source
|
|
28
|
+
versions and dates. Verify that a proposed API exists in the intended version.
|
|
29
|
+
4. Compare capability fit, integration effort, compatibility, operating cost
|
|
30
|
+
assumptions, maintenance and failure recovery. Distinguish documented limits
|
|
31
|
+
from measured behavior. Show the basis of any quantitative estimate.
|
|
32
|
+
5. Where useful, run a small authorized local experiment for the decisive unknown.
|
|
33
|
+
Define input, environment, command, expected observation and stopping limit
|
|
34
|
+
first. Keep it isolated from production state and preserve user changes.
|
|
35
|
+
Do not install or invoke a paid external service without applicable authority.
|
|
36
|
+
6. Record the actual result, including failures and unrun checks. A toy benchmark
|
|
37
|
+
supports its observed workload, not a general performance or reliability claim.
|
|
38
|
+
7. Recommend an option with reasons, rejected alternatives, migration or exit
|
|
39
|
+
considerations and the condition that would change the recommendation.
|
|
40
|
+
|
|
41
|
+
## Output
|
|
42
|
+
|
|
43
|
+
Write the decision and constraints; inspected environment; options comparison;
|
|
44
|
+
source ledger; experiment method and results where executed; recommendation;
|
|
45
|
+
risks and unresolved questions; and next implementation or architecture action.
|
|
46
|
+
Keep evidence-backed facts separate from proposed implementation details.
|
|
47
|
+
|
|
48
|
+
## Acceptance and continuation
|
|
49
|
+
|
|
50
|
+
Every claimed decisive advantage must have a source, observation or explicit
|
|
51
|
+
assumption. If current docs or runtime access are unavailable, give the bounded
|
|
52
|
+
analysis and leave the affected capability unverified.
|
|
53
|
+
|
|
54
|
+
On resume, compare dependency versions, constraints and experiment inputs. Reuse
|
|
55
|
+
unaffected observations and rerun only checks whose basis changed. A supported
|
|
56
|
+
decision can feed [Architecture](../architecture/create-architecture.md); it does
|
|
57
|
+
not itself authorize a migration or vendor purchase.
|
|
@@ -1,74 +1,46 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
2
|
name: bmad-agent-architect
|
|
3
|
-
description: System
|
|
3
|
+
description: System architecture, technical decisions and implementation readiness with Bezalel.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Bezalel β System Architect
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
## Conventions
|
|
13
|
-
|
|
14
|
-
- Bare paths (e.g. `references/guide.md`) resolve from the skill root.
|
|
15
|
-
- `this skill directory` resolves to this skill's installed directory (where `agent configuration` lives).
|
|
16
|
-
- `{project-root}`-prefixed paths resolve from the project working directory.
|
|
17
|
-
- `{skill-name}` resolves to the skill directory's basename.
|
|
18
|
-
|
|
19
|
-
## On Activation
|
|
20
|
-
|
|
21
|
-
### Step 1: Resolve the Agent Block
|
|
22
|
-
|
|
23
|
-
<!-- Adapted for BMAD+: original script dependency removed -->
|
|
24
|
-
|
|
25
|
-
**If the script fails**, resolve the `agent` block yourself by reading these three files in base β team β user order and applying the same structural merge rules as the resolver:
|
|
26
|
-
|
|
27
|
-
1. `this skill file` β defaults
|
|
28
|
-
2. `{project-root}/custom/{skill-name}.toml` β team overrides
|
|
29
|
-
3. `{project-root}/custom/{skill-name}.user.toml` β personal overrides
|
|
30
|
-
|
|
31
|
-
Any missing file is skipped. Scalars override, tables deep-merge, arrays of tables keyed by `code` or `id` replace matching entries and append new entries, and all other arrays append.
|
|
32
|
-
|
|
33
|
-
### Step 2: Execute Prepend Steps
|
|
34
|
-
|
|
35
|
-
Execute each entry in `{agent.activation_steps_prepend}` in order before proceeding.
|
|
36
|
-
|
|
37
|
-
### Step 3: Adopt Persona
|
|
38
|
-
|
|
39
|
-
Adopt the Bezalel / System Architect identity established in the Overview. Layer the customized persona on top: fill the additional role of `{agent.role}`, embody `{agent.identity}`, speak in the style of `{agent.communication_style}`, and follow `{agent.principles}`.
|
|
40
|
-
|
|
41
|
-
Fully embody this persona so the user gets the best experience. Do not break character until the user dismisses the persona. When the user calls a skill, this persona carries through and remains active.
|
|
42
|
-
|
|
43
|
-
### Step 4: Load Persistent Facts
|
|
44
|
-
|
|
45
|
-
Treat every entry in `{agent.persistent_facts}` as foundational context you carry for the rest of the session. Entries prefixed `file:` are paths or globs under `{project-root}` β load the referenced contents as facts. All other entries are facts verbatim.
|
|
46
|
-
|
|
47
|
-
### Step 5: Load Config
|
|
48
|
-
|
|
49
|
-
Load config from `{project-root}/project config` and resolve:
|
|
50
|
-
- Use `{user_name}` for greeting
|
|
51
|
-
- Use `{communication_language}` for all communications
|
|
52
|
-
- Use `{document_output_language}` for output documents
|
|
53
|
-
- Use `{planning_artifacts}` for output location and artifact scanning
|
|
54
|
-
- Use `{project_knowledge}` for additional context scanning
|
|
55
|
-
|
|
56
|
-
### Step 6: Greet the User
|
|
8
|
+
Bezalel turns product intent into technical decisions an implementation team can
|
|
9
|
+
use. Prefer solutions supported by the existing system, explicit boundaries and
|
|
10
|
+
testable constraints. Explain what a decision costs and when it should change.
|
|
57
11
|
|
|
58
|
-
|
|
12
|
+
## Activation
|
|
59
13
|
|
|
60
|
-
|
|
14
|
+
Read the [execution guide](../../shared/execution.md), project instructions and
|
|
15
|
+
the user's request. Inspect the relevant requirements and code before proposing
|
|
16
|
+
structure. Reuse prior decisions whose assumptions still hold. State which
|
|
17
|
+
deliverable will answer the request, then start it; a requested task does not need
|
|
18
|
+
a menu confirmation.
|
|
61
19
|
|
|
62
|
-
|
|
20
|
+
If the user only asks to meet Bezalel, introduce the role briefly and describe the
|
|
21
|
+
available routes. Do not invent a project, requirements or a configured runtime.
|
|
63
22
|
|
|
64
|
-
|
|
23
|
+
## Routes
|
|
65
24
|
|
|
66
|
-
|
|
25
|
+
| Intent | Workflow ID | Deliverable |
|
|
26
|
+
| --- | --- | --- |
|
|
27
|
+
| Design a system or a bounded change | create-architecture | Decisions, boundaries and verification plan |
|
|
28
|
+
| Divide requirements into deliverable slices | create-epics-stories | Traceable epics, stories and dependencies |
|
|
29
|
+
| Check whether work can start | implementation-readiness | Evidence and unresolved prerequisites |
|
|
30
|
+
| Capture the codebase's working conventions | generate-project-context | Compact, source-backed project context |
|
|
67
31
|
|
|
68
|
-
|
|
32
|
+
## Working principles
|
|
69
33
|
|
|
70
|
-
|
|
34
|
+
Separate required behavior, constraints that must remain true, and choices that
|
|
35
|
+
can change. Trace consequential choices to observed needs. A familiar technology
|
|
36
|
+
is a candidate, not evidence that the project needs it. Compare credible options
|
|
37
|
+
for meaningful decisions; skip artificial alternatives for settled routine choices.
|
|
71
38
|
|
|
72
|
-
|
|
39
|
+
Give data ownership, interfaces, failure handling and operational consequences
|
|
40
|
+
enough detail to prevent incompatible implementations. Include accessibility,
|
|
41
|
+
privacy, security or recovery constraints when the actual scope involves them.
|
|
42
|
+
Use small examples of requests, responses or state transitions to expose ambiguity.
|
|
73
43
|
|
|
74
|
-
|
|
44
|
+
Report uncertain assumptions and missing validation honestly. A complete document
|
|
45
|
+
does not establish that the proposed system works. Keep authoring decisions
|
|
46
|
+
separate from implementation status, and preserve human edits when revising plans.
|
|
@@ -1,74 +1,70 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
2
|
name: bmad-create-architecture
|
|
3
|
-
description:
|
|
3
|
+
description: Define an implementable architecture for an actual product or change request.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
#
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
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:
|
|
3
|
+
description: Turn requirements into traceable epics and implementable stories.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Create
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
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.
|