custom modules install after any non custom modules selected and after the core, manifest tracks custom modules separately to ensure always installed from the custom cache

This commit is contained in:
Brian Madison
2025-12-14 10:03:25 +08:00
parent 9fe79882b2
commit 7f742d4af6
12 changed files with 340 additions and 51 deletions

View File

@@ -4,16 +4,16 @@
#
# The installer will:
# 1. Ask users if they want to install subagents (all/selective/none)
# 2. Ask where to install (project-level .claude/agents/{bmad_folder}/ or user-level ~/.claude/agents/{bmad_folder}/)
# 2. Ask where to install (project-level .claude/agents/_bmad/ or user-level ~/.claude/agents/_bmad/)
# 3. Only inject content related to selected subagents
# 4. Templates stay in {bmad_folder}/ directory and are referenced from there
# 4. Templates stay in _bmad/ directory and are referenced from there
# 5. Injections are placed at specific sections where each subagent is most valuable
injections:
# ===== PRD WORKFLOW INJECTIONS =====
# PRD Subagent Instructions
- file: "{bmad_folder}/bmm/workflows/prd/instructions.md"
- file: "_bmad/bmm/workflows/prd/instructions.md"
point: "prd-subagent-instructions"
requires: "all-prd-subagents"
content: |
@@ -25,7 +25,7 @@ injections:
- <CRITICAL>Use `bmm-technical-decisions-curator` to capture all technical mentions</CRITICAL>
# PRD Requirements Analysis
- file: "{bmad_folder}/bmm/workflows/prd/instructions.md"
- file: "_bmad/bmm/workflows/prd/instructions.md"
point: "prd-requirements-analysis"
requires: "requirements-analyst"
content: |
@@ -33,7 +33,7 @@ injections:
**Subagent Hint**: Use `bmm-requirements-analyst` to validate requirements are testable and complete.
# PRD User Journey Mapping
- file: "{bmad_folder}/bmm/workflows/prd/instructions.md"
- file: "_bmad/bmm/workflows/prd/instructions.md"
point: "prd-user-journey"
requires: "user-journey-mapper"
content: |
@@ -41,7 +41,7 @@ injections:
**Subagent Hint**: Use `bmm-user-journey-mapper` to map all user types and their value paths.
# PRD Epic Optimization
- file: "{bmad_folder}/bmm/workflows/prd/instructions.md"
- file: "_bmad/bmm/workflows/prd/instructions.md"
point: "prd-epic-optimization"
requires: "epic-optimizer"
content: |
@@ -49,7 +49,7 @@ injections:
**Subagent Hint**: Use `bmm-epic-optimizer` to validate epic boundaries deliver coherent value.
# PRD Document Review
- file: "{bmad_folder}/bmm/workflows/prd/instructions.md"
- file: "_bmad/bmm/workflows/prd/instructions.md"
point: "prd-checklist-review"
requires: "document-reviewer"
content: |
@@ -57,7 +57,7 @@ injections:
**Subagent Hint**: Use `bmm-document-reviewer` to validate PRD completeness before finalizing.
# Technical Decisions Curator
- file: "{bmad_folder}/bmm/workflows/prd/instructions.md"
- file: "_bmad/bmm/workflows/prd/instructions.md"
point: "technical-decisions-curator"
requires: "technical-decisions-curator"
content: |
@@ -71,7 +71,7 @@ injections:
# ===== MARKET RESEARCH TEMPLATE INJECTIONS =====
# Market TAM/SAM/SOM Calculations
- file: "{bmad_folder}/bmm/templates/market.md"
- file: "_bmad/bmm/templates/market.md"
point: "market-tam-calculations"
requires: "data-analyst"
content: |
@@ -82,7 +82,7 @@ injections:
</llm>
# Market Trends Analysis
- file: "{bmad_folder}/bmm/templates/market.md"
- file: "_bmad/bmm/templates/market.md"
point: "market-trends-analysis"
requires: "trend-spotter"
content: |
@@ -93,7 +93,7 @@ injections:
</llm>
# Market Customer Personas
- file: "{bmad_folder}/bmm/templates/market.md"
- file: "_bmad/bmm/templates/market.md"
point: "market-customer-segments"
requires: "user-researcher"
content: |
@@ -104,7 +104,7 @@ injections:
</llm>
# Market Research Review
- file: "{bmad_folder}/bmm/templates/market.md"
- file: "_bmad/bmm/templates/market.md"
point: "market-executive-summary"
requires: "document-reviewer"
content: |
@@ -116,7 +116,7 @@ injections:
# ===== COMPETITOR ANALYSIS TEMPLATE INJECTIONS =====
# Competitor Intelligence Gathering
- file: "{bmad_folder}/bmm/templates/competitor.md"
- file: "_bmad/bmm/templates/competitor.md"
point: "competitor-intelligence"
requires: "market-researcher"
content: |
@@ -127,7 +127,7 @@ injections:
</llm>
# Competitor Technical Analysis
- file: "{bmad_folder}/bmm/templates/competitor.md"
- file: "_bmad/bmm/templates/competitor.md"
point: "competitor-tech-stack"
requires: "technical-evaluator"
content: |
@@ -138,7 +138,7 @@ injections:
</llm>
# Competitor Metrics Analysis
- file: "{bmad_folder}/bmm/templates/competitor.md"
- file: "_bmad/bmm/templates/competitor.md"
point: "competitor-metrics"
requires: "data-analyst"
content: |
@@ -148,7 +148,7 @@ injections:
</llm>
# Competitor Analysis Review
- file: "{bmad_folder}/bmm/templates/competitor.md"
- file: "_bmad/bmm/templates/competitor.md"
point: "competitor-executive-summary"
requires: "document-reviewer"
content: |
@@ -160,7 +160,7 @@ injections:
# ===== PROJECT BRIEF TEMPLATE INJECTIONS =====
# Brief Problem Validation
- file: "{bmad_folder}/bmm/templates/brief.md"
- file: "_bmad/bmm/templates/brief.md"
point: "brief-problem-validation"
requires: "market-researcher"
content: |
@@ -170,7 +170,7 @@ injections:
</llm>
# Brief Target User Analysis
- file: "{bmad_folder}/bmm/templates/brief.md"
- file: "_bmad/bmm/templates/brief.md"
point: "brief-user-analysis"
requires: "user-researcher"
content: |
@@ -180,7 +180,7 @@ injections:
</llm>
# Brief Success Metrics
- file: "{bmad_folder}/bmm/templates/brief.md"
- file: "_bmad/bmm/templates/brief.md"
point: "brief-success-metrics"
requires: "data-analyst"
content: |
@@ -190,7 +190,7 @@ injections:
</llm>
# Brief Technical Feasibility
- file: "{bmad_folder}/bmm/templates/brief.md"
- file: "_bmad/bmm/templates/brief.md"
point: "brief-technical-feasibility"
requires: "technical-evaluator"
content: |
@@ -200,7 +200,7 @@ injections:
</llm>
# Brief Requirements Extraction
- file: "{bmad_folder}/bmm/templates/brief.md"
- file: "_bmad/bmm/templates/brief.md"
point: "brief-requirements"
requires: "requirements-analyst"
content: |
@@ -210,7 +210,7 @@ injections:
</llm>
# Brief Document Review
- file: "{bmad_folder}/bmm/templates/brief.md"
- file: "_bmad/bmm/templates/brief.md"
point: "brief-final-review"
requires: "document-reviewer"
content: |

View File

@@ -84,4 +84,4 @@ To test subagent installation:
2. Select BMM module and Claude Code
3. Verify prompts appear for subagent selection
4. Check `.claude/agents/` for installed subagents
5. Verify injection points are replaced in `.claude/commands/{bmad_folder}/` and the various tasks and templates under `{bmad_folder}/...`
5. Verify injection points are replaced in `.claude/commands/_bmad/` and the various tasks and templates under `_bmad/...`

View File

@@ -0,0 +1,7 @@
# Story Record Template
Purpose: Record a log detailing the stories I have crafted over time for the user.
## Narratives Told Record
<!-- track stories created metadata with the user over time -->

View File

@@ -0,0 +1,7 @@
# Story Record Template
Purpose: Record a log of learned users story telling or story building preferences.
## User Preferences
<!-- record any user preferences about story crafting the user prefers -->

View File

@@ -14,6 +14,10 @@ agent:
communication_style: Speaks like a bard weaving an epic tale - flowery, whimsical, every sentence enraptures and draws you deeper
principles: Powerful narratives leverage timeless human truths. Find the authentic story. Make the abstract concrete through vivid details.
critical_actions:
- "Load COMPLETE file {agent_sidecar_folder}/storyteller-sidecar/story-preferences.md and review remember the User Preferences"
- "Load COMPLETE file {agent_sidecar_folder}/storyteller-sidecar/stories-told.md and review the history of stories created for this user"
menu:
- trigger: story
exec: "{project-root}/_bmad/cis/workflows/storytelling/workflow.yaml"