Files
Claude-Code-Workflow/ccw/docs-site/build/assets/js/d045285b.73fb2bfa.js

1 line
25 KiB
JavaScript

"use strict";(globalThis.webpackChunkccw_docs=globalThis.webpackChunkccw_docs||[]).push([[241],{1184(e,n,s){s.d(n,{R:()=>t,x:()=>d});var i=s(4041);const r={},l=i.createContext(r);function t(e){const n=i.useContext(l);return i.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:t(e.components),i.createElement(l.Provider,{value:n},e.children)}},2002(e,n,s){s.r(n),s.d(n,{assets:()=>o,contentTitle:()=>c,default:()=>x,frontMatter:()=>d,metadata:()=>i,toc:()=>a});const i=JSON.parse('{"id":"workflows/level-4-brainstorm","title":"Level 4 - Brainstorm Workflows","description":"Multi-role brainstorming workflows for complex feature design and architecture exploration","source":"@site/docs/workflows/level-4-brainstorm.mdx","sourceDirName":"workflows","slug":"/workflows/level-4-brainstorm","permalink":"/docs/docs/workflows/level-4-brainstorm","draft":false,"unlisted":false,"editUrl":"https://github.com/ccw/docs/tree/main/docs/workflows/level-4-brainstorm.mdx","tags":[],"version":"current","sidebarPosition":5,"frontMatter":{"title":"Level 4 - Brainstorm Workflows","description":"Multi-role brainstorming workflows for complex feature design and architecture exploration","sidebar_position":5},"sidebar":"docs","previous":{"title":"Level 3: Standard","permalink":"/docs/docs/workflows/level-3-standard"},"next":{"title":"Level 5: Intelligent","permalink":"/docs/docs/workflows/level-5-intelligent"}}');var r=s(1085),l=s(1184),t=s(1540);const d={title:"Level 4 - Brainstorm Workflows",description:"Multi-role brainstorming workflows for complex feature design and architecture exploration",sidebar_position:5},c="Level 4: Brainstorm Workflows",o={},a=[{value:"Overview",id:"overview",level:2},{value:"Included Workflow: brainstorm",id:"included-workflow-brainstorm",level:2},{value:"Command",id:"command",level:3},{value:"Flow Diagram",id:"flow-diagram",level:3},{value:"Characteristics",id:"characteristics",level:3},{value:"Process Phases",id:"process-phases",level:3},{value:"Phase 1: Interactive Framework Generation",id:"phase-1-interactive-framework-generation",level:4},{value:"Phase 2: Parallel Role Analysis",id:"phase-2-parallel-role-analysis",level:4},{value:"Phase 3: Synthesis Integration",id:"phase-3-synthesis-integration",level:4},{value:"Available Roles",id:"available-roles",level:3},{value:"Artifact Structure",id:"artifact-structure",level:3},{value:"Use Cases",id:"use-cases",level:3},{value:"When to Use",id:"when-to-use",level:3},{value:"When NOT to Use",id:"when-not-to-use",level:3},{value:"Examples",id:"examples",level:3},{value:"Example 1: Architecture Design",id:"example-1-architecture-design",level:4},{value:"Example 2: Feature Exploration",id:"example-2-feature-exploration",level:4},{value:"With-File Workflows",id:"with-file-workflows",level:2},{value:"brainstorm-with-file",id:"brainstorm-with-file",level:3},{value:"debug-with-file",id:"debug-with-file",level:3},{value:"analyze-with-file",id:"analyze-with-file",level:3},{value:"Detection Keywords",id:"detection-keywords",level:2},{value:"Comparison: With-File vs Standard Workflows",id:"comparison-with-file-vs-standard-workflows",level:2},{value:"Level 4 Summary",id:"level-4-summary",level:2},{value:"Related Workflows",id:"related-workflows",level:2},{value:"Command Reference",id:"command-reference",level:2}];function h(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,l.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.header,{children:(0,r.jsx)(n.h1,{id:"level-4-brainstorm-workflows",children:"Level 4: Brainstorm Workflows"})}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Complexity"}),": High | ",(0,r.jsx)(n.strong,{children:"Artifacts"}),": Multi-role analysis docs | ",(0,r.jsx)(n.strong,{children:"Roles"}),": 3-9 | ",(0,r.jsx)(n.strong,{children:"Execution"}),": Phase 1/3 sequential, Phase 2 parallel"]}),"\n",(0,r.jsx)(n.p,{children:"Level 4 workflows provide multi-role brainstorming with complete planning and execution. They're designed for exploratory requirements, uncertain implementation approaches, and multi-dimensional trade-offs."}),"\n",(0,r.jsx)(n.h2,{id:"overview",children:"Overview"}),"\n",(0,r.jsx)(t.A,{chart:"\n flowchart TD\n Start([User Input]) --\x3e BS[brainstorm:auto-parallel]\n BS --\x3e P1[Phase 1: Interactive<br/>Framework Generation]\n P1 --\x3e P2[Phase 2: Parallel<br/>Role Analysis]\n P2 --\x3e P3[Phase 3: Synthesis<br/>Integration]\n\n P3 --\x3e Plan{Need detailed<br/>planning?}\n Plan --\x3e|Yes| Verify[plan-verify]\n Plan --\x3e|No| Execute[execute]\n Verify --\x3e Execute\n\n Execute --\x3e Review{Review?}\n Review --\x3e|Yes| Rev[review-session-cycle]\n Review --\x3e|No| Test{Tests?}\n Rev --\x3e RevFix[review-cycle-fix]\n RevFix --\x3e Test\n\n Test --\x3e|Yes| TFG[test-fix-gen]\n Test --\x3e|No| Complete([session:complete])\n\n TFG --\x3e TCE[test-cycle-execute]\n TCE --\x3e Complete\n\n classDef startend fill:#c8e6c9,stroke:#388e3c\n classDef workflow fill:#e3f2fd,stroke:#1976d2\n classDef decision fill:#fff9c4,stroke:#f57c00\n classDef execute fill:#c5e1a5,stroke:#388e3c\n\n class Start,Complete startend,Plan,Review,Test decision,BS,Verify,Rev,RevFix,TFG,TCE workflow,P1,P2,P3,Execute execute\n"}),"\n",(0,r.jsxs)(n.h2,{id:"included-workflow-brainstorm",children:["Included Workflow: brainstorm",":auto-parallel"]}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"Multi-role brainstorming + Complete planning + Execution"})}),"\n",(0,r.jsx)(n.h3,{id:"command",children:"Command"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:'/workflow:brainstorm:auto-parallel "Real-time notification system architecture" [--count N] [--style-skill package]\n/workflow:plan --session {sessionId}\n/workflow:plan-verify\n/workflow:execute\n'})}),"\n",(0,r.jsx)(n.h3,{id:"flow-diagram",children:"Flow Diagram"}),"\n",(0,r.jsx)(t.A,{chart:"\n flowchart TD\n A([Start]) --\x3e B[Phase 1: Interactive<br/>Framework Generation]\n B --\x3e C[/workflow:brainstorm:artifacts/]\n\n C --\x3e D[Topic analysis<br/>Generate questions]\n D --\x3e E[Role selection<br/>User confirmation]\n E --\x3e F[Role question collection]\n F --\x3e G[Conflict detection<br/>and resolution]\n G --\x3e H[Generate guidance-<br/>specification.md]\n\n H --\x3e I[Phase 2: Parallel Role Analysis]\n\n I --\x3e J1[N x Task<br/>conceptual-planning-<br/>agent]\n J1 --\x3e K1{Role 1}\n J1 --\x3e K2{Role 2}\n J1 --\x3e K3{Role 3}\n J1 --\x3e K4{Role N}\n\n K1 --\x3e L1[Analyze independently]\n K2 --\x3e L2[Analyze independently]\n K3 --\x3e L3[Analyze independently]\n K4 --\x3e L4[Analyze independently]\n\n L1 --\x3e M[Parallel generate<br/>{role}/analysis.md]\n L2 --\x3e M\n L3 --\x3e M\n L4 --\x3e M\n\n M --\x3e N[Phase 3: Synthesis Integration]\n N --\x3e O[/workflow:brainstorm:<br/>synthesis/]\n O --\x3e P[Integrate all role<br/>analyses]\n P --\x3e Q[Synthesize into<br/>synthesis-specification.md]\n\n Q --\x3e R([Brainstorm Complete])\n\n classDef startend fill:#c8e6c9,stroke:#388e3c\n classDef action fill:#e3f2fd,stroke:#1976d2\n classDef phase fill:#fff9c4,stroke:#f57c00\n classDef parallel fill:#ffecb3,stroke:#ffa000\n\n class A,R startend,B,C,H,N,O,P,Q action,D,E,F,G,J1,K1,K2,K3,K4,L1,L2,L3,L4,M phase\n"}),"\n",(0,r.jsx)(n.h3,{id:"characteristics",children:"Characteristics"}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{children:"Property"}),(0,r.jsx)(n.th,{children:"Value"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.strong,{children:"Complexity"})}),(0,r.jsx)(n.td,{children:"High"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.strong,{children:"Artifacts"})}),(0,r.jsxs)(n.td,{children:["Multi-role analysis docs + ",(0,r.jsx)(n.code,{children:"IMPL_PLAN.md"})]})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.strong,{children:"Role Count"})}),(0,r.jsx)(n.td,{children:"3-9 (default 3)"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.strong,{children:"Execution Mode"})}),(0,r.jsx)(n.td,{children:"Phase 1/3 sequential, Phase 2 parallel"})]})]})]}),"\n",(0,r.jsx)(n.h3,{id:"process-phases",children:"Process Phases"}),"\n",(0,r.jsx)(n.h4,{id:"phase-1-interactive-framework-generation",children:"Phase 1: Interactive Framework Generation"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:'/workflow:brainstorm:artifacts "Real-time notification system architecture"\n'})}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Steps"}),":"]}),"\n",(0,r.jsxs)(n.ol,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Topic Analysis"})," - Analyze the topic, generate key questions"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Role Selection"})," - User confirms role selection"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Role Question Collection"})," - Assign questions to roles"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Conflict Detection"})," - Detect and resolve role conflicts"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Generate Framework"})," - Create ",(0,r.jsx)(n.code,{children:"guidance-specification.md"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"phase-2-parallel-role-analysis",children:"Phase 2: Parallel Role Analysis"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:'# Executes N conceptual-planning-agent tasks in parallel\nTask(subagent_type: "conceptual-planning-agent", prompt: "Role: {role}, Topic: {topic}, Questions: {questions}")\n'})}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Each role"}),":"]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"Receives role-specific guidance"}),"\n",(0,r.jsx)(n.li,{children:"Analyzes topic independently"}),"\n",(0,r.jsxs)(n.li,{children:["Generates ",(0,r.jsx)(n.code,{children:"{role}/analysis.md"})]}),"\n",(0,r.jsx)(n.li,{children:"Optional: Sub-documents (max 5)"}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"phase-3-synthesis-integration",children:"Phase 3: Synthesis Integration"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"/workflow:brainstorm:synthesis --session {sessionId}\n"})}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Steps"}),":"]}),"\n",(0,r.jsxs)(n.ol,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Collect"})," all role analyses"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Integrate"})," perspectives into synthesis"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Generate"})," ",(0,r.jsx)(n.code,{children:"synthesis-specification.md"})]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Identify"})," key decisions and trade-offs"]}),"\n"]}),"\n",(0,r.jsx)(n.h3,{id:"available-roles",children:"Available Roles"}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{children:"Role"}),(0,r.jsx)(n.th,{children:"Description"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"system-architect"})}),(0,r.jsx)(n.td,{children:"System Architect - Overall system design"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"ui-designer"})}),(0,r.jsx)(n.td,{children:"UI Designer - User interface design"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"ux-expert"})}),(0,r.jsx)(n.td,{children:"UX Expert - User experience optimization"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"product-manager"})}),(0,r.jsx)(n.td,{children:"Product Manager - Product requirements"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"product-owner"})}),(0,r.jsx)(n.td,{children:"Product Owner - Business value"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"data-architect"})}),(0,r.jsx)(n.td,{children:"Data Architect - Data structure design"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"scrum-master"})}),(0,r.jsx)(n.td,{children:"Scrum Master - Process and team"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"subject-matter-expert"})}),(0,r.jsx)(n.td,{children:"Domain Expert - Subject matter expertise"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"test-strategist"})}),(0,r.jsx)(n.td,{children:"Test Strategist - Testing strategy"})]})]})]}),"\n",(0,r.jsx)(n.h3,{id:"artifact-structure",children:"Artifact Structure"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:".workflow/active/WFS-realtime-notifications/\n\u251c\u2500\u2500 workflow-session.json\n\u2514\u2500\u2500 .brainstorming/\n \u251c\u2500\u2500 guidance-specification.md # Framework (Phase 1)\n \u251c\u2500\u2500 system-architect/\n \u2502 \u251c\u2500\u2500 analysis.md # Main document\n \u2502 \u2514\u2500\u2500 analysis-scale-{}.md # Sub-documents (optional, max 5)\n \u251c\u2500\u2500 ux-expert/\n \u2502 \u251c\u2500\u2500 analysis.md\n \u2502 \u2514\u2500\u2500 analysis-accessibility.md\n \u251c\u2500\u2500 data-architect/\n \u2502 \u251c\u2500\u2500 analysis.md\n \u2502 \u2514\u2500\u2500 analysis-storage.md\n \u2514\u2500\u2500 synthesis-specification.md # Integration (Phase 3)\n"})}),"\n",(0,r.jsx)(n.h3,{id:"use-cases",children:"Use Cases"}),"\n",(0,r.jsx)(n.h3,{id:"when-to-use",children:"When to Use"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"New feature design"}),"\n",(0,r.jsx)(n.li,{children:"System architecture refactoring"}),"\n",(0,r.jsx)(n.li,{children:"Exploratory requirements"}),"\n",(0,r.jsx)(n.li,{children:"Uncertain implementation approach"}),"\n",(0,r.jsx)(n.li,{children:"Multi-dimensional trade-offs needed"}),"\n"]}),"\n",(0,r.jsx)(n.h3,{id:"when-not-to-use",children:"When NOT to Use"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"Clear requirements (use Level 2-3)"}),"\n",(0,r.jsx)(n.li,{children:"Time-sensitive tasks (use Level 2)"}),"\n",(0,r.jsx)(n.li,{children:"Single-perspective sufficient (use Level 2-3)"}),"\n"]}),"\n",(0,r.jsx)(n.h3,{id:"examples",children:"Examples"}),"\n",(0,r.jsx)(n.h4,{id:"example-1-architecture-design",children:"Example 1: Architecture Design"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:'/workflow:brainstorm:auto-parallel "Microservices architecture for e-commerce platform" --count 5\n'})}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Roles"}),": system-architect, data-architect, ux-expert, product-manager, test-strategist"]}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Output"}),":"]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"Multiple architectural perspectives"}),"\n",(0,r.jsx)(n.li,{children:"Data flow considerations"}),"\n",(0,r.jsx)(n.li,{children:"User experience implications"}),"\n",(0,r.jsx)(n.li,{children:"Business requirements alignment"}),"\n",(0,r.jsx)(n.li,{children:"Testing strategy recommendations"}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"example-2-feature-exploration",children:"Example 2: Feature Exploration"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:'/workflow:brainstorm:auto-parallel "AI-powered recommendations" --count 3\n'})}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Roles"}),": system-architect, product-manager, subject-matter-expert"]}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Output"}),":"]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"Technical feasibility analysis"}),"\n",(0,r.jsx)(n.li,{children:"Business value assessment"}),"\n",(0,r.jsx)(n.li,{children:"Domain-specific considerations"}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"with-file-workflows",children:"With-File Workflows"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"With-File workflows"})," provide documented exploration with multi-CLI collaboration. They are self-contained and generate comprehensive session artifacts."]}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{children:"Workflow"}),(0,r.jsx)(n.th,{children:"Purpose"}),(0,r.jsx)(n.th,{children:"Level"}),(0,r.jsx)(n.th,{children:"Key Features"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.strong,{children:"brainstorm-with-file"})}),(0,r.jsx)(n.td,{children:"Multi-perspective ideation"}),(0,r.jsx)(n.td,{children:"4"}),(0,r.jsx)(n.td,{children:"Gemini/Codex/Claude perspectives, diverge-converge cycles"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.strong,{children:"debug-with-file"})}),(0,r.jsx)(n.td,{children:"Hypothesis-driven debugging"}),(0,r.jsx)(n.td,{children:"3"}),(0,r.jsx)(n.td,{children:"Gemini validation, understanding evolution, NDJSON logging"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.strong,{children:"analyze-with-file"})}),(0,r.jsx)(n.td,{children:"Collaborative analysis"}),(0,r.jsx)(n.td,{children:"3"}),(0,r.jsx)(n.td,{children:"Multi-round Q&A, CLI exploration, documented discussions"})]})]})]}),"\n",(0,r.jsx)(n.h3,{id:"brainstorm-with-file",children:"brainstorm-with-file"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"Multi-perspective ideation with documented exploration"})}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:'/workflow:brainstorm-with-file "Notification system redesign"\n'})}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Output Folder"}),": ",(0,r.jsx)(n.code,{children:".workflow/.brainstorm/"})]}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Characteristics"}),":"]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"Diverge-converge cycles"}),"\n",(0,r.jsx)(n.li,{children:"Multiple CLI perspectives (Gemini, Codex, Claude)"}),"\n",(0,r.jsx)(n.li,{children:"Built-in post-completion options (create plan, issue, deep analysis)"}),"\n"]}),"\n",(0,r.jsx)(n.h3,{id:"debug-with-file",children:"debug-with-file"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"Hypothesis-driven debugging with documented investigation"})}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:'/workflow:debug-with-file "System randomly crashes under load"\n'})}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Output Folder"}),": ",(0,r.jsx)(n.code,{children:".workflow/.debug/"})]}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Characteristics"}),":"]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"Hypothesis-driven iteration"}),"\n",(0,r.jsx)(n.li,{children:"Gemini validation for hypotheses"}),"\n",(0,r.jsx)(n.li,{children:"Understanding evolution tracking"}),"\n",(0,r.jsx)(n.li,{children:"NDJSON logging for reproducibility"}),"\n"]}),"\n",(0,r.jsx)(n.h3,{id:"analyze-with-file",children:"analyze-with-file"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"Collaborative analysis with documented discussions"})}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:'/workflow:analyze-with-file "Understand authentication architecture design decisions"\n'})}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Output Folder"}),": ",(0,r.jsx)(n.code,{children:".workflow/.analysis/"})]}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Characteristics"}),":"]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"Multi-round Q&A"}),"\n",(0,r.jsx)(n.li,{children:"CLI exploration integration"}),"\n",(0,r.jsx)(n.li,{children:"Documented discussion threads"}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"detection-keywords",children:"Detection Keywords"}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{children:"Workflow"}),(0,r.jsx)(n.th,{children:"Keywords"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.strong,{children:"brainstorm"})}),(0,r.jsx)(n.td,{children:"\u5934\u8111\u98ce\u66b4, \u521b\u610f, \u53d1\u6563\u601d\u7ef4, multi-perspective, compare perspectives, \u63a2\u7d22\u53ef\u80fd"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.strong,{children:"debug-file"})}),(0,r.jsx)(n.td,{children:"\u6df1\u5ea6\u8c03\u8bd5, \u5047\u8bbe\u9a8c\u8bc1, systematic debug, hypothesis debug, \u8c03\u8bd5\u8bb0\u5f55"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.strong,{children:"analyze-file"})}),(0,r.jsx)(n.td,{children:"\u534f\u4f5c\u5206\u6790, \u6df1\u5ea6\u7406\u89e3, collaborative analysis, explore concept, \u7406\u89e3\u67b6\u6784"})]})]})]}),"\n",(0,r.jsx)(n.h2,{id:"comparison-with-file-vs-standard-workflows",children:"Comparison: With-File vs Standard Workflows"}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{children:"Aspect"}),(0,r.jsx)(n.th,{children:"With-File Workflows"}),(0,r.jsx)(n.th,{children:"Standard Workflows"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.strong,{children:"Documentation"})}),(0,r.jsx)(n.td,{children:"E evolving documents"}),(0,r.jsx)(n.td,{children:"Session artifacts"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.strong,{children:"Multi-CLI"})}),(0,r.jsx)(n.td,{children:"Built-in (Gemini/Codex/Claude)"}),(0,r.jsx)(n.td,{children:"Optional"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.strong,{children:"Iteration"})}),(0,r.jsx)(n.td,{children:"Self-contained loop"}),(0,r.jsx)(n.td,{children:"Manual continuation"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.strong,{children:"Post-Completion"})}),(0,r.jsx)(n.td,{children:"Built-in options"}),(0,r.jsx)(n.td,{children:"Manual next steps"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.strong,{children:"Best For"})}),(0,r.jsx)(n.td,{children:"Documented exploration"}),(0,r.jsx)(n.td,{children:"Structured execution"})]})]})]}),"\n",(0,r.jsx)(n.h2,{id:"level-4-summary",children:"Level 4 Summary"}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{children:"Aspect"}),(0,r.jsx)(n.th,{children:"Value"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.strong,{children:"Complexity"})}),(0,r.jsx)(n.td,{children:"High"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.strong,{children:"Artifacts"})}),(0,r.jsx)(n.td,{children:"Multi-role analysis + Session"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.strong,{children:"Planning"})}),(0,r.jsx)(n.td,{children:"Multi-perspective convergence"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.strong,{children:"Execution"})}),(0,r.jsx)(n.td,{children:"Standard Level 3 execution"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.strong,{children:"Best For"})}),(0,r.jsx)(n.td,{children:"Complex, exploratory tasks"})]})]})]}),"\n",(0,r.jsx)(n.h2,{id:"related-workflows",children:"Related Workflows"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"/docs/docs/workflows/level-3-standard",children:"Level 3: Standard"})," - Standard planning workflows"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"/docs/docs/workflows/level-5-intelligent",children:"Level 5: Intelligent"})," - Automated orchestration"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"/docs/docs/workflows/faq",children:"FAQ"})," - Common questions"]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"command-reference",children:"Command Reference"}),"\n",(0,r.jsxs)(n.p,{children:["See ",(0,r.jsx)(n.a,{href:"../commands/introduction.mdx",children:"Commands Documentation"})," for:"]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"/workflow:brainstorm:auto-parallel"})," - Multi-role brainstorming"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"/workflow:brainstorm-with-file"})," - Documented ideation"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"/workflow:debug-with-file"})," - Hypothesis-driven debugging"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"/workflow:analyze-with-file"})," - Collaborative analysis"]}),"\n"]})]})}function x(e={}){const{wrapper:n}={...(0,l.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(h,{...e})}):h(e)}}}]);