Files
pig-farm-controller/bmad/bmm/workflows/1-analysis/brainstorm-game/instructions.md
2025-11-01 19:22:39 +08:00

5.6 KiB

The workflow execution engine is governed by: {project_root}/bmad/core/tasks/workflow.xml You MUST have already loaded and processed: {installed_path}/workflow.yaml Communicate all responses in {communication_language} This is a meta-workflow that orchestrates the CIS brainstorming workflow with game-specific context and additional game design techniques

Check if {output_folder}/bmm-workflow-status.yaml exists
<check if="status file not found">
  <output>No workflow status file found. Game brainstorming is optional - you can continue without status tracking.</output>
  <action>Set standalone_mode = true</action>
</check>

<check if="status file found">
  <action>Load the FULL file: {output_folder}/bmm-workflow-status.yaml</action>
  <action>Parse workflow_status section</action>
  <action>Check status of "brainstorm-game" workflow</action>
  <action>Get project_level from YAML metadata</action>
  <action>Find first non-completed workflow (next expected workflow)</action>

  <check if="project_type != 'game'">
    <output>Note: This is a {{project_type}} project. Game brainstorming is designed for game projects.</output>
    <ask>Continue with game brainstorming anyway? (y/n)</ask>
    <check if="n">
      <action>Exit workflow</action>
    </check>
  </check>

  <check if="brainstorm-game status is file path (already completed)">
    <output>⚠️ Game brainstorming session already completed: {{brainstorm-game status}}</output>
    <ask>Re-running will create a new session. Continue? (y/n)</ask>
    <check if="n">
      <output>Exiting. Use workflow-status to see your next step.</output>
      <action>Exit workflow</action>
    </check>
  </check>

  <check if="brainstorm-game is not the next expected workflow (latter items are completed already in the list)">
    <output>⚠️ Next expected workflow: {{next_workflow}}. Game brainstorming is out of sequence.</output>
    <ask>Continue with game brainstorming anyway? (y/n)</ask>
    <check if="n">
      <output>Exiting. Run {{next_workflow}} instead.</output>
      <action>Exit workflow</action>
    </check>
  </check>

  <action>Set standalone_mode = false</action>
</check>
Read the game context document from: {game_context} This context provides game-specific guidance including: - Focus areas for game ideation (mechanics, narrative, experience, etc.) - Key considerations for game design - Recommended techniques for game brainstorming - Output structure guidance Load game-specific brain techniques from: {game_brain_methods} These additional techniques supplement the standard CIS brainstorming methods with game design-focused approaches like: - MDA Framework exploration - Core loop brainstorming - Player fantasy mining - Genre mashup - And other game-specific ideation methods Execute the CIS brainstorming workflow with game context and additional techniques The CIS brainstorming workflow will: - Merge game-specific techniques with standard techniques - Present interactive brainstorming techniques menu - Guide the user through selected ideation methods - Generate and capture brainstorming session results - Save output to: {output_folder}/brainstorming-session-results-{{date}}.md Load the FULL file: {output_folder}/bmm-workflow-status.yaml Find workflow_status key "brainstorm-game" ONLY write the file path as the status value - no other text, notes, or metadata Update workflow_status["brainstorm-game"] = "{output_folder}/bmm-brainstorming-session-{{date}}.md" Save file, preserving ALL comments and structure including STATUS DEFINITIONS
  <action>Find first non-completed workflow in workflow_status (next workflow to do)</action>
  <action>Determine next agent from path file based on next workflow</action>
</check>

<output>**✅ Game Brainstorming Session Complete, {user_name}!**

Session Results:

  • Game brainstorming results saved to: {output_folder}/bmm-brainstorming-session-{{date}}.md

{{#if standalone_mode != true}} Status Updated:

  • Progress tracking updated: brainstorm-game marked complete
  • Next workflow: {{next_workflow}} {{else}} Note: Running in standalone mode (no progress tracking) {{/if}}

Next Steps:

{{#if standalone_mode != true}}

  • Next workflow: {{next_workflow}} ({{next_agent}} agent)
  • Optional: You can run other analysis workflows (research, game-brief) before proceeding

Check status anytime with: workflow-status {{else}} Since no workflow is in progress:

  • Refer to the BMM workflow guide if unsure what to do next
  • Or run workflow-init to create a workflow path and get guided next steps {{/if}}