src/core-skills/bmad-brainstorming/steps/step-01-session-setup.md
communication_languagestepsCompleted: [1] before loading next stepInitialize the brainstorming workflow by detecting continuation state and setting up session context.
First, check the brainstorming sessions folder for existing sessions:
{output_folder}/brainstorming/If existing session files are found:
[filename]. Would you like to:
[1] Continue this session
[2] Start a new session
[3] See all existing sessions"HALT ā wait for user selection before proceeding.
{brainstorming_session_output_file} to that file path and load ./step-01b-continue.mdIf no document exists or no stepsCompleted in frontmatter:
Create the brainstorming session document:
# Create directory if needed
mkdir -p "$(dirname "{brainstorming_session_output_file}")"
# Initialize from template
cp "../template.md" "{brainstorming_session_output_file}"
Check for Context File:
context_file is provided in workflow invocation"Welcome {{user_name}}! I'm excited to facilitate your brainstorming session. I'll guide you through proven creativity techniques to generate innovative ideas and breakthrough solutions.
Context Loading: [If context_file provided, indicate context is loaded] Context-Based Guidance: [If context available, briefly mention focus areas]
Let's set up your session for maximum creativity and productivity:
Session Discovery Questions:
Wait for user responses, then:
Session Analysis: "Based on your responses, I understand we're focusing on [summarized topic] with goals around [summarized objectives].
Session Parameters:
Does this accurately capture what you want to achieve?"
Update the document frontmatter:
---
stepsCompleted: [1]
inputDocuments: []
session_topic: '[session_topic]'
session_goals: '[session_goals]'
selected_approach: ''
techniques_used: []
ideas_generated: []
context_file: '[context_file if provided]'
---
Append to document:
## Session Overview
**Topic:** [session_topic]
**Goals:** [session_goals]
### Context Guidance
_[If context file provided, summarize key context and focus areas]_
### Session Setup
_[Content based on conversation about session parameters and facilitator approach]_
When user selects approach, append the session overview content directly to {brainstorming_session_output_file} using the structure from above.
"Session setup complete! I have a clear understanding of your goals and can select the perfect techniques for your brainstorming needs.
Ready to explore technique approaches? [1] User-Selected Techniques - Browse our complete technique library [2] AI-Recommended Techniques - Get customized suggestions based on your goals [3] Random Technique Selection - Discover unexpected creative methods [4] Progressive Technique Flow - Start broad, then systematically narrow focus
Which approach appeals to you most? (Enter 1-4)"
HALT ā wait for user selection before proceeding.
{brainstorming_session_output_file}stepsCompleted: [1], selected_approach: '[selected approach]'After user selects approach number:
./step-02a-user-selected.md./step-02b-ai-recommended.md./step-02c-random-selection.md./step-02d-progressive-flow.mdā Existing sessions detected without reading file contents ā User prompted to continue existing session or start new ā Correct session file selected for continuation ā Fresh workflow initialized with correct document structure ā Session context gathered and understood clearly ā User's approach selection captured and routed correctly ā Frontmatter properly updated with session state ā Document initialized with session overview section
ā Reading file contents during session detection (wastes context) ā Not asking user before continuing existing session ā Not properly routing user's continue/new session selection ā Missing continuation detection leading to duplicate work ā Insufficient session context gathering ā Not properly routing user's approach selection ā Frontmatter not updated with session parameters
Based on user's approach selection, load the appropriate step-02 file for technique selection and facilitation.
Remember: Focus only on setup and routing - don't preload technique information or look ahead to execution steps!