Skip to content

Commit 14a63b8

Browse files
authored
feat(workflows): adopt customize.toml pattern for workflow skills (#30)
* feat(workflows): adopt customize.toml pattern for workflow skills Merge redirect-only SKILL.md with workflow.md content into a single SKILL.md per workflow skill, add Conventions + On Activation (resolve customization, prepend/append steps, persistent_facts, config load, greet), and wire workflow.on_complete into the final step(s). Applies to design-thinking, innovation-strategy, problem-solving, and storytelling. Mirrors the customization surface shipped for the agent skills in #29. * fix(workflows): address PR review comments - Disambiguate workflow step references in the Inputs section — "before Step N" now reads "before workflow Step N" since the activation block also numbers its steps 1-6. - Clarify persistent_facts handling when a file: entry's glob matches nothing or the path is missing — silently skip, do not fabricate. - Storytelling: fix literal `communication_language` to the templated `{communication_language}` so runtime language switching actually applies. * docs(changelog): record v0.2.0 — customize.toml pattern rollout
1 parent 643aba8 commit 14a63b8

15 files changed

Lines changed: 1467 additions & 1167 deletions

File tree

.claude-plugin/marketplace.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"name": "bmad-creative-intelligence-suite",
1313
"source": "./",
1414
"description": "A suite of creative AI agents and workflows for brainstorming, problem-solving, design thinking, innovation strategy, storytelling, and presentations. Part of the BMad Method ecosystem.",
15-
"version": "0.1.9",
15+
"version": "0.2.0",
1616
"author": {
1717
"name": "Brian (BMad) Madison"
1818
},

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# CHANGELOG
22

3+
## v0.2.0 - Apr 21, 2026 — customize.toml pattern across agents and workflows
4+
5+
### Agent customization surface
6+
7+
* All six agents (`bmad-cis-agent-brainstorming-coach`, `bmad-cis-agent-creative-problem-solver`, `bmad-cis-agent-design-thinking-coach`, `bmad-cis-agent-innovation-strategist`, `bmad-cis-agent-presentation-master`, `bmad-cis-agent-storyteller`) adopt the BMAD-METHOD `customize.toml` pattern. Each agent's `SKILL.md` now runs a six-step On Activation block that resolves customization via `resolve_customization.py`, executes prepend/append hook steps, loads `persistent_facts`, reads config from `{project-root}/_bmad/cis/config.yaml`, and greets the user before the menu appears.
8+
* Added `[agent]` namespace in each agent's `customize.toml` exposing `role`, `identity`, `communication_style`, `principles`, `persistent_facts`, `activation_steps_prepend/append`, and the `[[agent.menu]]` entries. Overrides merge per BMad structural rules (scalars override, keyed arrays-of-tables replace-or-append, other arrays append).
9+
* Added an agent roster with essence descriptors in `src/module.yaml` so external skills (party-mode, retrospective, advanced-elicitation, help catalog) can route to, display, and embody CIS agents without reading each agent file.
10+
11+
### Workflow customization surface
12+
13+
* All four workflow skills (`bmad-cis-design-thinking`, `bmad-cis-innovation-strategy`, `bmad-cis-problem-solving`, `bmad-cis-storytelling`) converted from redirect-only `SKILL.md` + `workflow.md` split to a single integrated `SKILL.md`. The standalone `workflow.md` file is removed from every workflow skill.
14+
* Each workflow gains the same six-step On Activation block as agents (resolve customization → prepend → `persistent_facts` → config load → greet → append), plus a `Conventions` block declaring `{skill-root}`, `{project-root}`, and `{skill-name}`.
15+
* Each workflow's terminal step now invokes `resolve_customization.py --key workflow.on_complete` as an `<action>` inside the final `<step>`. `bmad-cis-problem-solving` wires the hook at both the last mandatory step 8 and the optional step 9 so the hook fires whether or not the user runs the reflection step.
16+
* Added `customize.toml` at every workflow skill root with a `[workflow]` namespace exposing `activation_steps_prepend`, `activation_steps_append`, `persistent_facts`, and `on_complete`. Team and per-user overrides merge from `{project-root}/_bmad/custom/{skill-name}.toml` and `{skill-name}.user.toml`.
17+
18+
### Fixes bundled with the rollout
19+
20+
* Disambiguated "before Step N" references in workflow Inputs sections to "before workflow Step N" now that the activation block also numbers its steps 1-6.
21+
* Clarified `persistent_facts` behavior — if a `file:` glob matches no files or a path does not exist, silently skip that entry rather than fabricate content.
22+
* `bmad-cis-storytelling`: fixed literal `communication_language` to templated `{communication_language}` so runtime language switching applies as intended.
23+
324
## v0.1.9 - Mar 18, 2026
425

526
* Patch conversion rename of folder and conversion to skill format

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://json.schemastore.org/package.json",
33
"name": "bmad-creative-intelligence-suite",
4-
"version": "0.1.9",
4+
"version": "0.2.0",
55
"private": true,
66
"description": "A BMad MEthod Core Module that offers a suite of very creative agents and workflows",
77
"keywords": [

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

Lines changed: 269 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,272 @@ 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"'
44
---
55

6-
Follow the instructions in [workflow.md](workflow.md).
6+
# Design Thinking Workflow
7+
8+
**Goal:** Guide human-centered design through empathy, definition, ideation, prototyping, and testing.
9+
10+
**Your Role:** You are a human-centered design facilitator. Keep users at the center, defer judgment during ideation, prototype quickly, and never give time estimates.
11+
12+
## Conventions
13+
14+
- Bare paths (e.g. `template.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+
## On Activation
20+
21+
### Step 1: Resolve the Workflow Block
22+
23+
Run: `python3 {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow`
24+
25+
**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:
26+
27+
1. `{skill-root}/customize.toml` — defaults
28+
2. `{project-root}/_bmad/custom/{skill-name}.toml` — team overrides
29+
3. `{project-root}/_bmad/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 `{workflow.activation_steps_prepend}` in order before proceeding.
36+
37+
### Step 3: Load Persistent Facts
38+
39+
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. If a glob matches no files or a path does not exist, silently skip that entry; do not fabricate content to fill the gap. All other entries are facts verbatim.
40+
41+
### Step 4: Load Config
42+
43+
Load config from `{project-root}/_bmad/cis/config.yaml` and resolve:
44+
45+
- `output_folder`
46+
- `user_name`
47+
- `communication_language`
48+
- `date` as the system-generated current datetime
49+
50+
### Step 5: Greet the User
51+
52+
Greet `{user_name}`, speaking in `{communication_language}`.
53+
54+
### Step 6: Execute Append Steps
55+
56+
Execute each entry in `{workflow.activation_steps_append}` in order.
57+
58+
Activation is complete. Begin the workflow below.
59+
60+
## Paths
61+
62+
- `template_file` = `./template.md`
63+
- `design_methods_file` = `./design-methods.csv`
64+
- `default_output_file` = `{output_folder}/design-thinking-{date}.md`
65+
66+
## Inputs
67+
68+
- If the caller provides context via the data attribute, load it before workflow Step 1 and use it to ground the session.
69+
- Load and understand the full contents of `{design_methods_file}` before workflow Step 2.
70+
- Use `{template_file}` as the structure when writing `{default_output_file}`.
71+
72+
## Behavioral Constraints
73+
74+
- Do not give time estimates.
75+
- After every `<template-output>`, immediately save the current artifact to `{default_output_file}`, show a clear checkpoint separator, display the generated content, present options `[a] Advanced Elicitation`, `[c] Continue`, `[p] Party-Mode`, `[y] YOLO`, and wait for the user's response before proceeding.
76+
77+
## Facilitation Principles
78+
79+
- Keep users at the center of every decision.
80+
- Encourage divergent thinking before convergent action.
81+
- Make ideas tangible quickly; prototypes beat discussion.
82+
- Treat failure as feedback.
83+
- Test with real users rather than assumptions.
84+
- Balance empathy with momentum.
85+
86+
## Execution
87+
88+
<workflow>
89+
90+
<step n="1" goal="Gather context and define design challenge">
91+
Ask the user about their design challenge:
92+
93+
- What problem or opportunity are you exploring?
94+
- Who are the primary users or stakeholders?
95+
- What constraints exist (time, budget, technology)?
96+
- What does success look like for this project?
97+
- What existing research or context should we consider?
98+
99+
Load any context data provided via the data attribute.
100+
101+
Create a clear design challenge statement.
102+
103+
<template-output>design_challenge</template-output>
104+
<template-output>challenge_statement</template-output>
105+
</step>
106+
107+
<step n="2" goal="EMPATHIZE - Build understanding of users">
108+
Guide the user through empathy-building activities. Explain in your own voice why deep empathy with users is essential before jumping to solutions.
109+
110+
Review empathy methods from `{design_methods_file}` for the `empathize` phase and select 3-5 methods that fit the design challenge context. Consider:
111+
112+
- Available resources and access to users
113+
- Time constraints
114+
- Type of product or service being designed
115+
- Depth of understanding needed
116+
117+
Offer the selected methods with guidance on when each works best, then ask which methods the user has used or can use, or make a recommendation based on the specific challenge.
118+
119+
Help gather and synthesize user insights:
120+
121+
- What did users say, think, do, and feel?
122+
- What pain points emerged?
123+
- What surprised you?
124+
- What patterns do you see?
125+
126+
<template-output>user_insights</template-output>
127+
<template-output>key_observations</template-output>
128+
<template-output>empathy_map</template-output>
129+
</step>
130+
131+
<step n="3" goal="DEFINE - Frame the problem clearly">
132+
<energy-checkpoint>
133+
Check in: "We've gathered rich user insights. How are you feeling? Ready to synthesize them into problem statements?"
134+
</energy-checkpoint>
135+
136+
Transform observations into actionable problem statements.
137+
138+
Guide the user through problem framing:
139+
140+
1. Create a Point of View statement: "[User type] needs [need] because [insight]"
141+
2. Generate "How Might We" questions that open solution space
142+
3. Identify key insights and opportunity areas
143+
144+
Ask probing questions:
145+
146+
- What's the real problem we're solving?
147+
- Why does this matter to users?
148+
- What would success look like for them?
149+
- What assumptions are we making?
150+
151+
<template-output>pov_statement</template-output>
152+
<template-output>hmw_questions</template-output>
153+
<template-output>problem_insights</template-output>
154+
</step>
155+
156+
<step n="4" goal="IDEATE - Generate diverse solutions">
157+
Facilitate creative solution generation. Explain in your own voice the importance of divergent thinking and deferring judgment during ideation.
158+
159+
Review ideation methods from `{design_methods_file}` for the `ideate` phase and select 3-5 methods that fit the context. Consider:
160+
161+
- Group versus individual ideation
162+
- Time available
163+
- Problem complexity
164+
- Team creativity comfort level
165+
166+
Offer the selected methods with brief descriptions of when each works best.
167+
168+
Walk through the chosen method or methods:
169+
170+
- Generate at least 15-30 ideas
171+
- Build on others' ideas
172+
- Go for wild and practical
173+
- Defer judgment
174+
175+
Help cluster and select top concepts:
176+
177+
- Which ideas excite you most?
178+
- Which ideas address the core user need?
179+
- Which ideas are feasible given the constraints?
180+
- Select 2-3 ideas to prototype
181+
182+
<template-output>ideation_methods</template-output>
183+
<template-output>generated_ideas</template-output>
184+
<template-output>top_concepts</template-output>
185+
</step>
186+
187+
<step n="5" goal="PROTOTYPE - Make ideas tangible">
188+
<energy-checkpoint>
189+
Check in: "We've generated lots of ideas. How is your energy for making some of them tangible through prototyping?"
190+
</energy-checkpoint>
191+
192+
Guide creation of low-fidelity prototypes for testing. Explain in your own voice why rough and quick prototypes are better than polished ones at this stage.
193+
194+
Review prototyping methods from `{design_methods_file}` for the `prototype` phase and select 2-4 methods that fit the solution type. Consider:
195+
196+
- Physical versus digital product
197+
- Service versus product
198+
- Available materials and tools
199+
- What needs to be tested
200+
201+
Offer the selected methods with guidance on fit.
202+
203+
Help define the prototype:
204+
205+
- What's the minimum needed to test your assumptions?
206+
- What are you trying to learn?
207+
- What should users be able to do?
208+
- What can you fake versus build?
209+
210+
<template-output>prototype_approach</template-output>
211+
<template-output>prototype_description</template-output>
212+
<template-output>features_to_test</template-output>
213+
</step>
214+
215+
<step n="6" goal="TEST - Validate with users">
216+
Design the validation approach and capture learnings. Explain in your own voice why observing what users do matters more than what they say.
217+
218+
Help plan testing:
219+
220+
- Who will you test with? Aim for 5-7 users.
221+
- What tasks will they attempt?
222+
- What questions will you ask?
223+
- How will you capture feedback?
224+
225+
Guide feedback collection:
226+
227+
- What worked well?
228+
- Where did they struggle?
229+
- What surprised them, and you?
230+
- What questions arose?
231+
- What would they change?
232+
233+
Synthesize learnings:
234+
235+
- What assumptions were validated or invalidated?
236+
- What needs to change?
237+
- What should stay?
238+
- What new insights emerged?
239+
240+
<template-output>testing_plan</template-output>
241+
<template-output>user_feedback</template-output>
242+
<template-output>key_learnings</template-output>
243+
</step>
244+
245+
<step n="7" goal="Plan next iteration">
246+
<energy-checkpoint>
247+
Check in: "Great work. How is your energy for final planning and defining next steps?"
248+
</energy-checkpoint>
249+
250+
Define clear next steps and success criteria.
251+
252+
Based on testing insights:
253+
254+
- What refinements are needed?
255+
- What's the priority action?
256+
- Who needs to be involved?
257+
- What sequence makes sense?
258+
- How will you measure success?
259+
260+
Determine the next cycle:
261+
262+
- Do you need more empathy work?
263+
- Should you reframe the problem?
264+
- Are you ready to refine the prototype?
265+
- Is it time to pilot with real users?
266+
267+
<template-output>refinements</template-output>
268+
<template-output>action_items</template-output>
269+
<template-output>success_metrics</template-output>
270+
271+
<action>Run: `python3 {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow.on_complete` — if the resolved value is non-empty, follow it as the final terminal instruction before exiting.</action>
272+
</step>
273+
274+
</workflow>
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# DO NOT EDIT -- overwritten on every update.
2+
#
3+
# Workflow customization surface for bmad-cis-design-thinking. 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. "Empathy interviews must include at least 5 real users before ideation."
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 7 (Plan next iteration),
38+
# after refinements, action items, and success metrics are captured. Override wins.
39+
# Leave empty for no custom post-completion behavior.
40+
41+
on_complete = ""

0 commit comments

Comments
 (0)