Skip to content

Commit e7365e8

Browse files
authored
refactor: replace bmad-init config loading with direct config.yaml access (#17)
Update all 6 CIS agents to load config directly from {project-root}/_bmad/cis/config.yaml instead of delegating to the bmad-init skill. Remove empty frontmatter from 4 workflow files.
1 parent 1384f15 commit e7365e8

10 files changed

Lines changed: 24 additions & 28 deletions

File tree

src/skills/bmad-cis-agent-brainstorming-coach/SKILL.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ When you are in this persona and the user calls a skill, this persona must carry
3535

3636
## On Activation
3737

38-
1. **Load config via bmad-init skill** — Store all returned vars for use:
39-
- Use `{user_name}` from config for greeting
40-
- Use `{communication_language}` from config for all communications
41-
- Store any other config variables as `{var-name}` and use appropriately
38+
1. Load config from `{project-root}/_bmad/cis/config.yaml` and resolve:
39+
- Use `{user_name}` for greeting
40+
- Use `{communication_language}` for all communications
41+
- Use `{document_output_language}` for output documents
4242

4343
2. **Continue with steps below:**
4444
- **Load project context** — Search for `**/project-context.md`. If found, load as foundational reference for project standards and conventions. If not found, continue without it.

src/skills/bmad-cis-agent-creative-problem-solver/SKILL.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ When you are in this persona and the user calls a skill, this persona must carry
3535

3636
## On Activation
3737

38-
1. **Load config via bmad-init skill** — Store all returned vars for use:
39-
- Use `{user_name}` from config for greeting
40-
- Use `{communication_language}` from config for all communications
41-
- Store any other config variables as `{var-name}` and use appropriately
38+
1. Load config from `{project-root}/_bmad/cis/config.yaml` and resolve:
39+
- Use `{user_name}` for greeting
40+
- Use `{communication_language}` for all communications
41+
- Use `{document_output_language}` for output documents
4242

4343
2. **Continue with steps below:**
4444
- **Load project context** — Search for `**/project-context.md`. If found, load as foundational reference for project standards and conventions. If not found, continue without it.

src/skills/bmad-cis-agent-design-thinking-coach/SKILL.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ When you are in this persona and the user calls a skill, this persona must carry
3636

3737
## On Activation
3838

39-
1. **Load config via bmad-init skill** — Store all returned vars for use:
40-
- Use `{user_name}` from config for greeting
41-
- Use `{communication_language}` from config for all communications
42-
- Store any other config variables as `{var-name}` and use appropriately
39+
1. Load config from `{project-root}/_bmad/cis/config.yaml` and resolve:
40+
- Use `{user_name}` for greeting
41+
- Use `{communication_language}` for all communications
42+
- Use `{document_output_language}` for output documents
4343

4444
2. **Continue with steps below:**
4545
- **Load project context** — Search for `**/project-context.md`. If found, load as foundational reference for project standards and conventions. If not found, continue without it.

src/skills/bmad-cis-agent-innovation-strategist/SKILL.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ When you are in this persona and the user calls a skill, this persona must carry
3535

3636
## On Activation
3737

38-
1. **Load config via bmad-init skill** — Store all returned vars for use:
39-
- Use `{user_name}` from config for greeting
40-
- Use `{communication_language}` from config for all communications
41-
- Store any other config variables as `{var-name}` and use appropriately
38+
1. Load config from `{project-root}/_bmad/cis/config.yaml` and resolve:
39+
- Use `{user_name}` for greeting
40+
- Use `{communication_language}` for all communications
41+
- Use `{document_output_language}` for output documents
4242

4343
2. **Continue with steps below:**
4444
- **Load project context** — Search for `**/project-context.md`. If found, load as foundational reference for project standards and conventions. If not found, continue without it.

src/skills/bmad-cis-agent-presentation-master/SKILL.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ When you are in this persona and the user calls a skill, this persona must carry
4646

4747
## On Activation
4848

49-
1. **Load config via bmad-init skill** — Store all returned vars for use:
50-
- Use `{user_name}` from config for greeting
51-
- Use `{communication_language}` from config for all communications
52-
- Store any other config variables as `{var-name}` and use appropriately
49+
1. Load config from `{project-root}/_bmad/cis/config.yaml` and resolve:
50+
- Use `{user_name}` for greeting
51+
- Use `{communication_language}` for all communications
52+
- Use `{document_output_language}` for output documents
5353

5454
2. **Continue with steps below:**
5555
- **Load project context** — Search for `**/project-context.md`. If found, load as foundational reference for project standards and conventions. If not found, continue without it.

src/skills/bmad-cis-agent-storyteller/SKILL.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ When you are in this persona and the user calls a skill, this persona must carry
4040

4141
## On Activation
4242

43-
1. **Load config via bmad-init skill** — Store all returned vars for use:
44-
- Use `{user_name}` from config for greeting
45-
- Use `{communication_language}` from config for all communications
46-
- Store any other config variables as `{var-name}` and use appropriately
43+
1. Load config from `{project-root}/_bmad/cis/config.yaml` and resolve:
44+
- Use `{user_name}` for greeting
45+
- Use `{communication_language}` for all communications
46+
- Use `{document_output_language}` for output documents
4747

4848
2. **Continue with steps below:**
4949
- **Load project context** — Search for `**/project-context.md`. If found, load as foundational reference for project standards and conventions. If not found, continue without it.

src/skills/bmad-cis-design-thinking/workflow.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
name: bmad-cis-design-thinking
33
description: 'Guide human-centered design processes using empathy-driven methodologies. Use when the user says "lets run design thinking" or "I want to apply design thinking"'
4-
standalone: true
54
main_config: '{project-root}/_bmad/cis/config.yaml'
65
---
76

src/skills/bmad-cis-innovation-strategy/workflow.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
name: bmad-cis-innovation-strategy
33
description: 'Identify disruption opportunities and architect business model innovation. Use when the user says "lets create an innovation strategy" or "I want to find disruption opportunities"'
4-
standalone: true
54
main_config: '{project-root}/_bmad/cis/config.yaml'
65
---
76

src/skills/bmad-cis-problem-solving/workflow.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
name: bmad-cis-problem-solving
33
description: 'Apply systematic problem-solving methodologies to complex challenges. Use when the user says "guide me through structured problem solving" or "I want to crack this challenge with guided problem solving techniques"'
4-
standalone: true
54
main_config: '{project-root}/_bmad/cis/config.yaml'
65
---
76

src/skills/bmad-cis-storytelling/workflow.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
name: bmad-cis-storytelling
33
description: 'Craft compelling narratives using story frameworks. Use when the user says "help me with storytelling" or "I want to create a narrative through storytelling"'
4-
standalone: true
54
main_config: '{project-root}/_bmad/cis/config.yaml'
65
---
76

0 commit comments

Comments
 (0)