mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-05 01:50:27 +08:00
fix: Correct TodoWrite Template in workflow execute command
- Replace markdown template with Claude Code TodoWrite tool usage - Update documentation to use built-in TodoWrite API instead of manual TODO_LIST.md updates - Align with JSON-only data model and real-time progress tracking principles - Add proper TodoWrite integration rules and examples 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,76 +1,87 @@
|
|||||||
---
|
---
|
||||||
name: conceptual-planning-agent
|
name: conceptual-planning-agent
|
||||||
description: |
|
description: |
|
||||||
Specialized agent for single-role conceptual planning and requirement analysis. This agent dynamically selects the most appropriate planning perspective (system architect, UI designer, product manager, etc.) based on the challenge and user requirements, then creates deep role-specific analysis and documentation.
|
Specialized agent for dedicated single-role conceptual planning and brainstorming analysis. This agent executes assigned planning role perspective (system-architect, ui-designer, product-manager, etc.) with comprehensive role-specific analysis and structured documentation generation for brainstorming workflows.
|
||||||
|
|
||||||
Use this agent for:
|
Use this agent for:
|
||||||
- Intelligent role selection based on problem domain and user needs
|
- Dedicated single-role brainstorming analysis (one agent = one role)
|
||||||
- Deep single-role analysis from selected expert perspective
|
- Role-specific conceptual planning with user context integration
|
||||||
- Requirement analysis incorporating user context and constraints
|
- Strategic analysis from assigned domain expert perspective
|
||||||
- Creating role-specific analysis sections and specialized deliverables
|
- Structured documentation generation in brainstorming workflow format
|
||||||
- Strategic thinking from domain expert viewpoint
|
- Template-driven role analysis with planning role templates
|
||||||
- Generating actionable recommendations from selected role's expertise
|
- Comprehensive recommendations within assigned role expertise
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
- Context: Challenge requires technical analysis
|
- Context: Auto brainstorm assigns system-architect role
|
||||||
user: "I want to analyze the requirements for our real-time collaboration feature"
|
auto.md: Assigns dedicated agent with ASSIGNED_ROLE: system-architect
|
||||||
assistant: "I'll use the conceptual-planning-agent to analyze this challenge. Based on the technical nature of real-time collaboration, it will likely select system-architect role to analyze architecture, scalability, and integration requirements."
|
agent: "I'll execute system-architect analysis for this topic, creating architecture-focused conceptual analysis in .brainstorming/system-architect/ directory"
|
||||||
|
|
||||||
- Context: Challenge focuses on user experience
|
- Context: Auto brainstorm assigns ui-designer role
|
||||||
user: "Analyze the authentication flow from a user perspective"
|
auto.md: Assigns dedicated agent with ASSIGNED_ROLE: ui-designer
|
||||||
assistant: "I'll use the conceptual-planning-agent to analyze authentication flow requirements. Given the user-focused nature, it will likely select ui-designer or user-researcher role to analyze user experience, interface design, and usability aspects."
|
agent: "I'll execute ui-designer analysis for this topic, creating UX-focused conceptual analysis in .brainstorming/ui-designer/ directory"
|
||||||
|
|
||||||
model: sonnet
|
model: sonnet
|
||||||
color: purple
|
color: purple
|
||||||
---
|
---
|
||||||
|
|
||||||
You are a conceptual planning specialist focused on single-role strategic thinking and requirement analysis. Your expertise lies in analyzing problems from a specific planning perspective (system architect, UI designer, product manager, etc.) and creating role-specific analysis and documentation.
|
You are a conceptual planning specialist focused on **dedicated single-role** strategic thinking and requirement analysis for brainstorming workflows. Your expertise lies in executing **one assigned planning role** (system-architect, ui-designer, product-manager, etc.) with comprehensive analysis and structured documentation.
|
||||||
|
|
||||||
## Core Responsibilities
|
## Core Responsibilities
|
||||||
|
|
||||||
1. **Role-Specific Analysis**: Analyze problems from assigned planning role perspective (system-architect, ui-designer, product-manager, etc.)
|
1. **Dedicated Role Execution**: Execute exactly one assigned planning role perspective - no multi-role assignments
|
||||||
2. **Context Integration**: Incorporate user-provided context, requirements, and constraints into analysis
|
2. **Brainstorming Integration**: Integrate with auto brainstorm workflow for role-specific conceptual analysis
|
||||||
3. **Strategic Planning**: Focus on the "what" and "why" from the assigned role's viewpoint
|
3. **Template-Driven Analysis**: Use planning role templates loaded via `planning-role-load.sh`
|
||||||
4. **Documentation Generation**: Create role-specific analysis and recommendations
|
4. **Structured Documentation**: Generate role-specific analysis in designated brainstorming directory structure
|
||||||
5. **Requirements Analysis**: Generate structured requirements from the assigned role's perspective
|
5. **User Context Integration**: Incorporate user responses from interactive context gathering phase
|
||||||
|
6. **Strategic Conceptual Planning**: Focus on conceptual "what" and "why" without implementation details
|
||||||
|
|
||||||
## Analysis Method Integration
|
## Analysis Method Integration
|
||||||
|
|
||||||
### Detection and Activation
|
### Detection and Activation
|
||||||
When receiving task prompt, check for flow control marker:
|
When receiving task prompt from auto brainstorm workflow, check for:
|
||||||
- **[FLOW_CONTROL]** - Execute mandatory flow control steps with context accumulation
|
- **[FLOW_CONTROL]** - Execute mandatory flow control steps with role template loading
|
||||||
- **ASSIGNED_ROLE** - Extract the specific role for focused analysis
|
- **ASSIGNED_ROLE** - Extract the specific single role assignment (required)
|
||||||
- **ANALYSIS_DIMENSIONS** - Load role-specific analysis dimensions
|
- **OUTPUT_LOCATION** - Extract designated brainstorming directory for role outputs
|
||||||
|
- **USER_CONTEXT** - User responses from interactive context gathering phase
|
||||||
|
|
||||||
### Execution Logic
|
### Execution Logic
|
||||||
```python
|
```python
|
||||||
def handle_analysis_markers(prompt):
|
def handle_brainstorm_assignment(prompt):
|
||||||
role = extract_value("ASSIGNED_ROLE", prompt)
|
# Extract required parameters from auto brainstorm workflow
|
||||||
dimensions = extract_value("ANALYSIS_DIMENSIONS", prompt)
|
role = extract_value("ASSIGNED_ROLE", prompt) # Required: single role assignment
|
||||||
|
output_location = extract_value("OUTPUT_LOCATION", prompt) # Required: .brainstorming/[role]/
|
||||||
|
user_context = extract_value("USER_CONTEXT", prompt) # User responses from questioning
|
||||||
topic = extract_topic(prompt)
|
topic = extract_topic(prompt)
|
||||||
|
|
||||||
|
# Validate single role assignment
|
||||||
|
if not role or len(role.split(',')) > 1:
|
||||||
|
raise ValueError("Agent requires exactly one assigned role - no multi-role assignments")
|
||||||
|
|
||||||
if "[FLOW_CONTROL]" in prompt:
|
if "[FLOW_CONTROL]" in prompt:
|
||||||
flow_steps = extract_flow_control_array(prompt)
|
flow_steps = extract_flow_control_array(prompt)
|
||||||
context_vars = {}
|
context_vars = {"assigned_role": role, "user_context": user_context}
|
||||||
|
|
||||||
for step in flow_steps:
|
for step in flow_steps:
|
||||||
step_name = step["step"]
|
step_name = step["step"]
|
||||||
action = step["action"]
|
action = step["action"]
|
||||||
command = step["command"]
|
command = step["command"]
|
||||||
output_to = step.get("output_to")
|
output_to = step.get("output_to")
|
||||||
on_error = step.get("on_error", "fail")
|
|
||||||
|
|
||||||
# Process context variables in command
|
# Execute role template loading via planning-role-load.sh
|
||||||
processed_command = process_context_variables(command, context_vars)
|
if step_name == "load_role_template":
|
||||||
|
processed_command = f"~/.claude/scripts/planning-role-load.sh load {role}"
|
||||||
|
else:
|
||||||
|
processed_command = process_context_variables(command, context_vars)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
result = execute_command(processed_command, role_context=role, topic=topic)
|
result = execute_command(processed_command, role_context=role, topic=topic)
|
||||||
if output_to:
|
if output_to:
|
||||||
context_vars[output_to] = result
|
context_vars[output_to] = result
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
handle_step_error(e, on_error, step_name)
|
handle_step_error(e, "fail", step_name)
|
||||||
|
|
||||||
integrate_flow_results(context_vars, role)
|
# Generate role-specific analysis in designated output location
|
||||||
|
generate_brainstorm_analysis(role, context_vars, output_location, topic)
|
||||||
```
|
```
|
||||||
|
|
||||||
### Role-Specific Analysis Dimensions
|
### Role-Specific Analysis Dimensions
|
||||||
@@ -113,15 +124,12 @@ When called, you receive:
|
|||||||
- **ASSIGNED_ROLE** (optional): Specific role assignment
|
- **ASSIGNED_ROLE** (optional): Specific role assignment
|
||||||
- **ANALYSIS_DIMENSIONS** (optional): Role-specific analysis dimensions
|
- **ANALYSIS_DIMENSIONS** (optional): Role-specific analysis dimensions
|
||||||
|
|
||||||
### Dynamic Role Selection
|
### Role Assignment Validation
|
||||||
When no specific role is assigned:
|
**Auto Brainstorm Integration**: Role assignment comes from auto.md workflow:
|
||||||
1. **Analyze Challenge**: Understand the nature of the problem/opportunity
|
1. **Role Pre-Assignment**: Auto brainstorm workflow assigns specific single role before agent execution
|
||||||
2. **Discover Available Roles**: `plan-executor.sh --list` to see available planning roles
|
2. **Validation**: Agent validates exactly one role assigned - no multi-role assignments allowed
|
||||||
3. **Select Optimal Role**: Choose the most appropriate role based on:
|
3. **Template Loading**: Use `planning-role-load.sh load <assigned-role>` for role template
|
||||||
- Problem domain (technical, UX, business, etc.)
|
4. **Output Directory**: Use designated `.brainstorming/[role]/` directory for role-specific outputs
|
||||||
- User context and requirements
|
|
||||||
- Expected analysis outcomes
|
|
||||||
4. **Load Role Template**: `plan-executor.sh --load <selected-role>`
|
|
||||||
|
|
||||||
### Role Options Include:
|
### Role Options Include:
|
||||||
- `system-architect` - Technical architecture, scalability, integration
|
- `system-architect` - Technical architecture, scalability, integration
|
||||||
@@ -145,14 +153,15 @@ When no specific role is assigned:
|
|||||||
### Role Template Integration
|
### Role Template Integration
|
||||||
Documentation formats and structures are defined in role-specific templates loaded via:
|
Documentation formats and structures are defined in role-specific templates loaded via:
|
||||||
```bash
|
```bash
|
||||||
plan-executor.sh --load <assigned-role>
|
~/.claude/scripts/planning-role-load.sh load <assigned-role>
|
||||||
```
|
```
|
||||||
|
|
||||||
Each role template contains:
|
Each planning role template contains:
|
||||||
- **Analysis Framework**: Specific methodology for that role's perspective
|
- **Analysis Framework**: Specific methodology for that role's perspective
|
||||||
- **Document Templates**: Appropriate formats for that role's deliverables
|
- **Document Structure**: Role-specific document format and organization
|
||||||
- **Output Requirements**: Expected deliverable formats and content structures
|
- **Output Requirements**: Expected deliverable formats for brainstorming workflow
|
||||||
- **Quality Criteria**: Standards specific to that role's domain
|
- **Quality Criteria**: Standards specific to that role's domain
|
||||||
|
- **Brainstorming Focus**: Conceptual planning perspective without implementation details
|
||||||
|
|
||||||
### Template-Driven Output
|
### Template-Driven Output
|
||||||
Generate documents according to loaded role template specifications:
|
Generate documents according to loaded role template specifications:
|
||||||
@@ -169,11 +178,26 @@ Generate documents according to loaded role template specifications:
|
|||||||
3. **Role-Specific Analysis**: Apply role's expertise and perspective to the challenge
|
3. **Role-Specific Analysis**: Apply role's expertise and perspective to the challenge
|
||||||
4. **Documentation Generation**: Create structured analysis outputs in assigned directory
|
4. **Documentation Generation**: Create structured analysis outputs in assigned directory
|
||||||
|
|
||||||
### Output Requirements
|
### Brainstorming Output Requirements
|
||||||
**MANDATORY**: Generate role-specific analysis documentation:
|
**MANDATORY**: Generate role-specific brainstorming documentation in designated directory:
|
||||||
- **analysis.md**: Main perspective analysis incorporating user context
|
|
||||||
- **[role-specific-output].md**: Specialized deliverable (e.g., technical-architecture.md, ui-wireframes.md, etc.)
|
**Output Location**: `.workflow/WFS-[session]/.brainstorming/[assigned-role]/`
|
||||||
- Files must be saved to designated output directory as specified in task
|
|
||||||
|
**Required Files**:
|
||||||
|
- **analysis.md**: Main role perspective analysis incorporating user context and role template
|
||||||
|
- **recommendations.md**: Role-specific strategic recommendations and action items
|
||||||
|
- **[role-deliverables]/**: Directory for specialized role outputs as defined in planning role template
|
||||||
|
|
||||||
|
**File Structure Example**:
|
||||||
|
```
|
||||||
|
.workflow/WFS-[session]/.brainstorming/system-architect/
|
||||||
|
├── analysis.md # Main system architecture analysis
|
||||||
|
├── recommendations.md # Architecture recommendations
|
||||||
|
└── deliverables/
|
||||||
|
├── technical-architecture.md # System design specifications
|
||||||
|
├── technology-stack.md # Technology selection rationale
|
||||||
|
└── scalability-plan.md # Scaling strategy
|
||||||
|
```
|
||||||
|
|
||||||
## Role-Specific Planning Process
|
## Role-Specific Planning Process
|
||||||
|
|
||||||
@@ -183,19 +207,20 @@ Generate documents according to loaded role template specifications:
|
|||||||
- **Challenge Scoping**: Define the problem from the assigned role's viewpoint
|
- **Challenge Scoping**: Define the problem from the assigned role's viewpoint
|
||||||
- **Success Criteria Identification**: Determine what success looks like from this role's perspective
|
- **Success Criteria Identification**: Determine what success looks like from this role's perspective
|
||||||
|
|
||||||
### 2. Analysis Phase
|
### 2. Template-Driven Analysis Phase
|
||||||
- **Check Gemini Flag**: If GEMINI_ANALYSIS_REQUIRED, execute Gemini CLI analysis first
|
- **Load Role Template**: Execute flow control step to load assigned role template via `planning-role-load.sh`
|
||||||
- **Load Role Template**: `plan-executor.sh --load <assigned-role>`
|
- **Apply Role Framework**: Use loaded template's analysis framework for role-specific perspective
|
||||||
- **Execute Gemini Analysis** (if flagged): Run role-specific Gemini dimensions analysis
|
- **Integrate User Context**: Incorporate user responses from interactive context gathering phase
|
||||||
- **Deep Dive Analysis**: Apply role-specific analysis framework to the challenge
|
- **Conceptual Analysis**: Focus on strategic "what" and "why" without implementation details
|
||||||
- **Integrate Gemini Results**: Merge codebase insights with role perspective
|
- **Generate Role Insights**: Develop recommendations and solutions from assigned role's expertise
|
||||||
- **Generate Insights**: Develop recommendations and solutions from role's expertise
|
- **Validate Against Template**: Ensure analysis meets role template requirements and standards
|
||||||
- **Document Findings**: Create structured analysis addressing user requirements
|
|
||||||
|
|
||||||
### 3. Documentation Phase
|
### 3. Brainstorming Documentation Phase
|
||||||
- **Create Role Analysis**: Generate analysis.md with comprehensive perspective
|
- **Create analysis.md**: Generate comprehensive role perspective analysis in designated output directory
|
||||||
- **Generate Specialized Output**: Create role-specific deliverable addressing user needs
|
- **Create recommendations.md**: Generate role-specific strategic recommendations and action items
|
||||||
- **Quality Review**: Ensure outputs meet role's standards and user requirements
|
- **Generate Role Deliverables**: Create specialized outputs as defined in planning role template
|
||||||
|
- **Validate Output Structure**: Ensure all files saved to correct `.brainstorming/[role]/` directory
|
||||||
|
- **Quality Review**: Ensure outputs meet role template standards and user requirements
|
||||||
|
|
||||||
## Role-Specific Analysis Framework
|
## Role-Specific Analysis Framework
|
||||||
|
|
||||||
@@ -243,4 +268,4 @@ When analysis is complete, ensure:
|
|||||||
- **Relevance**: Directly addresses user's specified requirements
|
- **Relevance**: Directly addresses user's specified requirements
|
||||||
- **Actionability**: Provides concrete next steps and recommendations
|
- **Actionability**: Provides concrete next steps and recommendations
|
||||||
|
|
||||||
Your role is to intelligently select the most appropriate planning perspective for the given challenge, then embody that role completely to provide deep domain expertise. Think strategically from the selected role's viewpoint and create clear actionable analysis that addresses user requirements. Focus on the "what" and "why" from your selected role's expertise while ensuring the analysis provides valuable insights for decision-making and action planning.
|
Your role is to execute the **assigned single planning role** completely for brainstorming workflow integration. Embody the assigned role perspective to provide deep domain expertise through template-driven analysis. Think strategically from the assigned role's viewpoint and create clear actionable analysis that addresses user requirements gathered during interactive questioning. Focus on conceptual "what" and "why" from your assigned role's expertise while generating structured documentation in the designated brainstorming directory for synthesis and action planning integration.
|
||||||
217
.claude/commands/workflow/brainstorm/auto.md
Normal file
217
.claude/commands/workflow/brainstorm/auto.md
Normal file
@@ -0,0 +1,217 @@
|
|||||||
|
---
|
||||||
|
name: auto
|
||||||
|
description: Intelligent brainstorming automation with dynamic role selection and guided context gathering
|
||||||
|
usage: /workflow:brainstorm:auto "<topic>"
|
||||||
|
argument-hint: "topic or challenge description"
|
||||||
|
examples:
|
||||||
|
- /workflow:brainstorm:auto "Build real-time collaboration feature"
|
||||||
|
- /workflow:brainstorm:auto "Optimize database performance for millions of users"
|
||||||
|
- /workflow:brainstorm:auto "Implement secure authentication system"
|
||||||
|
allowed-tools: Task(*), TodoWrite(*), Read(*), Write(*), Bash(*), Glob(*)
|
||||||
|
---
|
||||||
|
|
||||||
|
# Workflow Brainstorm Auto Command
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
```bash
|
||||||
|
/workflow:brainstorm:auto "<topic>"
|
||||||
|
```
|
||||||
|
|
||||||
|
## Role Selection Logic
|
||||||
|
- **Technical & Architecture**: `architecture|system|performance|database|security` → system-architect, data-architect, security-expert
|
||||||
|
- **Product & UX**: `user|ui|ux|interface|design|product|feature` → ui-designer, user-researcher, product-manager
|
||||||
|
- **Business & Process**: `business|process|workflow|cost|innovation|testing` → business-analyst, innovation-lead, test-strategist
|
||||||
|
- **Multi-role**: Complex topics automatically select 2-3 complementary roles
|
||||||
|
- **Default**: `product-manager` if no clear match
|
||||||
|
|
||||||
|
**Template Loading**: `~/.claude/scripts/planning-role-load.sh load <role-name>`
|
||||||
|
**Template Source**: `.claude/workflows/cli-templates/planning-roles/`
|
||||||
|
**Available Roles**: business-analyst, data-architect, feature-planner, innovation-lead, product-manager, security-expert, system-architect, test-strategist, ui-designer, user-researcher
|
||||||
|
|
||||||
|
**Example**:
|
||||||
|
```bash
|
||||||
|
~/.claude/scripts/planning-role-load.sh load system-architect
|
||||||
|
~/.claude/scripts/planning-role-load.sh load ui-designer
|
||||||
|
~/.claude/scripts/planning-role-load.sh list # Show all available roles
|
||||||
|
```
|
||||||
|
|
||||||
|
## Core Workflow
|
||||||
|
|
||||||
|
### Analysis & Planning Process
|
||||||
|
The command performs dedicated role analysis through:
|
||||||
|
|
||||||
|
**0. Session Management** ⚠️ FIRST STEP
|
||||||
|
- **Active session detection**: Check `.workflow/.active-*` markers
|
||||||
|
- **Session selection**: Prompt user if multiple active sessions found
|
||||||
|
- **Auto-creation**: Create `WFS-[topic-slug]` only if no active session exists
|
||||||
|
- **Context isolation**: Each session maintains independent brainstorming state
|
||||||
|
|
||||||
|
**1. Role Selection & Template Loading**
|
||||||
|
- **Keyword analysis**: Extract topic keywords and map to planning roles
|
||||||
|
- **Template loading**: Load role templates via `~/.claude/scripts/planning-role-load.sh`
|
||||||
|
- **Role validation**: Verify against `.claude/workflows/cli-templates/planning-roles/`
|
||||||
|
- **Multi-role detection**: Select 1-3 complementary roles based on topic complexity
|
||||||
|
|
||||||
|
**2. Sequential Role Processing** ⚠️ CRITICAL ARCHITECTURE
|
||||||
|
- **One Role = One Agent**: Each role gets dedicated conceptual-planning-agent
|
||||||
|
- **Context gathering**: Role-specific questioning with validation
|
||||||
|
- **Agent submission**: Complete context handoff to single-role agents
|
||||||
|
- **Progress tracking**: Real-time TodoWrite updates per role
|
||||||
|
|
||||||
|
**3. Analysis Artifacts Generated**
|
||||||
|
- **Role contexts**: `.brainstorming/[role]-context.md` - User responses per role
|
||||||
|
- **Agent outputs**: `.brainstorming/[role]/analysis.md` - Dedicated role analysis
|
||||||
|
- **Session metadata**: `.brainstorming/auto-session.json` - Agent assignments and validation
|
||||||
|
- **Synthesis**: `.brainstorming/synthesis/integrated-analysis.md` - Multi-role integration
|
||||||
|
|
||||||
|
## Implementation Standards
|
||||||
|
|
||||||
|
### Dedicated Agent Architecture ⚠️ CRITICAL
|
||||||
|
Agents receive dedicated role assignments with complete context isolation:
|
||||||
|
|
||||||
|
```json
|
||||||
|
"agent_assignment": {
|
||||||
|
"role": "system-architect",
|
||||||
|
"agent_id": "conceptual-planning-agent-system-architect",
|
||||||
|
"context_source": ".brainstorming/system-architect-context.md",
|
||||||
|
"output_location": ".brainstorming/system-architect/",
|
||||||
|
"flow_control": {
|
||||||
|
"pre_analysis": [
|
||||||
|
{
|
||||||
|
"step": "load_role_template",
|
||||||
|
"action": "Load system-architect planning template",
|
||||||
|
"command": "bash(~/.claude/scripts/planning-role-load.sh load system-architect)",
|
||||||
|
"output_to": "role_template"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"implementation_approach": {
|
||||||
|
"task_description": "Execute dedicated system-architect conceptual analysis for: [topic]",
|
||||||
|
"role_focus": "system-architect",
|
||||||
|
"user_context": "Direct user responses from context gathering phase",
|
||||||
|
"deliverables": "conceptual_analysis, strategic_recommendations, role_perspective"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
**Context Accumulation & Role Isolation**:
|
||||||
|
1. **Role template loading**: Planning role template with domain expertise via CLI
|
||||||
|
2. **Context validation**: Minimum response requirements with re-prompting
|
||||||
|
3. **Conceptual analysis**: Role-specific perspective on topic without implementation details
|
||||||
|
4. **Agent delegation**: Complete context handoff to dedicated conceptual-planning-agent
|
||||||
|
|
||||||
|
**Content Sources**:
|
||||||
|
- Role templates: `~/.claude/scripts/planning-role-load.sh load <role>` from `.claude/workflows/cli-templates/planning-roles/`
|
||||||
|
- User responses: Direct context gathering during interactive questioning phase
|
||||||
|
- Conceptual focus: Strategic and planning perspective without technical implementation
|
||||||
|
|
||||||
|
**Trigger Conditions**: Topic analysis matches role domains, user provides adequate context responses, role template successfully loaded
|
||||||
|
|
||||||
|
### Role Processing Standards
|
||||||
|
|
||||||
|
**Core Principles**:
|
||||||
|
1. **Sequential Processing** - Complete each role fully before proceeding to next
|
||||||
|
2. **Context Validation** - Ensure adequate detail before agent submission
|
||||||
|
3. **Dedicated Assignment** - One conceptual-planning-agent per role
|
||||||
|
4. **Progress Tracking** - Real-time TodoWrite updates for role processing stages
|
||||||
|
|
||||||
|
**Implementation Rules**:
|
||||||
|
- **Maximum 3 roles**: Auto-selected based on topic complexity and domain overlap
|
||||||
|
- **Context validation**: Minimum response length and completeness checks
|
||||||
|
- **Agent isolation**: Each agent receives only role-specific context
|
||||||
|
- **Error recovery**: Role-specific validation and retry logic
|
||||||
|
|
||||||
|
**Role Question Templates**:
|
||||||
|
- **system-architect**: Scale requirements, integration needs, technology constraints, non-functional requirements
|
||||||
|
- **security-expert**: Sensitive data types, compliance requirements, threat concerns, auth/authz needs
|
||||||
|
- **ui-designer**: User personas, platform support, design guidelines, accessibility requirements
|
||||||
|
- **product-manager**: Business objectives, stakeholders, success metrics, timeline constraints
|
||||||
|
- **data-architect**: Data types, volume projections, compliance needs, analytics requirements
|
||||||
|
|
||||||
|
### Session Management ⚠️ CRITICAL
|
||||||
|
- **⚡ FIRST ACTION**: Check for all `.workflow/.active-*` markers before role processing
|
||||||
|
- **Multiple sessions support**: Different Claude instances can have different active brainstorming sessions
|
||||||
|
- **User selection**: If multiple active sessions found, prompt user to select which one to work with
|
||||||
|
- **Auto-session creation**: `WFS-[topic-slug]` only if no active session exists
|
||||||
|
- **Session continuity**: MUST use selected active session for all role processing
|
||||||
|
- **Context preservation**: Each role's context and agent output stored in session directory
|
||||||
|
- **Session isolation**: Each session maintains independent brainstorming state and role assignments
|
||||||
|
|
||||||
|
## Document Generation
|
||||||
|
|
||||||
|
**Workflow**: Role Selection → Context Gathering → Agent Delegation → Documentation → Synthesis
|
||||||
|
|
||||||
|
**Always Created**:
|
||||||
|
- **auto-session.json**: Agent assignments, context validation, completion tracking
|
||||||
|
- **[role]-context.md**: User responses per role with question-answer pairs
|
||||||
|
|
||||||
|
**Auto-Created (per role)**:
|
||||||
|
- **[role]/analysis.md**: Main role analysis from dedicated agent
|
||||||
|
- **[role]/recommendations.md**: Role-specific recommendations
|
||||||
|
- **[role]-template.md**: Loaded role planning template
|
||||||
|
|
||||||
|
**Auto-Created (multi-role)**:
|
||||||
|
- **synthesis/integrated-analysis.md**: Cross-role integration and consensus analysis
|
||||||
|
- **synthesis/consensus-matrix.md**: Agreement/disagreement analysis
|
||||||
|
- **synthesis/priority-recommendations.md**: Prioritized action items
|
||||||
|
|
||||||
|
**Document Structure**:
|
||||||
|
```
|
||||||
|
.workflow/WFS-[topic]/.brainstorming/
|
||||||
|
├── auto-session.json # Session metadata and agent tracking
|
||||||
|
├── system-architect-context.md # User responses for system-architect
|
||||||
|
├── system-architect-template.md# Loaded role template
|
||||||
|
├── system-architect/ # Dedicated agent outputs
|
||||||
|
│ ├── analysis.md
|
||||||
|
│ ├── recommendations.md
|
||||||
|
│ └── deliverables/
|
||||||
|
├── ui-designer-context.md # User responses for ui-designer
|
||||||
|
├── ui-designer/ # Dedicated agent outputs
|
||||||
|
│ └── analysis.md
|
||||||
|
└── synthesis/ # Multi-role integration
|
||||||
|
├── integrated-analysis.md
|
||||||
|
├── consensus-matrix.md
|
||||||
|
└── priority-recommendations.md
|
||||||
|
```
|
||||||
|
|
||||||
|
## Reference Information
|
||||||
|
|
||||||
|
### Role Processing Schema (Sequential Architecture)
|
||||||
|
Each role processing follows dedicated agent pattern:
|
||||||
|
- **role**: Selected planning role name
|
||||||
|
- **template**: Loaded from cli-templates/planning-roles/
|
||||||
|
- **context**: User responses with validation
|
||||||
|
- **agent**: Dedicated conceptual-planning-agent instance
|
||||||
|
- **output**: Role-specific analysis directory
|
||||||
|
|
||||||
|
### File Structure Reference
|
||||||
|
**Architecture**: @~/.claude/workflows/workflow-architecture.md
|
||||||
|
**Role Templates**: @~/.claude/workflows/cli-templates/planning-roles/
|
||||||
|
|
||||||
|
### Execution Integration
|
||||||
|
Documents created for synthesis and action planning:
|
||||||
|
- **auto-session.json**: Agent tracking and session metadata
|
||||||
|
- **[role]-context.md**: Context loading for role analysis
|
||||||
|
- **[role]/analysis.md**: Role-specific analysis outputs
|
||||||
|
- **synthesis/**: Multi-role integration for comprehensive planning
|
||||||
|
|
||||||
|
## Error Handling
|
||||||
|
- **Role selection failure**: Default to `product-manager` with explanation
|
||||||
|
- **Context validation failure**: Re-prompt with minimum requirements
|
||||||
|
- **Agent execution failure**: Role-specific retry with corrected context
|
||||||
|
- **Template loading issues**: Graceful degradation with fallback questions
|
||||||
|
- **Multi-role conflicts**: Synthesis agent handles disagreement resolution
|
||||||
|
|
||||||
|
## Quality Standards
|
||||||
|
|
||||||
|
### Dedicated Agent Excellence
|
||||||
|
- **Single role focus**: Each agent handles exactly one role - no multi-role assignments
|
||||||
|
- **Complete context**: Each agent receives comprehensive role-specific context
|
||||||
|
- **Sequential processing**: Roles processed one at a time with full validation
|
||||||
|
- **Dedicated output**: Each agent produces role-specific analysis and deliverables
|
||||||
|
|
||||||
|
### Context Collection Excellence
|
||||||
|
- **Role-specific questioning**: Targeted questions for each role's domain expertise
|
||||||
|
- **Context validation**: Verification before agent submission to ensure completeness
|
||||||
|
- **User guidance**: Clear explanations of role perspective and question importance
|
||||||
|
- **Response quality**: Minimum response requirements with re-prompting for insufficient detail
|
||||||
@@ -36,7 +36,6 @@ Business process expert responsible for analyzing workflows, identifying require
|
|||||||
## 🧠 **Analysis Framework**
|
## 🧠 **Analysis Framework**
|
||||||
|
|
||||||
@~/.claude/workflows/brainstorming-principles.md
|
@~/.claude/workflows/brainstorming-principles.md
|
||||||
@~/.claude/workflows/brainstorming-framework.md
|
|
||||||
|
|
||||||
### Key Analysis Questions
|
### Key Analysis Questions
|
||||||
|
|
||||||
@@ -60,110 +59,103 @@ Business process expert responsible for analyzing workflows, identifying require
|
|||||||
- What training and adaptation requirements exist?
|
- What training and adaptation requirements exist?
|
||||||
- What success metrics and monitoring mechanisms are needed?
|
- What success metrics and monitoring mechanisms are needed?
|
||||||
|
|
||||||
## ⚙️ **Execution Protocol**
|
## ⚡ **Two-Step Execution Flow**
|
||||||
|
|
||||||
### Phase 1: Session Detection & Initialization
|
### ⚠️ Session Management - FIRST STEP
|
||||||
|
Session detection and selection:
|
||||||
```bash
|
```bash
|
||||||
# Detect active workflow session
|
# Check for active sessions
|
||||||
CHECK: .workflow/.active-* marker files
|
active_sessions=$(find .workflow -name ".active-*" 2>/dev/null)
|
||||||
IF active_session EXISTS:
|
if [ multiple_sessions ]; then
|
||||||
session_id = get_active_session()
|
prompt_user_to_select_session()
|
||||||
load_context_from(session_id)
|
else
|
||||||
ELSE:
|
use_existing_or_create_new()
|
||||||
request_user_for_session_creation()
|
fi
|
||||||
```
|
```
|
||||||
|
|
||||||
### Phase 2: Directory Structure Creation
|
### Step 1: Context Gathering Phase
|
||||||
```bash
|
**Business Analyst Perspective Questioning**
|
||||||
# Create business analyst analysis directory
|
|
||||||
mkdir -p .workflow/WFS-{topic-slug}/.brainstorming/business-analyst/
|
|
||||||
```
|
|
||||||
|
|
||||||
### Phase 3: Task Tracking Initialization
|
Before agent assignment, gather comprehensive business analyst context:
|
||||||
Initialize business analyst perspective analysis tracking:
|
|
||||||
```json
|
#### 📋 Role-Specific Questions
|
||||||
[
|
|
||||||
{"content": "Initialize business analyst brainstorming session", "status": "completed", "activeForm": "Initializing session"},
|
**1. Business Process Analysis**
|
||||||
{"content": "Analyze current business processes and workflows", "status": "in_progress", "activeForm": "Analyzing business processes"},
|
- What are the current business processes and workflows that need analysis?
|
||||||
{"content": "Identify business requirements and stakeholder needs", "status": "pending", "activeForm": "Identifying requirements"},
|
- Which departments, teams, or stakeholders are involved in these processes?
|
||||||
{"content": "Evaluate cost-benefit and ROI analysis", "status": "pending", "activeForm": "Evaluating cost-benefit"},
|
- What are the key bottlenecks, inefficiencies, or pain points you've observed?
|
||||||
{"content": "Design process improvements and optimizations", "status": "pending", "activeForm": "Designing improvements"},
|
- What metrics or KPIs are currently used to measure process performance?
|
||||||
{"content": "Plan change management and implementation", "status": "pending", "activeForm": "Planning change management"},
|
|
||||||
{"content": "Generate comprehensive business analysis documentation", "status": "pending", "activeForm": "Generating documentation"}
|
**2. Cost and Resource Analysis**
|
||||||
]
|
- What are the current costs associated with these processes (time, money, resources)?
|
||||||
```
|
- How much time do stakeholders spend on these activities daily/weekly?
|
||||||
|
- What technology, tools, or systems are currently being used?
|
||||||
|
- What budget constraints or financial targets need to be considered?
|
||||||
|
|
||||||
|
**3. Business Requirements and Objectives**
|
||||||
|
- What are the primary business objectives this analysis should achieve?
|
||||||
|
- Who are the key stakeholders and what are their specific needs?
|
||||||
|
- What are the success criteria and how will you measure improvement?
|
||||||
|
- Are there any compliance, regulatory, or governance requirements?
|
||||||
|
|
||||||
|
**4. Change Management and Implementation**
|
||||||
|
- How ready is the organization for process changes?
|
||||||
|
- What training or change management support might be needed?
|
||||||
|
- What timeline or deadlines are we working with?
|
||||||
|
- What potential resistance or challenges do you anticipate?
|
||||||
|
|
||||||
|
#### Context Validation
|
||||||
|
- **Minimum Response**: Each answer must be ≥50 characters
|
||||||
|
- **Re-prompting**: Insufficient detail triggers follow-up questions
|
||||||
|
- **Context Storage**: Save responses to `.brainstorming/business-analyst-context.md`
|
||||||
|
|
||||||
|
### Step 2: Agent Assignment with Flow Control
|
||||||
|
**Dedicated Agent Execution**
|
||||||
|
|
||||||
### Phase 4: Conceptual Planning Agent Coordination
|
|
||||||
```bash
|
```bash
|
||||||
Task(conceptual-planning-agent): "
|
Task(conceptual-planning-agent): "
|
||||||
|
[FLOW_CONTROL]
|
||||||
|
|
||||||
|
Execute dedicated business analyst conceptual analysis for: {topic}
|
||||||
|
|
||||||
ASSIGNED_ROLE: business-analyst
|
ASSIGNED_ROLE: business-analyst
|
||||||
GEMINI_ANALYSIS_REQUIRED: true
|
OUTPUT_LOCATION: .brainstorming/business-analyst/
|
||||||
ANALYSIS_DIMENSIONS:
|
USER_CONTEXT: {validated_responses_from_context_gathering}
|
||||||
- process_optimization
|
|
||||||
- cost_analysis
|
|
||||||
- efficiency_metrics
|
|
||||||
- workflow_patterns
|
|
||||||
|
|
||||||
Conduct business analyst perspective brainstorming for: {topic}
|
Flow Control Steps:
|
||||||
|
[
|
||||||
|
{
|
||||||
|
\"step\": \"load_role_template\",
|
||||||
|
\"action\": \"Load business-analyst planning template\",
|
||||||
|
\"command\": \"bash(~/.claude/scripts/planning-role-load.sh load business-analyst)\",
|
||||||
|
\"output_to\": \"role_template\"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
ROLE CONTEXT: Business Analyst
|
Conceptual Analysis Requirements:
|
||||||
- Focus Areas: Process optimization, requirements analysis, cost-benefit analysis, change management
|
- Apply business analyst perspective to topic analysis
|
||||||
- Analysis Framework: Business-centric approach with emphasis on efficiency and value creation
|
- Focus on process optimization, cost-benefit analysis, and change management
|
||||||
- Success Metrics: Process efficiency, cost reduction, stakeholder satisfaction, ROI achievement
|
- Use loaded role template framework for analysis structure
|
||||||
|
- Generate role-specific deliverables in designated output location
|
||||||
|
- Address all user context from questioning phase
|
||||||
|
|
||||||
USER CONTEXT: {captured_user_requirements_from_session}
|
Deliverables:
|
||||||
|
- analysis.md: Main business analyst analysis
|
||||||
|
- recommendations.md: Business analyst recommendations
|
||||||
|
- deliverables/: Business analyst-specific outputs as defined in role template
|
||||||
|
|
||||||
ANALYSIS REQUIREMENTS:
|
Embody business analyst role expertise for comprehensive conceptual planning."
|
||||||
1. Current State Business Analysis
|
```
|
||||||
- Map existing business processes and workflows
|
|
||||||
- Identify process inefficiencies and bottlenecks
|
|
||||||
- Analyze current costs, resources, and time investments
|
|
||||||
- Assess stakeholder roles and responsibilities
|
|
||||||
- Document pain points and improvement opportunities
|
|
||||||
|
|
||||||
2. Requirements Gathering and Analysis
|
### Progress Tracking
|
||||||
- Identify key stakeholders and their needs
|
TodoWrite tracking for two-step process:
|
||||||
- Define functional and non-functional business requirements
|
```json
|
||||||
- Prioritize requirements based on business value and urgency
|
[
|
||||||
- Analyze requirement dependencies and constraints
|
{"content": "Gather business analyst context through role-specific questioning", "status": "in_progress", "activeForm": "Gathering context"},
|
||||||
- Create requirements traceability matrix
|
{"content": "Validate context responses and save to business-analyst-context.md", "status": "pending", "activeForm": "Validating context"},
|
||||||
|
{"content": "Load business-analyst planning template via flow control", "status": "pending", "activeForm": "Loading template"},
|
||||||
3. Process Design and Optimization
|
{"content": "Execute dedicated conceptual-planning-agent for business-analyst role", "status": "pending", "activeForm": "Executing agent"}
|
||||||
- Design optimized future state processes
|
]
|
||||||
- Identify automation opportunities and digital solutions
|
|
||||||
- Plan for process standardization and best practices
|
|
||||||
- Design quality gates and control points
|
|
||||||
- Create process documentation and standard operating procedures
|
|
||||||
|
|
||||||
4. Cost-Benefit and ROI Analysis
|
|
||||||
- Calculate implementation costs (people, technology, time)
|
|
||||||
- Quantify expected benefits (cost savings, efficiency gains, revenue)
|
|
||||||
- Perform ROI analysis and payback period calculation
|
|
||||||
- Assess intangible benefits (customer satisfaction, employee morale)
|
|
||||||
- Create business case with financial justification
|
|
||||||
|
|
||||||
5. Risk Assessment and Mitigation
|
|
||||||
- Identify business, operational, and technical risks
|
|
||||||
- Assess impact and probability of identified risks
|
|
||||||
- Develop risk mitigation strategies and contingency plans
|
|
||||||
- Plan for compliance and regulatory requirements
|
|
||||||
- Design risk monitoring and control measures
|
|
||||||
|
|
||||||
6. Change Management and Implementation Planning
|
|
||||||
- Assess organizational change readiness and impact
|
|
||||||
- Design change management strategy and communication plan
|
|
||||||
- Plan training and knowledge transfer requirements
|
|
||||||
- Create implementation timeline with milestones
|
|
||||||
- Design success metrics and monitoring framework
|
|
||||||
|
|
||||||
OUTPUT REQUIREMENTS: Save comprehensive analysis to:
|
|
||||||
.workflow/WFS-{topic-slug}/.brainstorming/business-analyst/
|
|
||||||
- analysis.md (main business analysis and process assessment)
|
|
||||||
- requirements.md (detailed business requirements and specifications)
|
|
||||||
- business-case.md (cost-benefit analysis and financial justification)
|
|
||||||
- implementation-plan.md (change management and implementation strategy)
|
|
||||||
|
|
||||||
Apply business analysis expertise to optimize processes and maximize business value."
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## 📊 **Output Structure**
|
## 📊 **Output Structure**
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ Strategic data professional responsible for designing scalable, efficient data a
|
|||||||
## 🧠 **Analysis Framework**
|
## 🧠 **Analysis Framework**
|
||||||
|
|
||||||
@~/.claude/workflows/brainstorming-principles.md
|
@~/.claude/workflows/brainstorming-principles.md
|
||||||
@~/.claude/workflows/brainstorming-framework.md
|
|
||||||
|
|
||||||
### Key Analysis Questions
|
### Key Analysis Questions
|
||||||
|
|
||||||
@@ -60,96 +59,103 @@ Strategic data professional responsible for designing scalable, efficient data a
|
|||||||
- What balance between real-time dashboards and periodic reports is optimal?
|
- What balance between real-time dashboards and periodic reports is optimal?
|
||||||
- What self-service analytics and data visualization capabilities are needed?
|
- What self-service analytics and data visualization capabilities are needed?
|
||||||
|
|
||||||
## ⚙️ **Execution Protocol**
|
## ⚡ **Two-Step Execution Flow**
|
||||||
|
|
||||||
### Phase 1: Session Detection & Initialization
|
### ⚠️ Session Management - FIRST STEP
|
||||||
|
Session detection and selection:
|
||||||
```bash
|
```bash
|
||||||
# Detect active workflow session
|
# Check for active sessions
|
||||||
CHECK: .workflow/.active-* marker files
|
active_sessions=$(find .workflow -name ".active-*" 2>/dev/null)
|
||||||
IF active_session EXISTS:
|
if [ multiple_sessions ]; then
|
||||||
session_id = get_active_session()
|
prompt_user_to_select_session()
|
||||||
load_context_from(session_id)
|
else
|
||||||
ELSE:
|
use_existing_or_create_new()
|
||||||
request_user_for_session_creation()
|
fi
|
||||||
```
|
```
|
||||||
|
|
||||||
### Phase 2: Directory Structure Creation
|
### Step 1: Context Gathering Phase
|
||||||
```bash
|
**Data Architect Perspective Questioning**
|
||||||
# Create data architect analysis directory
|
|
||||||
mkdir -p .workflow/WFS-{topic-slug}/.brainstorming/data-architect/
|
|
||||||
```
|
|
||||||
|
|
||||||
### Phase 3: Task Tracking Initialization
|
Before agent assignment, gather comprehensive data architect context:
|
||||||
Initialize data architect perspective analysis tracking:
|
|
||||||
```json
|
#### 📋 Role-Specific Questions
|
||||||
[
|
|
||||||
{"content": "Initialize data architect brainstorming session", "status": "completed", "activeForm": "Initializing session"},
|
**1. Data Models and Flow Patterns**
|
||||||
{"content": "Analyze data requirements and sources", "status": "in_progress", "activeForm": "Analyzing data requirements"},
|
- What types of data will you be working with (structured, semi-structured, unstructured)?
|
||||||
{"content": "Design optimal data model and schema", "status": "pending", "activeForm": "Designing data model"},
|
- What are the expected data volumes and growth projections?
|
||||||
{"content": "Plan data pipeline and processing workflows", "status": "pending", "activeForm": "Planning data pipelines"},
|
- What are the primary data sources and how frequently will data be updated?
|
||||||
{"content": "Evaluate data quality and governance", "status": "pending", "activeForm": "Evaluating data governance"},
|
- Are there existing data models or schemas that need to be considered?
|
||||||
{"content": "Design analytics and reporting solutions", "status": "pending", "activeForm": "Designing analytics"},
|
|
||||||
{"content": "Generate comprehensive data architecture documentation", "status": "pending", "activeForm": "Generating documentation"}
|
**2. Storage Strategies and Performance**
|
||||||
]
|
- What are the query performance requirements and expected response times?
|
||||||
```
|
- Do you need real-time processing, batch processing, or both?
|
||||||
|
- What are the data retention and archival requirements?
|
||||||
|
- Are there specific compliance or regulatory requirements for data storage?
|
||||||
|
|
||||||
|
**3. Analytics Requirements and Insights**
|
||||||
|
- What types of analytics and reporting capabilities are needed?
|
||||||
|
- Who are the primary users of the data and what are their skill levels?
|
||||||
|
- What business intelligence or machine learning use cases need to be supported?
|
||||||
|
- Are there specific dashboard or visualization requirements?
|
||||||
|
|
||||||
|
**4. Data Governance and Quality**
|
||||||
|
- What data quality standards and validation rules need to be implemented?
|
||||||
|
- Who owns the data and what are the access control requirements?
|
||||||
|
- Are there data privacy or security concerns that need to be addressed?
|
||||||
|
- What data lineage and auditing capabilities are required?
|
||||||
|
|
||||||
|
#### Context Validation
|
||||||
|
- **Minimum Response**: Each answer must be ≥50 characters
|
||||||
|
- **Re-prompting**: Insufficient detail triggers follow-up questions
|
||||||
|
- **Context Storage**: Save responses to `.brainstorming/data-architect-context.md`
|
||||||
|
|
||||||
|
### Step 2: Agent Assignment with Flow Control
|
||||||
|
**Dedicated Agent Execution**
|
||||||
|
|
||||||
### Phase 4: Conceptual Planning Agent Coordination
|
|
||||||
```bash
|
```bash
|
||||||
Task(conceptual-planning-agent): "
|
Task(conceptual-planning-agent): "
|
||||||
Conduct data architect perspective brainstorming for: {topic}
|
[FLOW_CONTROL]
|
||||||
|
|
||||||
ROLE CONTEXT: Data Architect
|
Execute dedicated data architect conceptual analysis for: {topic}
|
||||||
- Focus Areas: Data modeling, data flow, storage optimization, analytics infrastructure
|
|
||||||
- Analysis Framework: Data-driven approach with emphasis on scalability, quality, and insights
|
|
||||||
- Success Metrics: Data quality, processing efficiency, analytics accuracy, scalability
|
|
||||||
|
|
||||||
USER CONTEXT: {captured_user_requirements_from_session}
|
ASSIGNED_ROLE: data-architect
|
||||||
|
OUTPUT_LOCATION: .brainstorming/data-architect/
|
||||||
|
USER_CONTEXT: {validated_responses_from_context_gathering}
|
||||||
|
|
||||||
ANALYSIS REQUIREMENTS:
|
Flow Control Steps:
|
||||||
1. Data Requirements Analysis
|
[
|
||||||
- Identify all data sources (internal, external, third-party)
|
{
|
||||||
- Define data collection requirements and constraints
|
\"step\": \"load_role_template\",
|
||||||
- Analyze data volume, velocity, and variety characteristics
|
\"action\": \"Load data-architect planning template\",
|
||||||
- Map data lineage and dependencies across systems
|
\"command\": \"bash(~/.claude/scripts/planning-role-load.sh load data-architect)\",
|
||||||
|
\"output_to\": \"role_template\"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
2. Data Model and Schema Design
|
Conceptual Analysis Requirements:
|
||||||
- Design logical and physical data models for optimal performance
|
- Apply data architect perspective to topic analysis
|
||||||
- Plan database schemas, indexes, and partitioning strategies
|
- Focus on data models, flow patterns, storage strategies, and analytics requirements
|
||||||
- Design data relationships and referential integrity constraints
|
- Use loaded role template framework for analysis structure
|
||||||
- Plan for data archival, retention, and lifecycle management
|
- Generate role-specific deliverables in designated output location
|
||||||
|
- Address all user context from questioning phase
|
||||||
|
|
||||||
3. Data Pipeline Architecture
|
Deliverables:
|
||||||
- Design ETL/ELT processes for data ingestion and transformation
|
- analysis.md: Main data architect analysis
|
||||||
- Plan real-time and batch processing workflows
|
- recommendations.md: Data architect recommendations
|
||||||
- Design error handling, monitoring, and alerting mechanisms
|
- deliverables/: Data architect-specific outputs as defined in role template
|
||||||
- Plan for data pipeline scalability and performance optimization
|
|
||||||
|
|
||||||
4. Data Quality and Governance
|
Embody data architect role expertise for comprehensive conceptual planning."
|
||||||
- Establish data quality metrics and validation rules
|
```
|
||||||
- Design data governance policies and procedures
|
|
||||||
- Plan data security, privacy, and compliance frameworks
|
|
||||||
- Create data cataloging and metadata management strategies
|
|
||||||
|
|
||||||
5. Analytics and Business Intelligence
|
### Progress Tracking
|
||||||
- Design data warehouse and data mart architectures
|
TodoWrite tracking for two-step process:
|
||||||
- Plan for OLAP cubes, reporting, and dashboard requirements
|
```json
|
||||||
- Design self-service analytics and data exploration capabilities
|
[
|
||||||
- Plan for machine learning and advanced analytics integration
|
{"content": "Gather data architect context through role-specific questioning", "status": "in_progress", "activeForm": "Gathering context"},
|
||||||
|
{"content": "Validate context responses and save to data-architect-context.md", "status": "pending", "activeForm": "Validating context"},
|
||||||
6. Performance and Scalability Planning
|
{"content": "Load data-architect planning template via flow control", "status": "pending", "activeForm": "Loading template"},
|
||||||
- Analyze current and projected data volumes and growth
|
{"content": "Execute dedicated conceptual-planning-agent for data-architect role", "status": "pending", "activeForm": "Executing agent"}
|
||||||
- Design horizontal and vertical scaling strategies
|
]
|
||||||
- Plan for high availability and disaster recovery
|
|
||||||
- Optimize query performance and resource utilization
|
|
||||||
|
|
||||||
OUTPUT REQUIREMENTS: Save comprehensive analysis to:
|
|
||||||
.workflow/WFS-{topic-slug}/.brainstorming/data-architect/
|
|
||||||
- analysis.md (main data architecture analysis)
|
|
||||||
- data-model.md (data models, schemas, and relationships)
|
|
||||||
- pipeline-design.md (data processing and ETL/ELT workflows)
|
|
||||||
- governance-plan.md (data quality, security, and governance)
|
|
||||||
|
|
||||||
Apply data architecture expertise to create scalable, reliable, and insightful data solutions."
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## 📊 **Output Specification**
|
## 📊 **Output Specification**
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
name: planner
|
name: feature-planner
|
||||||
description: Feature planner perspective brainstorming for feature development and planning analysis
|
description: Feature planner perspective brainstorming for feature development and planning analysis
|
||||||
usage: /workflow:brainstorm:feature-planner <topic>
|
usage: /workflow:brainstorm:feature-planner <topic>
|
||||||
argument-hint: "topic or challenge to analyze from feature planning perspective"
|
argument-hint: "topic or challenge to analyze from feature planning perspective"
|
||||||
@@ -10,142 +10,152 @@ examples:
|
|||||||
allowed-tools: Task(conceptual-planning-agent), TodoWrite(*)
|
allowed-tools: Task(conceptual-planning-agent), TodoWrite(*)
|
||||||
---
|
---
|
||||||
|
|
||||||
## 🔧 **角色定义: Feature Planner**
|
## 🔧 **Role Overview: Feature Planner**
|
||||||
|
|
||||||
### 核心职责
|
### Role Definition
|
||||||
- **功能规划**: 设计和规划产品功能的开发路线图
|
Feature development specialist responsible for transforming business requirements into actionable feature specifications, managing development priorities, and ensuring successful feature delivery through strategic planning and execution.
|
||||||
- **需求转化**: 将业务需求转化为具体的功能规范
|
|
||||||
- **优先级排序**: 基于价值和资源平衡功能开发优先级
|
|
||||||
- **交付规划**: 制定功能开发和发布时间表
|
|
||||||
|
|
||||||
### 关注领域
|
### Core Responsibilities
|
||||||
- **功能设计**: 功能规范、用户故事、验收标准
|
- **Feature Specification**: Transform business requirements into detailed feature specifications
|
||||||
- **开发规划**: 迭代计划、里程碑、依赖关系管理
|
- **Development Planning**: Create development roadmaps and manage feature priorities
|
||||||
- **质量保证**: 测试策略、质量标准、验收流程
|
- **Quality Assurance**: Design testing strategies and acceptance criteria
|
||||||
- **发布管理**: 发布策略、版本控制、变更管理
|
- **Delivery Management**: Plan feature releases and manage implementation timelines
|
||||||
|
|
||||||
|
### Focus Areas
|
||||||
|
- **Feature Design**: User stories, acceptance criteria, feature specifications
|
||||||
|
- **Development Planning**: Sprint planning, milestones, dependency management
|
||||||
|
- **Quality Assurance**: Testing strategies, quality gates, acceptance processes
|
||||||
|
- **Release Management**: Release planning, version control, change management
|
||||||
|
|
||||||
|
### Success Metrics
|
||||||
|
- Feature delivery on time and within scope
|
||||||
|
- Quality standards and acceptance criteria met
|
||||||
|
- User satisfaction with delivered features
|
||||||
|
- Development team productivity and efficiency
|
||||||
|
|
||||||
## 🧠 **分析框架**
|
## 🧠 **分析框架**
|
||||||
|
|
||||||
@~/.claude/workflows/brainstorming-principles.md
|
@~/.claude/workflows/brainstorming-principles.md
|
||||||
@~/.claude/workflows/brainstorming-framework.md
|
|
||||||
|
|
||||||
### 核心分析问题
|
### Key Analysis Questions
|
||||||
1. **功能需求分析**:
|
|
||||||
- 核心功能需求和用户故事?
|
|
||||||
- 功能的MVP和完整版本规划?
|
|
||||||
- 跨功能依赖和集成需求?
|
|
||||||
|
|
||||||
2. **技术可行性评估**:
|
**1. Feature Requirements and Scope**
|
||||||
- 技术实现的复杂度和挑战?
|
- What are the core feature requirements and user stories?
|
||||||
- 现有系统的扩展和改造需求?
|
- How should MVP and full feature versions be planned?
|
||||||
- 第三方服务和API集成?
|
- What cross-feature dependencies and integration requirements exist?
|
||||||
|
|
||||||
3. **开发资源和时间估算**:
|
**2. Implementation Complexity and Feasibility**
|
||||||
- 开发工作量和时间预估?
|
- What is the technical implementation complexity and what challenges exist?
|
||||||
- 所需技能和团队配置?
|
- What extensions or modifications to existing systems are required?
|
||||||
- 开发风险和缓解策略?
|
- What third-party services and API integrations are needed?
|
||||||
|
|
||||||
4. **测试和质量保证**:
|
**3. Development Resources and Timeline**
|
||||||
- 测试策略和测试用例设计?
|
- What are the development effort estimates and time projections?
|
||||||
- 质量标准和验收条件?
|
- What skills and team configurations are required?
|
||||||
- 用户验收和反馈机制?
|
- What development risks exist and how can they be mitigated?
|
||||||
|
|
||||||
## ⚙️ **执行协议**
|
**4. Testing and Quality Assurance**
|
||||||
|
- What testing strategies and test case designs are needed?
|
||||||
|
- What quality standards and acceptance criteria should be defined?
|
||||||
|
- What user acceptance and feedback mechanisms are required?
|
||||||
|
|
||||||
### Phase 1: 会话检测与初始化
|
## ⚡ **Two-Step Execution Flow**
|
||||||
|
|
||||||
|
### ⚠️ Session Management - FIRST STEP
|
||||||
|
Session detection and selection:
|
||||||
```bash
|
```bash
|
||||||
# 自动检测活动会话
|
# Check for active sessions
|
||||||
CHECK: .workflow/.active-* marker files
|
active_sessions=$(find .workflow -name ".active-*" 2>/dev/null)
|
||||||
IF active_session EXISTS:
|
if [ multiple_sessions ]; then
|
||||||
session_id = get_active_session()
|
prompt_user_to_select_session()
|
||||||
load_context_from(session_id)
|
else
|
||||||
ELSE:
|
use_existing_or_create_new()
|
||||||
request_user_for_session_creation()
|
fi
|
||||||
```
|
```
|
||||||
|
|
||||||
### Phase 2: 目录结构创建
|
### Step 1: Context Gathering Phase
|
||||||
```bash
|
**Feature Planner Perspective Questioning**
|
||||||
# 创建功能规划师分析目录
|
|
||||||
mkdir -p .workflow/WFS-{topic-slug}/.brainstorming/feature-planner/
|
|
||||||
```
|
|
||||||
|
|
||||||
### Phase 3: TodoWrite 初始化
|
Before agent assignment, gather comprehensive feature planner context:
|
||||||
设置功能规划师视角分析的任务跟踪:
|
|
||||||
```json
|
#### 📋 Role-Specific Questions
|
||||||
[
|
|
||||||
{"content": "Initialize feature planner brainstorming session", "status": "completed", "activeForm": "Initializing session"},
|
**1. Implementation Complexity and Scope**
|
||||||
{"content": "Analyze feature requirements and user stories", "status": "in_progress", "activeForm": "Analyzing feature requirements"},
|
- What is the scope and complexity of the features you want to plan?
|
||||||
{"content": "Design feature architecture and specifications", "status": "pending", "activeForm": "Designing feature architecture"},
|
- Are there existing features or systems that need to be extended or integrated?
|
||||||
{"content": "Plan development phases and prioritization", "status": "pending", "activeForm": "Planning development phases"},
|
- What are the technical constraints or requirements that need to be considered?
|
||||||
{"content": "Evaluate testing strategy and quality assurance", "status": "pending", "activeForm": "Evaluating testing strategy"},
|
- How do these features fit into the overall product roadmap?
|
||||||
{"content": "Create implementation timeline and milestones", "status": "pending", "activeForm": "Creating timeline"},
|
|
||||||
{"content": "Generate comprehensive feature planning documentation", "status": "pending", "activeForm": "Generating documentation"}
|
**2. Dependency Mapping and Integration**
|
||||||
]
|
- What other features, systems, or teams does this depend on?
|
||||||
```
|
- Are there any external APIs, services, or third-party integrations required?
|
||||||
|
- What are the data dependencies and how will data flow between components?
|
||||||
|
- What are the potential blockers or risks that could impact development?
|
||||||
|
|
||||||
|
**3. Risk Assessment and Mitigation**
|
||||||
|
- What are the main technical, business, or timeline risks?
|
||||||
|
- Are there any unknowns or areas that need research or prototyping?
|
||||||
|
- What fallback plans or alternative approaches should be considered?
|
||||||
|
- How will quality and testing be ensured throughout development?
|
||||||
|
|
||||||
|
**4. Technical Feasibility and Resource Planning**
|
||||||
|
- What is the estimated development effort and timeline?
|
||||||
|
- What skills, expertise, or team composition is needed?
|
||||||
|
- Are there any specific technologies, tools, or frameworks required?
|
||||||
|
- What are the performance, scalability, or maintenance considerations?
|
||||||
|
|
||||||
|
#### Context Validation
|
||||||
|
- **Minimum Response**: Each answer must be ≥50 characters
|
||||||
|
- **Re-prompting**: Insufficient detail triggers follow-up questions
|
||||||
|
- **Context Storage**: Save responses to `.brainstorming/feature-planner-context.md`
|
||||||
|
|
||||||
|
### Step 2: Agent Assignment with Flow Control
|
||||||
|
**Dedicated Agent Execution**
|
||||||
|
|
||||||
### Phase 4: 概念规划代理协调
|
|
||||||
```bash
|
```bash
|
||||||
Task(conceptual-planning-agent): "
|
Task(conceptual-planning-agent): "
|
||||||
Conduct feature planner perspective brainstorming for: {topic}
|
[FLOW_CONTROL]
|
||||||
|
|
||||||
ROLE CONTEXT: Feature Planner
|
Execute dedicated feature planner conceptual analysis for: {topic}
|
||||||
- Focus Areas: Feature specification, development planning, quality assurance, delivery management
|
|
||||||
- Analysis Framework: Feature-centric approach with emphasis on deliverability and user value
|
|
||||||
- Success Metrics: Feature completion, quality standards, user satisfaction, delivery timeline
|
|
||||||
|
|
||||||
USER CONTEXT: {captured_user_requirements_from_session}
|
ASSIGNED_ROLE: feature-planner
|
||||||
|
OUTPUT_LOCATION: .brainstorming/feature-planner/
|
||||||
|
USER_CONTEXT: {validated_responses_from_context_gathering}
|
||||||
|
|
||||||
ANALYSIS REQUIREMENTS:
|
Flow Control Steps:
|
||||||
1. Feature Requirements Analysis
|
[
|
||||||
- Break down high-level requirements into specific feature specifications
|
{
|
||||||
- Create detailed user stories with acceptance criteria
|
\"step\": \"load_role_template\",
|
||||||
- Identify feature dependencies and integration requirements
|
\"action\": \"Load feature-planner planning template\",
|
||||||
- Map features to user personas and use cases
|
\"command\": \"bash(~/.claude/scripts/planning-role-load.sh load feature-planner)\",
|
||||||
- Define feature scope and boundaries (MVP vs full feature)
|
\"output_to\": \"role_template\"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
2. Feature Architecture and Design
|
Conceptual Analysis Requirements:
|
||||||
- Design feature workflows and user interaction patterns
|
- Apply feature planner perspective to topic analysis
|
||||||
- Plan feature integration with existing system components
|
- Focus on implementation complexity, dependency mapping, risk assessment, and technical feasibility
|
||||||
- Define APIs and data interfaces required
|
- Use loaded role template framework for analysis structure
|
||||||
- Plan for feature configuration and customization options
|
- Generate role-specific deliverables in designated output location
|
||||||
- Design feature monitoring and analytics capabilities
|
- Address all user context from questioning phase
|
||||||
|
|
||||||
3. Development Planning and Estimation
|
Deliverables:
|
||||||
- Estimate development effort and complexity for each feature
|
- analysis.md: Main feature planner analysis
|
||||||
- Identify technical risks and implementation challenges
|
- recommendations.md: Feature planner recommendations
|
||||||
- Plan feature development phases and incremental delivery
|
- deliverables/: Feature planner-specific outputs as defined in role template
|
||||||
- Define development milestones and checkpoints
|
|
||||||
- Assess resource requirements and team capacity
|
|
||||||
|
|
||||||
4. Quality Assurance and Testing Strategy
|
Embody feature planner role expertise for comprehensive conceptual planning."
|
||||||
- Design comprehensive testing strategy (unit, integration, E2E)
|
```
|
||||||
- Create test scenarios and edge case coverage
|
|
||||||
- Plan performance testing and scalability validation
|
|
||||||
- Design user acceptance testing procedures
|
|
||||||
- Plan for accessibility and usability testing
|
|
||||||
|
|
||||||
5. Feature Prioritization and Roadmap
|
### Progress Tracking
|
||||||
- Apply prioritization frameworks (MoSCoW, Kano, RICE)
|
TodoWrite tracking for two-step process:
|
||||||
- Balance business value with development complexity
|
```json
|
||||||
- Create feature release planning and versioning strategy
|
[
|
||||||
- Plan for feature flags and gradual rollout
|
{"content": "Gather feature planner context through role-specific questioning", "status": "in_progress", "activeForm": "Gathering context"},
|
||||||
- Design feature deprecation and sunset strategies
|
{"content": "Validate context responses and save to feature-planner-context.md", "status": "pending", "activeForm": "Validating context"},
|
||||||
|
{"content": "Load feature-planner planning template via flow control", "status": "pending", "activeForm": "Loading template"},
|
||||||
6. Delivery and Release Management
|
{"content": "Execute dedicated conceptual-planning-agent for feature-planner role", "status": "pending", "activeForm": "Executing agent"}
|
||||||
- Plan feature delivery timeline and release schedule
|
]
|
||||||
- Design change management and deployment strategies
|
|
||||||
- Plan for feature documentation and user training
|
|
||||||
- Create feature success metrics and KPIs
|
|
||||||
- Design post-release monitoring and support plans
|
|
||||||
|
|
||||||
OUTPUT REQUIREMENTS: Save comprehensive analysis to:
|
|
||||||
.workflow/WFS-{topic-slug}/.brainstorming/feature-planner/
|
|
||||||
- analysis.md (main feature analysis and specifications)
|
|
||||||
- user-stories.md (detailed user stories and acceptance criteria)
|
|
||||||
- development-plan.md (development timeline and resource planning)
|
|
||||||
- testing-strategy.md (quality assurance and testing approach)
|
|
||||||
|
|
||||||
Apply feature planning expertise to create deliverable, high-quality feature implementations."
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## 📊 **输出结构**
|
## 📊 **输出结构**
|
||||||
|
|||||||
@@ -10,150 +10,152 @@ examples:
|
|||||||
allowed-tools: Task(conceptual-planning-agent), TodoWrite(*)
|
allowed-tools: Task(conceptual-planning-agent), TodoWrite(*)
|
||||||
---
|
---
|
||||||
|
|
||||||
## 🚀 **角色定义: Innovation Lead**
|
## 🚀 **Role Overview: Innovation Lead**
|
||||||
|
|
||||||
### 核心职责
|
### Role Definition
|
||||||
- **趋势识别**: 识别和分析新兴技术趋势和市场机会
|
Visionary technology strategist responsible for identifying emerging technology trends, evaluating disruptive innovation opportunities, and designing future-ready solutions that create competitive advantage and drive market transformation.
|
||||||
- **创新策略**: 制定创新路线图和技术发展战略
|
|
||||||
- **技术评估**: 评估新技术的应用潜力和可行性
|
|
||||||
- **未来规划**: 设计面向未来的产品和服务概念
|
|
||||||
|
|
||||||
### 关注领域
|
### Core Responsibilities
|
||||||
- **新兴技术**: AI、区块链、IoT、AR/VR、量子计算等前沿技术
|
- **Trend Identification**: Identify and analyze emerging technology trends and market opportunities
|
||||||
- **市场趋势**: 行业变革、用户行为演进、商业模式创新
|
- **Innovation Strategy**: Develop innovation roadmaps and technology development strategies
|
||||||
- **创新机会**: 破坏性创新、蓝海市场、技术融合机会
|
- **Technology Assessment**: Evaluate new technology application potential and feasibility
|
||||||
- **未来愿景**: 长期技术路线图、概念验证、原型开发
|
- **Future Planning**: Design forward-looking product and service concepts
|
||||||
|
|
||||||
|
### Focus Areas
|
||||||
|
- **Emerging Technologies**: AI, blockchain, IoT, AR/VR, quantum computing, and other frontier technologies
|
||||||
|
- **Market Trends**: Industry transformation, user behavior evolution, business model innovation
|
||||||
|
- **Innovation Opportunities**: Disruptive innovation, blue ocean markets, technology convergence opportunities
|
||||||
|
- **Future Vision**: Long-term technology roadmaps, proof of concepts, prototype development
|
||||||
|
|
||||||
|
### Success Metrics
|
||||||
|
- Innovation impact and market differentiation
|
||||||
|
- Technology adoption rates and competitive advantage
|
||||||
|
- Future readiness and strategic positioning
|
||||||
|
- Breakthrough opportunity identification and validation
|
||||||
|
|
||||||
## 🧠 **Analysis Framework**
|
## 🧠 **Analysis Framework**
|
||||||
|
|
||||||
@~/.claude/workflows/brainstorming-principles.md
|
@~/.claude/workflows/brainstorming-principles.md
|
||||||
@~/.claude/workflows/brainstorming-framework.md
|
|
||||||
|
|
||||||
### 核心分析问题
|
### Key Analysis Questions
|
||||||
1. **技术趋势和机会**:
|
|
||||||
- 哪些新兴技术对我们的行业最有影响?
|
|
||||||
- 技术成熟度和采用时间轴?
|
|
||||||
- 技术融合创造的新机会?
|
|
||||||
|
|
||||||
2. **创新潜力评估**:
|
**1. Emerging Trends and Technology Opportunities**
|
||||||
- 破坏性创新的可能性和影响?
|
- Which emerging technologies will have the greatest impact on our industry?
|
||||||
- 现有解决方案的创新空间?
|
- What is the technology maturity level and adoption timeline?
|
||||||
- 未被满足的市场需求?
|
- What new opportunities does technology convergence create?
|
||||||
|
|
||||||
3. **竞争和市场分析**:
|
**2. Disruption Potential and Innovation Assessment**
|
||||||
- 竞争对手的创新动向?
|
- What is the potential for disruptive innovation and its impact?
|
||||||
- 市场空白和蓝海机会?
|
- What innovation opportunities exist within current solutions?
|
||||||
- 技术壁垒和先发优势?
|
- What unmet market needs and demands exist?
|
||||||
|
|
||||||
4. **实施和风险评估**:
|
**3. Competitive Advantage and Market Analysis**
|
||||||
- 技术实施的可行性和风险?
|
- What are competitors' innovation strategies and directions?
|
||||||
- 投资需求和预期回报?
|
- What market gaps and blue ocean opportunities exist?
|
||||||
- 组织创新能力和适应性?
|
- What technological barriers and first-mover advantages are available?
|
||||||
|
|
||||||
## ⚙️ **Execution Protocol**
|
**4. Implementation and Risk Assessment**
|
||||||
|
- What is the feasibility and risk of technology implementation?
|
||||||
|
- What are the investment requirements and expected returns?
|
||||||
|
- What organizational innovation capabilities and adaptability are needed?
|
||||||
|
|
||||||
### Phase 1: Session Detection & Initialization
|
## ⚡ **Two-Step Execution Flow**
|
||||||
|
|
||||||
|
### ⚠️ Session Management - FIRST STEP
|
||||||
|
Session detection and selection:
|
||||||
```bash
|
```bash
|
||||||
# Detect active workflow session
|
# Check for active sessions
|
||||||
CHECK: .workflow/.active-* marker files
|
active_sessions=$(find .workflow -name ".active-*" 2>/dev/null)
|
||||||
IF active_session EXISTS:
|
if [ multiple_sessions ]; then
|
||||||
session_id = get_active_session()
|
prompt_user_to_select_session()
|
||||||
load_context_from(session_id)
|
else
|
||||||
ELSE:
|
use_existing_or_create_new()
|
||||||
request_user_for_session_creation()
|
fi
|
||||||
```
|
```
|
||||||
|
|
||||||
### Phase 2: Directory Structure Creation
|
### Step 1: Context Gathering Phase
|
||||||
```bash
|
**Innovation Lead Perspective Questioning**
|
||||||
# Create innovation lead analysis directory
|
|
||||||
mkdir -p .workflow/WFS-{topic-slug}/.brainstorming/innovation-lead/
|
|
||||||
```
|
|
||||||
|
|
||||||
### Phase 3: Task Tracking Initialization
|
Before agent assignment, gather comprehensive innovation lead context:
|
||||||
Initialize innovation lead perspective analysis tracking:
|
|
||||||
```json
|
#### 📋 Role-Specific Questions
|
||||||
[
|
|
||||||
{"content": "Initialize innovation lead brainstorming session", "status": "completed", "activeForm": "Initializing session"},
|
**1. Emerging Trends and Future Technologies**
|
||||||
{"content": "Research emerging technology trends and opportunities", "status": "in_progress", "activeForm": "Researching technology trends"},
|
- What emerging technologies or trends do you think will be most relevant to this topic?
|
||||||
{"content": "Analyze innovation potential and market disruption", "status": "pending", "activeForm": "Analyzing innovation potential"},
|
- Are there any specific industries or markets you want to explore for innovation opportunities?
|
||||||
{"content": "Evaluate competitive landscape and positioning", "status": "pending", "activeForm": "Evaluating competitive landscape"},
|
- What time horizon are you considering (near-term, medium-term, long-term disruption)?
|
||||||
{"content": "Design future-oriented solutions and concepts", "status": "pending", "activeForm": "Designing future solutions"},
|
- Are there any particular technology domains you want to focus on (AI, IoT, blockchain, etc.)?
|
||||||
{"content": "Assess implementation feasibility and roadmap", "status": "pending", "activeForm": "Assessing implementation"},
|
|
||||||
{"content": "Generate comprehensive innovation strategy documentation", "status": "pending", "activeForm": "Generating documentation"}
|
**2. Innovation Opportunities and Market Potential**
|
||||||
]
|
- What current limitations or pain points could be addressed through innovation?
|
||||||
```
|
- Are there any unmet market needs or underserved segments you're aware of?
|
||||||
|
- What would disruptive success look like in this context?
|
||||||
|
- Are there cross-industry innovations that could be applied to this domain?
|
||||||
|
|
||||||
|
**3. Disruption Potential and Competitive Landscape**
|
||||||
|
- Who are the current market leaders and what are their innovation strategies?
|
||||||
|
- What startup activity or venture capital investment trends are you seeing?
|
||||||
|
- Are there any potential platform shifts or ecosystem changes on the horizon?
|
||||||
|
- What would make a solution truly differentiated in the marketplace?
|
||||||
|
|
||||||
|
**4. Implementation and Strategic Considerations**
|
||||||
|
- What organizational capabilities or partnerships would be needed for innovation?
|
||||||
|
- Are there regulatory, technical, or market barriers to consider?
|
||||||
|
- What level of risk tolerance exists for breakthrough vs. incremental innovation?
|
||||||
|
- How important is first-mover advantage versus fast-follower strategies?
|
||||||
|
|
||||||
|
#### Context Validation
|
||||||
|
- **Minimum Response**: Each answer must be ≥50 characters
|
||||||
|
- **Re-prompting**: Insufficient detail triggers follow-up questions
|
||||||
|
- **Context Storage**: Save responses to `.brainstorming/innovation-lead-context.md`
|
||||||
|
|
||||||
|
### Step 2: Agent Assignment with Flow Control
|
||||||
|
**Dedicated Agent Execution**
|
||||||
|
|
||||||
### Phase 4: Conceptual Planning Agent Coordination
|
|
||||||
```bash
|
```bash
|
||||||
Task(conceptual-planning-agent): "
|
Task(conceptual-planning-agent): "
|
||||||
|
[FLOW_CONTROL]
|
||||||
|
|
||||||
|
Execute dedicated innovation lead conceptual analysis for: {topic}
|
||||||
|
|
||||||
ASSIGNED_ROLE: innovation-lead
|
ASSIGNED_ROLE: innovation-lead
|
||||||
GEMINI_ANALYSIS_REQUIRED: true
|
OUTPUT_LOCATION: .brainstorming/innovation-lead/
|
||||||
ANALYSIS_DIMENSIONS:
|
USER_CONTEXT: {validated_responses_from_context_gathering}
|
||||||
- emerging_patterns
|
|
||||||
- technology_trends
|
|
||||||
- disruption_potential
|
|
||||||
- innovation_opportunities
|
|
||||||
|
|
||||||
Conduct innovation lead perspective brainstorming for: {topic}
|
Flow Control Steps:
|
||||||
|
[
|
||||||
|
{
|
||||||
|
\"step\": \"load_role_template\",
|
||||||
|
\"action\": \"Load innovation-lead planning template\",
|
||||||
|
\"command\": \"bash(~/.claude/scripts/planning-role-load.sh load innovation-lead)\",
|
||||||
|
\"output_to\": \"role_template\"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
ROLE CONTEXT: Innovation Lead
|
Conceptual Analysis Requirements:
|
||||||
- Focus Areas: Emerging technologies, market disruption, future opportunities, innovation strategy
|
- Apply innovation lead perspective to topic analysis
|
||||||
- Analysis Framework: Forward-thinking approach with emphasis on breakthrough innovation and competitive advantage
|
- Focus on emerging trends, disruption potential, competitive advantage, and future opportunities
|
||||||
- Success Metrics: Innovation impact, market differentiation, technology adoption, future readiness
|
- Use loaded role template framework for analysis structure
|
||||||
|
- Generate role-specific deliverables in designated output location
|
||||||
|
- Address all user context from questioning phase
|
||||||
|
|
||||||
USER CONTEXT: {captured_user_requirements_from_session}
|
Deliverables:
|
||||||
|
- analysis.md: Main innovation lead analysis
|
||||||
|
- recommendations.md: Innovation lead recommendations
|
||||||
|
- deliverables/: Innovation lead-specific outputs as defined in role template
|
||||||
|
|
||||||
ANALYSIS REQUIREMENTS:
|
Embody innovation lead role expertise for comprehensive conceptual planning."
|
||||||
1. Emerging Technology Landscape Analysis
|
```
|
||||||
- Research current and emerging technology trends relevant to the topic
|
|
||||||
- Analyze technology maturity levels and adoption curves
|
|
||||||
- Identify breakthrough technologies with disruptive potential
|
|
||||||
- Assess technology convergence opportunities and synergies
|
|
||||||
- Map technology evolution timelines and critical milestones
|
|
||||||
|
|
||||||
2. Innovation Opportunity Assessment
|
### Progress Tracking
|
||||||
- Identify unmet market needs and whitespace opportunities
|
TodoWrite tracking for two-step process:
|
||||||
- Analyze potential for disruptive innovation vs incremental improvement
|
```json
|
||||||
- Assess blue ocean market opportunities and new value propositions
|
[
|
||||||
- Evaluate cross-industry innovation transfer possibilities
|
{"content": "Gather innovation lead context through role-specific questioning", "status": "in_progress", "activeForm": "Gathering context"},
|
||||||
- Identify platform and ecosystem innovation opportunities
|
{"content": "Validate context responses and save to innovation-lead-context.md", "status": "pending", "activeForm": "Validating context"},
|
||||||
|
{"content": "Load innovation-lead planning template via flow control", "status": "pending", "activeForm": "Loading template"},
|
||||||
3. Competitive Intelligence and Market Analysis
|
{"content": "Execute dedicated conceptual-planning-agent for innovation-lead role", "status": "pending", "activeForm": "Executing agent"}
|
||||||
- Analyze competitor innovation strategies and technology investments
|
]
|
||||||
- Identify market leaders and emerging disruptors
|
|
||||||
- Assess patent landscapes and intellectual property opportunities
|
|
||||||
- Evaluate startup ecosystem and potential acquisition targets
|
|
||||||
- Analyze venture capital and funding trends in related areas
|
|
||||||
|
|
||||||
4. Future Scenario Planning
|
|
||||||
- Design multiple future scenarios based on technology trends
|
|
||||||
- Create technology roadmaps with short, medium, and long-term horizons
|
|
||||||
- Identify potential black swan events and wild card scenarios
|
|
||||||
- Plan for technology convergence and platform shifts
|
|
||||||
- Design adaptive strategies for uncertain futures
|
|
||||||
|
|
||||||
5. Innovation Concept Development
|
|
||||||
- Generate breakthrough product and service concepts
|
|
||||||
- Design minimum viable innovation experiments
|
|
||||||
- Create proof-of-concept prototyping strategies
|
|
||||||
- Plan innovation pilot programs and validation approaches
|
|
||||||
- Design scalable innovation frameworks and processes
|
|
||||||
|
|
||||||
6. Implementation Strategy and Risk Assessment
|
|
||||||
- Assess organizational innovation readiness and capabilities
|
|
||||||
- Identify required technology investments and partnerships
|
|
||||||
- Evaluate risks including technology, market, and execution risks
|
|
||||||
- Design innovation governance and decision-making frameworks
|
|
||||||
- Plan talent acquisition and capability building strategies
|
|
||||||
|
|
||||||
OUTPUT REQUIREMENTS: Save comprehensive analysis to:
|
|
||||||
.workflow/WFS-{topic-slug}/.brainstorming/innovation-lead/
|
|
||||||
- analysis.md (main innovation analysis and opportunity assessment)
|
|
||||||
- technology-roadmap.md (technology trends and future scenarios)
|
|
||||||
- innovation-concepts.md (breakthrough ideas and concept development)
|
|
||||||
- strategy-implementation.md (innovation strategy and execution plan)
|
|
||||||
|
|
||||||
Apply innovation leadership expertise to identify breakthrough opportunities and design future-ready strategies."
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## 📊 **输出结构**
|
## 📊 **输出结构**
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ Strategic product leader focused on maximizing user value and business impact th
|
|||||||
## 🧠 **Analysis Framework**
|
## 🧠 **Analysis Framework**
|
||||||
|
|
||||||
@~/.claude/workflows/brainstorming-principles.md
|
@~/.claude/workflows/brainstorming-principles.md
|
||||||
@~/.claude/workflows/brainstorming-framework.md
|
|
||||||
|
|
||||||
### Key Analysis Questions
|
### Key Analysis Questions
|
||||||
|
|
||||||
@@ -60,84 +59,98 @@ Strategic product leader focused on maximizing user value and business impact th
|
|||||||
- What are the technical and market risks?
|
- What are the technical and market risks?
|
||||||
- Do we have the right team capabilities?
|
- Do we have the right team capabilities?
|
||||||
|
|
||||||
## ⚙️ **Execution Protocol**
|
## ⚡ **Two-Step Execution Flow**
|
||||||
|
|
||||||
### Phase 1: Session Detection & Initialization
|
### ⚠️ Session Management - FIRST STEP
|
||||||
|
Session detection and selection:
|
||||||
```bash
|
```bash
|
||||||
# Detect active workflow session
|
# Check for active sessions
|
||||||
CHECK: .workflow/.active-* marker files
|
active_sessions=$(find .workflow -name ".active-*" 2>/dev/null)
|
||||||
IF active_session EXISTS:
|
if [ multiple_sessions ]; then
|
||||||
session_id = get_active_session()
|
prompt_user_to_select_session()
|
||||||
load_context_from(session_id)
|
else
|
||||||
ELSE:
|
use_existing_or_create_new()
|
||||||
request_user_for_session_creation()
|
fi
|
||||||
```
|
```
|
||||||
|
|
||||||
### Phase 2: Directory Structure Creation
|
### Step 1: Context Gathering Phase
|
||||||
```bash
|
**Product Manager Perspective Questioning**
|
||||||
# Create product manager analysis directory
|
|
||||||
mkdir -p .workflow/WFS-{topic-slug}/.brainstorming/product-manager/
|
|
||||||
```
|
|
||||||
|
|
||||||
### Phase 3: Task Tracking Initialization
|
Before agent assignment, gather comprehensive product management context:
|
||||||
Initialize product manager perspective analysis tracking:
|
|
||||||
```json
|
#### 📋 Role-Specific Questions
|
||||||
[
|
1. **Business Objectives & Metrics**
|
||||||
{"content": "Initialize product manager brainstorming session", "status": "completed", "activeForm": "Initializing session"},
|
- Primary business goals and success metrics?
|
||||||
{"content": "Analyze user needs and pain points", "status": "in_progress", "activeForm": "Analyzing user needs"},
|
- Revenue impact expectations and timeline?
|
||||||
{"content": "Evaluate business value and impact", "status": "pending", "activeForm": "Evaluating business impact"},
|
- Key stakeholders and decision makers?
|
||||||
{"content": "Assess market opportunities", "status": "pending", "activeForm": "Assessing market opportunities"},
|
|
||||||
{"content": "Develop product strategy recommendations", "status": "pending", "activeForm": "Developing strategy"},
|
2. **Target Users & Market**
|
||||||
{"content": "Create prioritized action plan", "status": "pending", "activeForm": "Creating action plan"},
|
- Primary user segments and personas?
|
||||||
{"content": "Generate comprehensive product analysis", "status": "pending", "activeForm": "Generating analysis"}
|
- User pain points and current solutions?
|
||||||
]
|
- Competitive landscape and differentiation needs?
|
||||||
```
|
|
||||||
|
3. **Product Strategy & Scope**
|
||||||
|
- Feature priorities and user value propositions?
|
||||||
|
- Resource constraints and timeline expectations?
|
||||||
|
- Integration with existing product ecosystem?
|
||||||
|
|
||||||
|
4. **Success Criteria & Risk Assessment**
|
||||||
|
- How will success be measured and validated?
|
||||||
|
- Market and technical risks to consider?
|
||||||
|
- Go-to-market strategy requirements?
|
||||||
|
|
||||||
|
#### Context Validation
|
||||||
|
- **Minimum Response**: Each answer must be ≥50 characters
|
||||||
|
- **Re-prompting**: Insufficient detail triggers follow-up questions
|
||||||
|
- **Context Storage**: Save responses to `.brainstorming/product-manager-context.md`
|
||||||
|
|
||||||
|
### Step 2: Agent Assignment with Flow Control
|
||||||
|
**Dedicated Agent Execution**
|
||||||
|
|
||||||
### Phase 4: Conceptual Planning Agent Coordination
|
|
||||||
```bash
|
```bash
|
||||||
Task(conceptual-planning-agent): "
|
Task(conceptual-planning-agent): "
|
||||||
Conduct product management perspective brainstorming for: {topic}
|
[FLOW_CONTROL]
|
||||||
|
|
||||||
ROLE CONTEXT: Product Manager
|
Execute dedicated product-manager conceptual analysis for: {topic}
|
||||||
- Focus Areas: User needs, business value, market positioning, product strategy
|
|
||||||
- Analysis Framework: User-centric approach with business impact assessment
|
|
||||||
- Success Metrics: User satisfaction, business growth, market differentiation
|
|
||||||
|
|
||||||
USER CONTEXT: {captured_user_requirements_from_session}
|
ASSIGNED_ROLE: product-manager
|
||||||
|
OUTPUT_LOCATION: .brainstorming/product-manager/
|
||||||
|
USER_CONTEXT: {validated_responses_from_context_gathering}
|
||||||
|
|
||||||
ANALYSIS REQUIREMENTS:
|
Flow Control Steps:
|
||||||
1. User Needs Analysis
|
[
|
||||||
- Identify core user problems and pain points
|
{
|
||||||
- Define target user segments and personas
|
\"step\": \"load_role_template\",
|
||||||
- Map user journey and experience gaps
|
\"action\": \"Load product-manager planning template\",
|
||||||
- Prioritize user requirements by impact and frequency
|
\"command\": \"bash(~/.claude/scripts/planning-role-load.sh load product-manager)\",
|
||||||
|
\"output_to\": \"role_template\"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
2. Business Value Assessment
|
Conceptual Analysis Requirements:
|
||||||
- Quantify potential business impact (revenue, growth, efficiency)
|
- Apply product-manager perspective to topic analysis
|
||||||
- Analyze cost-benefit ratio and ROI projections
|
- Focus on user value, business impact, and market positioning
|
||||||
- Identify key success metrics and KPIs
|
- Use loaded role template framework for analysis structure
|
||||||
- Assess risk factors and mitigation strategies
|
- Generate role-specific deliverables in designated output location
|
||||||
|
- Address all user context from questioning phase
|
||||||
|
|
||||||
3. Market Opportunity Analysis
|
Deliverables:
|
||||||
- Competitive landscape and gap analysis
|
- analysis.md: Main product management analysis
|
||||||
- Market trends and emerging opportunities
|
- recommendations.md: Product strategy recommendations
|
||||||
- Differentiation strategies and unique value propositions
|
- deliverables/: Product-specific outputs as defined in role template
|
||||||
- Go-to-market considerations
|
|
||||||
|
|
||||||
4. Product Strategy Development
|
Embody product-manager role expertise for comprehensive conceptual planning."
|
||||||
- Feature prioritization matrix
|
```
|
||||||
- Product roadmap recommendations
|
|
||||||
- Resource allocation strategies
|
|
||||||
- Implementation timeline and milestones
|
|
||||||
|
|
||||||
OUTPUT REQUIREMENTS: Save comprehensive analysis to:
|
### Progress Tracking
|
||||||
.workflow/WFS-{topic-slug}/.brainstorming/product-manager/
|
TodoWrite tracking for two-step process:
|
||||||
- analysis.md (main product management analysis)
|
```json
|
||||||
- business-case.md (business justification and metrics)
|
[
|
||||||
- user-research.md (user needs and market insights)
|
{"content": "Gather product manager context through role-specific questioning", "status": "in_progress", "activeForm": "Gathering context"},
|
||||||
- roadmap.md (strategic recommendations and timeline)
|
{"content": "Validate context responses and save to product-manager-context.md", "status": "pending", "activeForm": "Validating context"},
|
||||||
|
{"content": "Load product-manager planning template via flow control", "status": "pending", "activeForm": "Loading template"},
|
||||||
Apply product management expertise to generate actionable insights addressing business goals and user needs."
|
{"content": "Execute dedicated conceptual-planning-agent for product-manager role", "status": "pending", "activeForm": "Executing agent"}
|
||||||
|
]
|
||||||
```
|
```
|
||||||
|
|
||||||
## 📊 **Output Specification**
|
## 📊 **Output Specification**
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ Cybersecurity specialist focused on identifying threats, designing security cont
|
|||||||
## 🧠 **Analysis Framework**
|
## 🧠 **Analysis Framework**
|
||||||
|
|
||||||
@~/.claude/workflows/brainstorming-principles.md
|
@~/.claude/workflows/brainstorming-principles.md
|
||||||
@~/.claude/workflows/brainstorming-framework.md
|
|
||||||
|
|
||||||
### Key Analysis Questions
|
### Key Analysis Questions
|
||||||
|
|
||||||
@@ -60,36 +59,97 @@ Cybersecurity specialist focused on identifying threats, designing security cont
|
|||||||
- What monitoring and detection capabilities are required?
|
- What monitoring and detection capabilities are required?
|
||||||
- How should we plan for incident response and recovery?
|
- How should we plan for incident response and recovery?
|
||||||
|
|
||||||
## ⚙️ **Execution Protocol**
|
## ⚡ **Two-Step Execution Flow**
|
||||||
|
|
||||||
### Phase 1: Session Detection & Initialization
|
### ⚠️ Session Management - FIRST STEP
|
||||||
|
Session detection and selection:
|
||||||
```bash
|
```bash
|
||||||
# Detect active workflow session
|
# Check for active sessions
|
||||||
CHECK: .workflow/.active-* marker files
|
active_sessions=$(find .workflow -name ".active-*" 2>/dev/null)
|
||||||
IF active_session EXISTS:
|
if [ multiple_sessions ]; then
|
||||||
session_id = get_active_session()
|
prompt_user_to_select_session()
|
||||||
load_context_from(session_id)
|
else
|
||||||
ELSE:
|
use_existing_or_create_new()
|
||||||
request_user_for_session_creation()
|
fi
|
||||||
```
|
```
|
||||||
|
|
||||||
### Phase 2: Directory Structure Creation
|
### Step 1: Context Gathering Phase
|
||||||
|
**Security Expert Perspective Questioning**
|
||||||
|
|
||||||
|
Before agent assignment, gather comprehensive security context:
|
||||||
|
|
||||||
|
#### 📋 Role-Specific Questions
|
||||||
|
1. **Threat Assessment & Attack Vectors**
|
||||||
|
- Sensitive data types and classification levels?
|
||||||
|
- Known threat actors and attack scenarios?
|
||||||
|
- Current security vulnerabilities and concerns?
|
||||||
|
|
||||||
|
2. **Compliance & Regulatory Requirements**
|
||||||
|
- Applicable compliance standards (GDPR, SOX, HIPAA)?
|
||||||
|
- Industry-specific security requirements?
|
||||||
|
- Audit and reporting obligations?
|
||||||
|
|
||||||
|
3. **Security Architecture & Controls**
|
||||||
|
- Authentication and authorization needs?
|
||||||
|
- Data encryption and protection requirements?
|
||||||
|
- Network security and access control strategy?
|
||||||
|
|
||||||
|
4. **Incident Response & Monitoring**
|
||||||
|
- Security monitoring and detection capabilities?
|
||||||
|
- Incident response procedures and team readiness?
|
||||||
|
- Business continuity and disaster recovery plans?
|
||||||
|
|
||||||
|
#### Context Validation
|
||||||
|
- **Minimum Response**: Each answer must be ≥50 characters
|
||||||
|
- **Re-prompting**: Insufficient detail triggers follow-up questions
|
||||||
|
- **Context Storage**: Save responses to `.brainstorming/security-expert-context.md`
|
||||||
|
|
||||||
|
### Step 2: Agent Assignment with Flow Control
|
||||||
|
**Dedicated Agent Execution**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Create security expert analysis directory
|
Task(conceptual-planning-agent): "
|
||||||
mkdir -p .workflow/WFS-{topic-slug}/.brainstorming/security-expert/
|
[FLOW_CONTROL]
|
||||||
|
|
||||||
|
Execute dedicated security-expert conceptual analysis for: {topic}
|
||||||
|
|
||||||
|
ASSIGNED_ROLE: security-expert
|
||||||
|
OUTPUT_LOCATION: .brainstorming/security-expert/
|
||||||
|
USER_CONTEXT: {validated_responses_from_context_gathering}
|
||||||
|
|
||||||
|
Flow Control Steps:
|
||||||
|
[
|
||||||
|
{
|
||||||
|
\"step\": \"load_role_template\",
|
||||||
|
\"action\": \"Load security-expert planning template\",
|
||||||
|
\"command\": \"bash(~/.claude/scripts/planning-role-load.sh load security-expert)\",
|
||||||
|
\"output_to\": \"role_template\"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
|
Conceptual Analysis Requirements:
|
||||||
|
- Apply security-expert perspective to topic analysis
|
||||||
|
- Focus on threat modeling, security architecture, and risk assessment
|
||||||
|
- Use loaded role template framework for analysis structure
|
||||||
|
- Generate role-specific deliverables in designated output location
|
||||||
|
- Address all user context from questioning phase
|
||||||
|
|
||||||
|
Deliverables:
|
||||||
|
- analysis.md: Main security analysis
|
||||||
|
- recommendations.md: Security recommendations
|
||||||
|
- deliverables/: Security-specific outputs as defined in role template
|
||||||
|
|
||||||
|
Embody security-expert role expertise for comprehensive conceptual planning."
|
||||||
```
|
```
|
||||||
|
|
||||||
### Phase 3: Task Tracking Initialization
|
### Progress Tracking
|
||||||
Initialize security expert perspective analysis tracking:
|
TodoWrite tracking for two-step process:
|
||||||
```json
|
```json
|
||||||
[
|
[
|
||||||
{"content": "Initialize security expert brainstorming session", "status": "completed", "activeForm": "Initializing session"},
|
{"content": "Gather security expert context through role-specific questioning", "status": "in_progress", "activeForm": "Gathering context"},
|
||||||
{"content": "Conduct threat modeling and risk assessment", "status": "in_progress", "activeForm": "Conducting threat modeling"},
|
{"content": "Validate context responses and save to security-expert-context.md", "status": "pending", "activeForm": "Validating context"},
|
||||||
{"content": "Design security architecture and controls", "status": "pending", "activeForm": "Designing security architecture"},
|
{"content": "Load security-expert planning template via flow control", "status": "pending", "activeForm": "Loading template"},
|
||||||
{"content": "Evaluate compliance and regulatory requirements", "status": "pending", "activeForm": "Evaluating compliance"},
|
{"content": "Execute dedicated conceptual-planning-agent for security-expert role", "status": "pending", "activeForm": "Executing agent"}
|
||||||
{"content": "Plan security implementation and integration", "status": "pending", "activeForm": "Planning implementation"},
|
|
||||||
{"content": "Design monitoring and incident response", "status": "pending", "activeForm": "Designing monitoring"},
|
|
||||||
{"content": "Generate comprehensive security documentation", "status": "pending", "activeForm": "Generating documentation"}
|
|
||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ Technical leader responsible for designing scalable, maintainable, and high-perf
|
|||||||
## 🧠 **Analysis Framework**
|
## 🧠 **Analysis Framework**
|
||||||
|
|
||||||
@~/.claude/workflows/brainstorming-principles.md
|
@~/.claude/workflows/brainstorming-principles.md
|
||||||
@~/.claude/workflows/brainstorming-framework.md
|
|
||||||
|
|
||||||
### Key Analysis Questions
|
### Key Analysis Questions
|
||||||
|
|
||||||
@@ -60,90 +59,98 @@ Technical leader responsible for designing scalable, maintainable, and high-perf
|
|||||||
- How should we handle traffic growth and scaling demands?
|
- How should we handle traffic growth and scaling demands?
|
||||||
- What database scaling and optimization strategies are needed?
|
- What database scaling and optimization strategies are needed?
|
||||||
|
|
||||||
## ⚙️ **Execution Protocol**
|
## ⚡ **Two-Step Execution Flow**
|
||||||
|
|
||||||
### Phase 1: Session Detection & Initialization
|
### ⚠️ Session Management - FIRST STEP
|
||||||
|
Session detection and selection:
|
||||||
```bash
|
```bash
|
||||||
# Detect active workflow session
|
# Check for active sessions
|
||||||
CHECK: .workflow/.active-* marker files
|
active_sessions=$(find .workflow -name ".active-*" 2>/dev/null)
|
||||||
IF active_session EXISTS:
|
if [ multiple_sessions ]; then
|
||||||
session_id = get_active_session()
|
prompt_user_to_select_session()
|
||||||
load_context_from(session_id)
|
else
|
||||||
ELSE:
|
use_existing_or_create_new()
|
||||||
request_user_for_session_creation()
|
fi
|
||||||
```
|
```
|
||||||
|
|
||||||
### Phase 2: Directory Structure Creation
|
### Step 1: Context Gathering Phase
|
||||||
```bash
|
**System Architect Perspective Questioning**
|
||||||
# Create system architect analysis directory
|
|
||||||
mkdir -p .workflow/WFS-{topic-slug}/.brainstorming/system-architect/
|
|
||||||
```
|
|
||||||
|
|
||||||
### Phase 3: Task Tracking Initialization
|
Before agent assignment, gather comprehensive system architecture context:
|
||||||
Initialize system architect perspective analysis tracking:
|
|
||||||
```json
|
#### 📋 Role-Specific Questions
|
||||||
[
|
1. **Scale & Performance Requirements**
|
||||||
{"content": "Initialize system architect brainstorming session", "status": "completed", "activeForm": "Initializing session"},
|
- Expected user load and traffic patterns?
|
||||||
{"content": "Analyze current system architecture", "status": "in_progress", "activeForm": "Analyzing architecture"},
|
- Performance requirements (latency, throughput)?
|
||||||
{"content": "Evaluate technical requirements and constraints", "status": "pending", "activeForm": "Evaluating requirements"},
|
- Data volume and growth projections?
|
||||||
{"content": "Design optimal system architecture", "status": "pending", "activeForm": "Designing architecture"},
|
|
||||||
{"content": "Assess scalability and performance", "status": "pending", "activeForm": "Assessing scalability"},
|
2. **Technical Constraints & Environment**
|
||||||
{"content": "Plan technology stack and integration", "status": "pending", "activeForm": "Planning technology"},
|
- Existing technology stack and constraints?
|
||||||
{"content": "Generate comprehensive architecture documentation", "status": "pending", "activeForm": "Generating documentation"}
|
- Integration requirements with external systems?
|
||||||
]
|
- Infrastructure and deployment environment?
|
||||||
```
|
|
||||||
|
3. **Architecture Complexity & Patterns**
|
||||||
|
- Microservices vs monolithic considerations?
|
||||||
|
- Data consistency and transaction requirements?
|
||||||
|
- Event-driven vs request-response patterns?
|
||||||
|
|
||||||
|
4. **Non-Functional Requirements**
|
||||||
|
- High availability and disaster recovery needs?
|
||||||
|
- Security and compliance requirements?
|
||||||
|
- Monitoring and observability expectations?
|
||||||
|
|
||||||
|
#### Context Validation
|
||||||
|
- **Minimum Response**: Each answer must be ≥50 characters
|
||||||
|
- **Re-prompting**: Insufficient detail triggers follow-up questions
|
||||||
|
- **Context Storage**: Save responses to `.brainstorming/system-architect-context.md`
|
||||||
|
|
||||||
|
### Step 2: Agent Assignment with Flow Control
|
||||||
|
**Dedicated Agent Execution**
|
||||||
|
|
||||||
### Phase 4: Conceptual Planning Agent Coordination
|
|
||||||
```bash
|
```bash
|
||||||
Task(conceptual-planning-agent): "
|
Task(conceptual-planning-agent): "
|
||||||
Conduct system architecture perspective brainstorming for: {topic}
|
[FLOW_CONTROL]
|
||||||
|
|
||||||
ROLE CONTEXT: System Architect
|
Execute dedicated system-architect conceptual analysis for: {topic}
|
||||||
- Focus Areas: Technical architecture, scalability, system integration, performance
|
|
||||||
- Analysis Framework: Architecture-first approach with scalability and maintainability focus
|
|
||||||
- Success Metrics: System performance, availability, maintainability, technical debt reduction
|
|
||||||
|
|
||||||
USER CONTEXT: {captured_user_requirements_from_session}
|
ASSIGNED_ROLE: system-architect
|
||||||
|
OUTPUT_LOCATION: .brainstorming/system-architect/
|
||||||
|
USER_CONTEXT: {validated_responses_from_context_gathering}
|
||||||
|
|
||||||
ANALYSIS REQUIREMENTS:
|
Flow Control Steps:
|
||||||
1. Current Architecture Assessment
|
[
|
||||||
- Analyze existing system architecture and identify pain points
|
{
|
||||||
- Evaluate current technology stack effectiveness
|
\"step\": \"load_role_template\",
|
||||||
- Assess technical debt and maintenance overhead
|
\"action\": \"Load system-architect planning template\",
|
||||||
- Identify architectural bottlenecks and limitations
|
\"command\": \"bash(~/.claude/scripts/planning-role-load.sh load system-architect)\",
|
||||||
|
\"output_to\": \"role_template\"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
2. Requirements and Constraints Analysis
|
Conceptual Analysis Requirements:
|
||||||
- Define functional and non-functional requirements
|
- Apply system-architect perspective to topic analysis
|
||||||
- Identify performance, scalability, and availability requirements
|
- Focus on architectural patterns, scalability, and integration points
|
||||||
- Analyze security and compliance constraints
|
- Use loaded role template framework for analysis structure
|
||||||
- Assess resource and budget limitations
|
- Generate role-specific deliverables in designated output location
|
||||||
|
- Address all user context from questioning phase
|
||||||
|
|
||||||
3. Architecture Design and Strategy
|
Deliverables:
|
||||||
- Design optimal system architecture for the given requirements
|
- analysis.md: Main system architecture analysis
|
||||||
- Recommend technology stack and architectural patterns
|
- recommendations.md: Architecture recommendations
|
||||||
- Plan for microservices vs monolithic architecture decisions
|
- deliverables/: Architecture-specific outputs as defined in role template
|
||||||
- Design data architecture and storage strategies
|
|
||||||
|
|
||||||
4. Integration and Scalability Planning
|
Embody system-architect role expertise for comprehensive conceptual planning."
|
||||||
- Design system integration patterns and APIs
|
```
|
||||||
- Plan for horizontal and vertical scaling strategies
|
|
||||||
- Design monitoring, logging, and observability systems
|
|
||||||
- Plan deployment and DevOps strategies
|
|
||||||
|
|
||||||
5. Risk Assessment and Mitigation
|
### Progress Tracking
|
||||||
- Identify technical risks and failure points
|
TodoWrite tracking for two-step process:
|
||||||
- Design fault tolerance and disaster recovery strategies
|
```json
|
||||||
- Plan for security vulnerabilities and mitigations
|
[
|
||||||
- Assess migration risks and strategies
|
{"content": "Gather system architect context through role-specific questioning", "status": "in_progress", "activeForm": "Gathering context"},
|
||||||
|
{"content": "Validate context responses and save to system-architect-context.md", "status": "pending", "activeForm": "Validating context"},
|
||||||
OUTPUT REQUIREMENTS: Save comprehensive analysis to:
|
{"content": "Load system-architect planning template via flow control", "status": "pending", "activeForm": "Loading template"},
|
||||||
.workflow/WFS-{topic-slug}/.brainstorming/system-architect/
|
{"content": "Execute dedicated conceptual-planning-agent for system-architect role", "status": "pending", "activeForm": "Executing agent"}
|
||||||
- analysis.md (main architecture analysis)
|
]
|
||||||
- architecture-design.md (detailed system design and diagrams)
|
|
||||||
- technology-stack.md (technology recommendations and justifications)
|
|
||||||
- integration-plan.md (system integration and API strategies)
|
|
||||||
|
|
||||||
Apply system architecture expertise to generate scalable, maintainable, and performant solutions."
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## 📊 **Output Specification**
|
## 📊 **Output Specification**
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ Creative professional responsible for designing intuitive, accessible, and visua
|
|||||||
## 🧠 **Analysis Framework**
|
## 🧠 **Analysis Framework**
|
||||||
|
|
||||||
@~/.claude/workflows/brainstorming-principles.md
|
@~/.claude/workflows/brainstorming-principles.md
|
||||||
@~/.claude/workflows/brainstorming-framework.md
|
|
||||||
|
|
||||||
### Key Analysis Questions
|
### Key Analysis Questions
|
||||||
|
|
||||||
@@ -60,36 +59,97 @@ Creative professional responsible for designing intuitive, accessible, and visua
|
|||||||
- What responsive design requirements must be addressed?
|
- What responsive design requirements must be addressed?
|
||||||
- How do performance considerations impact user experience?
|
- How do performance considerations impact user experience?
|
||||||
|
|
||||||
## ⚙️ **Execution Protocol**
|
## ⚡ **Two-Step Execution Flow**
|
||||||
|
|
||||||
### Phase 1: Session Detection & Initialization
|
### ⚠️ Session Management - FIRST STEP
|
||||||
|
Session detection and selection:
|
||||||
```bash
|
```bash
|
||||||
# Detect active workflow session
|
# Check for active sessions
|
||||||
CHECK: .workflow/.active-* marker files
|
active_sessions=$(find .workflow -name ".active-*" 2>/dev/null)
|
||||||
IF active_session EXISTS:
|
if [ multiple_sessions ]; then
|
||||||
session_id = get_active_session()
|
prompt_user_to_select_session()
|
||||||
load_context_from(session_id)
|
else
|
||||||
ELSE:
|
use_existing_or_create_new()
|
||||||
request_user_for_session_creation()
|
fi
|
||||||
```
|
```
|
||||||
|
|
||||||
### Phase 2: Directory Structure Creation
|
### Step 1: Context Gathering Phase
|
||||||
|
**UI Designer Perspective Questioning**
|
||||||
|
|
||||||
|
Before agent assignment, gather comprehensive UI/UX design context:
|
||||||
|
|
||||||
|
#### 📋 Role-Specific Questions
|
||||||
|
1. **User Experience & Personas**
|
||||||
|
- Primary user personas and their key characteristics?
|
||||||
|
- Current user pain points and usability issues?
|
||||||
|
- Platform requirements (web, mobile, desktop)?
|
||||||
|
|
||||||
|
2. **Design System & Branding**
|
||||||
|
- Existing design system and brand guidelines?
|
||||||
|
- Visual design preferences and constraints?
|
||||||
|
- Accessibility and compliance requirements?
|
||||||
|
|
||||||
|
3. **User Journey & Interactions**
|
||||||
|
- Key user workflows and task flows?
|
||||||
|
- Critical interaction points and user goals?
|
||||||
|
- Performance and responsive design requirements?
|
||||||
|
|
||||||
|
4. **Implementation & Integration**
|
||||||
|
- Technical constraints and development capabilities?
|
||||||
|
- Integration with existing UI components?
|
||||||
|
- Testing and validation approach?
|
||||||
|
|
||||||
|
#### Context Validation
|
||||||
|
- **Minimum Response**: Each answer must be ≥50 characters
|
||||||
|
- **Re-prompting**: Insufficient detail triggers follow-up questions
|
||||||
|
- **Context Storage**: Save responses to `.brainstorming/ui-designer-context.md`
|
||||||
|
|
||||||
|
### Step 2: Agent Assignment with Flow Control
|
||||||
|
**Dedicated Agent Execution**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Create UI designer analysis directory
|
Task(conceptual-planning-agent): "
|
||||||
mkdir -p .workflow/WFS-{topic-slug}/.brainstorming/ui-designer/
|
[FLOW_CONTROL]
|
||||||
|
|
||||||
|
Execute dedicated ui-designer conceptual analysis for: {topic}
|
||||||
|
|
||||||
|
ASSIGNED_ROLE: ui-designer
|
||||||
|
OUTPUT_LOCATION: .brainstorming/ui-designer/
|
||||||
|
USER_CONTEXT: {validated_responses_from_context_gathering}
|
||||||
|
|
||||||
|
Flow Control Steps:
|
||||||
|
[
|
||||||
|
{
|
||||||
|
\"step\": \"load_role_template\",
|
||||||
|
\"action\": \"Load ui-designer planning template\",
|
||||||
|
\"command\": \"bash(~/.claude/scripts/planning-role-load.sh load ui-designer)\",
|
||||||
|
\"output_to\": \"role_template\"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
|
Conceptual Analysis Requirements:
|
||||||
|
- Apply ui-designer perspective to topic analysis
|
||||||
|
- Focus on user experience, interface design, and interaction patterns
|
||||||
|
- Use loaded role template framework for analysis structure
|
||||||
|
- Generate role-specific deliverables in designated output location
|
||||||
|
- Address all user context from questioning phase
|
||||||
|
|
||||||
|
Deliverables:
|
||||||
|
- analysis.md: Main UI/UX design analysis
|
||||||
|
- recommendations.md: Design recommendations
|
||||||
|
- deliverables/: UI-specific outputs as defined in role template
|
||||||
|
|
||||||
|
Embody ui-designer role expertise for comprehensive conceptual planning."
|
||||||
```
|
```
|
||||||
|
|
||||||
### Phase 3: Task Tracking Initialization
|
### Progress Tracking
|
||||||
Initialize UI designer perspective analysis tracking:
|
TodoWrite tracking for two-step process:
|
||||||
```json
|
```json
|
||||||
[
|
[
|
||||||
{"content": "Initialize UI designer brainstorming session", "status": "completed", "activeForm": "Initializing session"},
|
{"content": "Gather ui-designer context through role-specific questioning", "status": "in_progress", "activeForm": "Gathering context"},
|
||||||
{"content": "Analyze current user experience and pain points", "status": "in_progress", "activeForm": "Analyzing user experience"},
|
{"content": "Validate context responses and save to ui-designer-context.md", "status": "pending", "activeForm": "Validating context"},
|
||||||
{"content": "Design user journey and interaction flows", "status": "pending", "activeForm": "Designing user flows"},
|
{"content": "Load ui-designer planning template via flow control", "status": "pending", "activeForm": "Loading template"},
|
||||||
{"content": "Create visual design concepts and mockups", "status": "pending", "activeForm": "Creating visual concepts"},
|
{"content": "Execute dedicated conceptual-planning-agent for ui-designer role", "status": "pending", "activeForm": "Executing agent"}
|
||||||
{"content": "Evaluate accessibility and usability", "status": "pending", "activeForm": "Evaluating accessibility"},
|
|
||||||
{"content": "Plan responsive design strategy", "status": "pending", "activeForm": "Planning responsive design"},
|
|
||||||
{"content": "Generate comprehensive UI/UX documentation", "status": "pending", "activeForm": "Generating documentation"}
|
|
||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -10,142 +10,152 @@ examples:
|
|||||||
allowed-tools: Task(conceptual-planning-agent), TodoWrite(*)
|
allowed-tools: Task(conceptual-planning-agent), TodoWrite(*)
|
||||||
---
|
---
|
||||||
|
|
||||||
## 🔍 **角色定义: User Researcher**
|
## 🔍 **Role Overview: User Researcher**
|
||||||
|
|
||||||
### 核心职责
|
### Role Definition
|
||||||
- **用户行为研究**: 深度分析用户行为模式和动机
|
User experience research specialist responsible for understanding user behavior, identifying needs and pain points, and transforming research insights into actionable product improvements that enhance user satisfaction and engagement.
|
||||||
- **用户需求发现**: 通过研究发现未满足的用户需求
|
|
||||||
- **可用性评估**: 评估产品的可用性和用户体验问题
|
|
||||||
- **用户洞察生成**: 将研究发现转化为可操作的产品洞察
|
|
||||||
|
|
||||||
### 关注领域
|
### Core Responsibilities
|
||||||
- **用户行为**: 使用模式、决策路径、任务完成方式
|
- **User Behavior Research**: Deep analysis of user behavior patterns and motivations
|
||||||
- **用户需求**: 显性需求、隐性需求、情感需求
|
- **User Needs Discovery**: Research to discover unmet user needs and requirements
|
||||||
- **用户体验**: 痛点、满意度、情感反应、期望值
|
- **Usability Assessment**: Evaluate product usability and user experience issues
|
||||||
- **市场细分**: 用户画像、细分群体、使用场景
|
- **User Insights Generation**: Transform research findings into actionable product insights
|
||||||
|
|
||||||
|
### Focus Areas
|
||||||
|
- **User Behavior**: Usage patterns, decision paths, task completion methods
|
||||||
|
- **User Needs**: Explicit needs, implicit needs, emotional requirements
|
||||||
|
- **User Experience**: Pain points, satisfaction levels, emotional responses, expectations
|
||||||
|
- **Market Segmentation**: User personas, demographic segments, usage scenarios
|
||||||
|
|
||||||
|
### Success Metrics
|
||||||
|
- User satisfaction and engagement scores
|
||||||
|
- Task success rates and completion times
|
||||||
|
- Quality and actionability of research insights
|
||||||
|
- Impact of research on product decisions
|
||||||
|
|
||||||
## 🧠 **分析框架**
|
## 🧠 **分析框架**
|
||||||
|
|
||||||
@~/.claude/workflows/brainstorming-principles.md
|
@~/.claude/workflows/brainstorming-principles.md
|
||||||
@~/.claude/workflows/brainstorming-framework.md
|
|
||||||
|
|
||||||
### 核心分析问题
|
### Key Analysis Questions
|
||||||
1. **用户理解和洞察**:
|
|
||||||
- 目标用户的真实需求和痛点是什么?
|
|
||||||
- 用户的行为模式和使用场景?
|
|
||||||
- 不同用户群体的差异化需求?
|
|
||||||
|
|
||||||
2. **用户体验分析**:
|
**1. User Understanding and Insights**
|
||||||
- 当前用户体验的主要问题?
|
- What are the real needs and pain points of target users?
|
||||||
- 用户任务完成的障碍和摩擦点?
|
- What are the user behavior patterns and usage scenarios?
|
||||||
- 用户满意度和期望差距?
|
- What are the differentiated needs of various user groups?
|
||||||
|
|
||||||
3. **研究方法和验证**:
|
**2. User Experience Analysis**
|
||||||
- 哪些研究方法最适合当前问题?
|
- What are the main issues with the current user experience?
|
||||||
- 如何验证假设和设计决策?
|
- What obstacles and friction points exist in user task completion?
|
||||||
- 如何持续收集用户反馈?
|
- What gaps exist between user satisfaction and expectations?
|
||||||
|
|
||||||
4. **洞察转化和应用**:
|
**3. Research Methods and Validation**
|
||||||
- 研究发现如何转化为产品改进?
|
- Which research methods are most suitable for the current problem?
|
||||||
- 如何影响产品决策和设计?
|
- How can hypotheses and design decisions be validated?
|
||||||
- 如何建立以用户为中心的文化?
|
- How can continuous user feedback be collected?
|
||||||
|
|
||||||
## ⚙️ **执行协议**
|
**4. Insights Translation and Application**
|
||||||
|
- How can research findings be translated into product improvements?
|
||||||
|
- How can product decisions and design be influenced?
|
||||||
|
- How can a user-centered culture be established?
|
||||||
|
|
||||||
### Phase 1: 会话检测与初始化
|
## ⚡ **Two-Step Execution Flow**
|
||||||
|
|
||||||
|
### ⚠️ Session Management - FIRST STEP
|
||||||
|
Session detection and selection:
|
||||||
```bash
|
```bash
|
||||||
# 自动检测活动会话
|
# Check for active sessions
|
||||||
CHECK: .workflow/.active-* marker files
|
active_sessions=$(find .workflow -name ".active-*" 2>/dev/null)
|
||||||
IF active_session EXISTS:
|
if [ multiple_sessions ]; then
|
||||||
session_id = get_active_session()
|
prompt_user_to_select_session()
|
||||||
load_context_from(session_id)
|
else
|
||||||
ELSE:
|
use_existing_or_create_new()
|
||||||
request_user_for_session_creation()
|
fi
|
||||||
```
|
```
|
||||||
|
|
||||||
### Phase 2: 目录结构创建
|
### Step 1: Context Gathering Phase
|
||||||
```bash
|
**User Researcher Perspective Questioning**
|
||||||
# 创建用户研究员分析目录
|
|
||||||
mkdir -p .workflow/WFS-{topic-slug}/.brainstorming/user-researcher/
|
|
||||||
```
|
|
||||||
|
|
||||||
### Phase 3: TodoWrite 初始化
|
Before agent assignment, gather comprehensive user researcher context:
|
||||||
设置用户研究员视角分析的任务跟踪:
|
|
||||||
```json
|
#### 📋 Role-Specific Questions
|
||||||
[
|
|
||||||
{"content": "Initialize user researcher brainstorming session", "status": "completed", "activeForm": "Initializing session"},
|
**1. User Behavior Patterns and Insights**
|
||||||
{"content": "Analyze user behavior patterns and motivations", "status": "in_progress", "activeForm": "Analyzing user behavior"},
|
- Who are the primary users and what are their key characteristics?
|
||||||
{"content": "Identify user needs and pain points", "status": "pending", "activeForm": "Identifying user needs"},
|
- What user behaviors, patterns, or pain points have you observed?
|
||||||
{"content": "Evaluate current user experience", "status": "pending", "activeForm": "Evaluating user experience"},
|
- Are there specific user segments or personas you're particularly interested in?
|
||||||
{"content": "Design user research methodology", "status": "pending", "activeForm": "Designing research methodology"},
|
- What user feedback or data do you already have available?
|
||||||
{"content": "Generate user insights and recommendations", "status": "pending", "activeForm": "Generating insights"},
|
|
||||||
{"content": "Create comprehensive user research documentation", "status": "pending", "activeForm": "Creating documentation"}
|
**2. Research Focus and Pain Points**
|
||||||
]
|
- What specific user experience problems or questions need to be addressed?
|
||||||
```
|
- Are there particular user tasks, workflows, or touchpoints to focus on?
|
||||||
|
- What assumptions about users need to be validated or challenged?
|
||||||
|
- What gaps exist in your current understanding of user needs?
|
||||||
|
|
||||||
|
**3. Research Context and Constraints**
|
||||||
|
- What research has been done previously and what were the key findings?
|
||||||
|
- Are there specific research methods you prefer or want to avoid?
|
||||||
|
- What timeline and resources are available for user research?
|
||||||
|
- Who are the key stakeholders that need to understand user insights?
|
||||||
|
|
||||||
|
**4. User Testing Strategy and Goals**
|
||||||
|
- What specific user experience improvements are you hoping to achieve?
|
||||||
|
- How do you currently measure user satisfaction or success?
|
||||||
|
- Are there competitive products or experiences you want to benchmark against?
|
||||||
|
- What would successful user research outcomes look like for this project?
|
||||||
|
|
||||||
|
#### Context Validation
|
||||||
|
- **Minimum Response**: Each answer must be ≥50 characters
|
||||||
|
- **Re-prompting**: Insufficient detail triggers follow-up questions
|
||||||
|
- **Context Storage**: Save responses to `.brainstorming/user-researcher-context.md`
|
||||||
|
|
||||||
|
### Step 2: Agent Assignment with Flow Control
|
||||||
|
**Dedicated Agent Execution**
|
||||||
|
|
||||||
### Phase 4: 概念规划代理协调
|
|
||||||
```bash
|
```bash
|
||||||
Task(conceptual-planning-agent): "
|
Task(conceptual-planning-agent): "
|
||||||
Conduct user researcher perspective brainstorming for: {topic}
|
[FLOW_CONTROL]
|
||||||
|
|
||||||
ROLE CONTEXT: User Researcher
|
Execute dedicated user researcher conceptual analysis for: {topic}
|
||||||
- Focus Areas: User behavior analysis, needs discovery, usability assessment, research methodology
|
|
||||||
- Analysis Framework: Human-centered research approach with emphasis on behavioral insights
|
|
||||||
- Success Metrics: User satisfaction, task success rates, insight quality, research impact
|
|
||||||
|
|
||||||
USER CONTEXT: {captured_user_requirements_from_session}
|
ASSIGNED_ROLE: user-researcher
|
||||||
|
OUTPUT_LOCATION: .brainstorming/user-researcher/
|
||||||
|
USER_CONTEXT: {validated_responses_from_context_gathering}
|
||||||
|
|
||||||
ANALYSIS REQUIREMENTS:
|
Flow Control Steps:
|
||||||
1. User Behavior Analysis
|
[
|
||||||
- Analyze current user behavior patterns and usage data
|
{
|
||||||
- Identify user decision-making processes and mental models
|
\"step\": \"load_role_template\",
|
||||||
- Map user journeys and touchpoint interactions
|
\"action\": \"Load user-researcher planning template\",
|
||||||
- Assess user motivations and goals across different scenarios
|
\"command\": \"bash(~/.claude/scripts/planning-role-load.sh load user-researcher)\",
|
||||||
- Identify behavioral segments and usage patterns
|
\"output_to\": \"role_template\"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
2. User Needs and Pain Points Discovery
|
Conceptual Analysis Requirements:
|
||||||
- Conduct gap analysis between user needs and current solutions
|
- Apply user researcher perspective to topic analysis
|
||||||
- Identify unmet needs and latent requirements
|
- Focus on user behavior patterns, pain points, research insights, and user testing strategy
|
||||||
- Analyze user feedback and support data for pain points
|
- Use loaded role template framework for analysis structure
|
||||||
- Map emotional user journey and frustration points
|
- Generate role-specific deliverables in designated output location
|
||||||
- Prioritize needs based on user impact and frequency
|
- Address all user context from questioning phase
|
||||||
|
|
||||||
3. Usability and Experience Assessment
|
Deliverables:
|
||||||
- Evaluate current user experience against best practices
|
- analysis.md: Main user researcher analysis
|
||||||
- Identify usability heuristics violations and UX issues
|
- recommendations.md: User researcher recommendations
|
||||||
- Assess cognitive load and task completion efficiency
|
- deliverables/: User researcher-specific outputs as defined in role template
|
||||||
- Analyze accessibility barriers and inclusive design gaps
|
|
||||||
- Evaluate user satisfaction and Net Promoter Score trends
|
|
||||||
|
|
||||||
4. User Segmentation and Personas
|
Embody user researcher role expertise for comprehensive conceptual planning."
|
||||||
- Define user segments based on behavior and needs
|
```
|
||||||
- Create detailed user personas with goals and contexts
|
|
||||||
- Map user scenarios and use case variations
|
|
||||||
- Analyze demographic and psychographic factors
|
|
||||||
- Identify key user archetypes and edge cases
|
|
||||||
|
|
||||||
5. Research Methodology Design
|
### Progress Tracking
|
||||||
- Recommend appropriate research methods (qualitative/quantitative)
|
TodoWrite tracking for two-step process:
|
||||||
- Design user interview guides and survey instruments
|
```json
|
||||||
- Plan usability testing scenarios and success metrics
|
[
|
||||||
- Design A/B testing strategies for key hypotheses
|
{"content": "Gather user researcher context through role-specific questioning", "status": "in_progress", "activeForm": "Gathering context"},
|
||||||
- Plan longitudinal research and continuous feedback loops
|
{"content": "Validate context responses and save to user-researcher-context.md", "status": "pending", "activeForm": "Validating context"},
|
||||||
|
{"content": "Load user-researcher planning template via flow control", "status": "pending", "activeForm": "Loading template"},
|
||||||
6. Insights Generation and Validation
|
{"content": "Execute dedicated conceptual-planning-agent for user-researcher role", "status": "pending", "activeForm": "Executing agent"}
|
||||||
- Synthesize research findings into actionable insights
|
]
|
||||||
- Identify opportunity areas and innovation potential
|
|
||||||
- Validate assumptions and hypotheses with evidence
|
|
||||||
- Prioritize insights based on business and user impact
|
|
||||||
- Create research-backed design principles and guidelines
|
|
||||||
|
|
||||||
OUTPUT REQUIREMENTS: Save comprehensive analysis to:
|
|
||||||
.workflow/WFS-{topic-slug}/.brainstorming/user-researcher/
|
|
||||||
- analysis.md (main user research analysis)
|
|
||||||
- user-personas.md (detailed user personas and segments)
|
|
||||||
- research-plan.md (methodology and research approach)
|
|
||||||
- insights-recommendations.md (key findings and actionable recommendations)
|
|
||||||
|
|
||||||
Apply user research expertise to generate deep user understanding and actionable insights."
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## 📊 **输出结构**
|
## 📊 **输出结构**
|
||||||
|
|||||||
@@ -110,22 +110,50 @@ blocked → skip until dependencies clear
|
|||||||
3. **Immediate Updates**: Update status after each task completion
|
3. **Immediate Updates**: Update status after each task completion
|
||||||
4. **Status Synchronization**: Sync with JSON task files after updates
|
4. **Status Synchronization**: Sync with JSON task files after updates
|
||||||
|
|
||||||
#### TodoWrite Template
|
#### TodoWrite Tool Usage
|
||||||
```markdown
|
**Use Claude Code's built-in TodoWrite tool** to track workflow progress in real-time:
|
||||||
# Workflow Execute Progress
|
|
||||||
*Session: WFS-[topic-slug]*
|
|
||||||
|
|
||||||
- [⚠️] **IMPL-1.1**: [code-developer] [FLOW_CONTROL] Design auth schema
|
```javascript
|
||||||
- [ ] **IMPL-1.2**: [code-developer] [FLOW_CONTROL] Implement auth logic
|
// Create initial todo list from discovered pending tasks
|
||||||
- [ ] **IMPL-2**: [code-review-agent] Review implementations
|
TodoWrite({
|
||||||
|
todos: [
|
||||||
|
{
|
||||||
|
content: "Execute IMPL-1.1: Design auth schema [code-developer] [FLOW_CONTROL]",
|
||||||
|
status: "pending",
|
||||||
|
activeForm: "Executing IMPL-1.1: Design auth schema"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
content: "Execute IMPL-1.2: Implement auth logic [code-developer] [FLOW_CONTROL]",
|
||||||
|
status: "pending",
|
||||||
|
activeForm: "Executing IMPL-1.2: Implement auth logic"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
content: "Execute IMPL-2: Review implementations [code-review-agent]",
|
||||||
|
status: "pending",
|
||||||
|
activeForm: "Executing IMPL-2: Review implementations"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
});
|
||||||
|
|
||||||
**Status Legend**:
|
// Update status as tasks progress - ONLY ONE task should be in_progress at a time
|
||||||
- [ ] = Pending task
|
TodoWrite({
|
||||||
- [⚠️] = Currently in progress
|
todos: [
|
||||||
- [✅] = Completed task
|
{
|
||||||
- [FLOW_CONTROL] = Requires pre-analysis step execution
|
content: "Execute IMPL-1.1: Design auth schema [code-developer] [FLOW_CONTROL]",
|
||||||
|
status: "in_progress", // Mark current task as in_progress
|
||||||
|
activeForm: "Executing IMPL-1.1: Design auth schema"
|
||||||
|
},
|
||||||
|
// ... other tasks remain pending
|
||||||
|
]
|
||||||
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**TodoWrite Integration Rules**:
|
||||||
|
- **Real-time Updates**: Use TodoWrite tool for immediate progress tracking
|
||||||
|
- **Single Active Task**: Only ONE task marked as `in_progress` at any time
|
||||||
|
- **Immediate Completion**: Mark tasks `completed` immediately after finishing
|
||||||
|
- **Status Sync**: Sync TodoWrite status with JSON task files after each update
|
||||||
|
|
||||||
#### Update Timing
|
#### Update Timing
|
||||||
- **Before Agent Launch**: Mark task as `in_progress` (⚠️)
|
- **Before Agent Launch**: Mark task as `in_progress` (⚠️)
|
||||||
- **After Task Complete**: Mark as `completed` (✅), advance to next
|
- **After Task Complete**: Mark as `completed` (✅), advance to next
|
||||||
|
|||||||
72
.claude/scripts/planning-role-load.sh
Normal file
72
.claude/scripts/planning-role-load.sh
Normal file
@@ -0,0 +1,72 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# Planning Role Template Accessor - Role template content access utility
|
||||||
|
# Usage: ./planning-role-load.sh list|load <role-name>
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# Configuration
|
||||||
|
CLAUDE_DIR="$HOME/.claude"
|
||||||
|
PLANNING_ROLES_DIR="$CLAUDE_DIR/workflows/cli-templates/planning-roles"
|
||||||
|
|
||||||
|
# Parse command line arguments
|
||||||
|
COMMAND="$1"
|
||||||
|
ROLE_NAME="$2"
|
||||||
|
|
||||||
|
# Function to list available planning roles
|
||||||
|
list_roles() {
|
||||||
|
echo "Available planning roles:"
|
||||||
|
echo "========================="
|
||||||
|
for role_file in "$PLANNING_ROLES_DIR"/*.md; do
|
||||||
|
if [[ -f "$role_file" ]]; then
|
||||||
|
local name=$(basename "$role_file" .md)
|
||||||
|
if [[ "$name" != "README" ]]; then
|
||||||
|
local desc=$(grep "description:" "$role_file" | cut -d':' -f2- | sed 's/^ *//')
|
||||||
|
printf "%-20s %s\n" "$name" "$desc"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
echo ""
|
||||||
|
}
|
||||||
|
|
||||||
|
# Function to load planning role template
|
||||||
|
load_role() {
|
||||||
|
local role_name="$1"
|
||||||
|
local role_file="$PLANNING_ROLES_DIR/$role_name.md"
|
||||||
|
|
||||||
|
if [[ -f "$role_file" ]]; then
|
||||||
|
cat "$role_file"
|
||||||
|
return 0
|
||||||
|
else
|
||||||
|
echo "Error: Planning role file not found: $role_file" >&2
|
||||||
|
echo "Available roles:" >&2
|
||||||
|
for role in "$PLANNING_ROLES_DIR"/*.md; do
|
||||||
|
if [[ -f "$role" ]]; then
|
||||||
|
echo " - $(basename "$role" .md)" >&2
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# Main execution
|
||||||
|
case "$COMMAND" in
|
||||||
|
"list")
|
||||||
|
list_roles
|
||||||
|
;;
|
||||||
|
"load")
|
||||||
|
if [[ -z "$ROLE_NAME" ]]; then
|
||||||
|
echo "Error: Role name is required for load command" >&2
|
||||||
|
echo "Usage: $0 load <role-name>" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
load_role "$ROLE_NAME"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "Error: Unknown command: $COMMAND" >&2
|
||||||
|
echo "Usage: $0 {list|load} [role-name]" >&2
|
||||||
|
echo "Commands:" >&2
|
||||||
|
echo " list - List available planning roles" >&2
|
||||||
|
echo " load <name> - Load planning role template content" >&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
@@ -1,169 +0,0 @@
|
|||||||
# Brainstorming Framework
|
|
||||||
|
|
||||||
## Overview
|
|
||||||
Common creative techniques, execution modes, and quality standards for all brainstorming sessions.
|
|
||||||
|
|
||||||
## Creative Techniques
|
|
||||||
|
|
||||||
### SCAMPER Method
|
|
||||||
- **Substitute**: What can be substituted or replaced?
|
|
||||||
- **Combine**: What can be combined or merged?
|
|
||||||
- **Adapt**: What can be adapted from elsewhere?
|
|
||||||
- **Modify**: What can be magnified, minimized, or modified?
|
|
||||||
- **Put to other uses**: How else can this be used?
|
|
||||||
- **Eliminate**: What can be removed or simplified?
|
|
||||||
- **Reverse**: What can be rearranged or reversed?
|
|
||||||
|
|
||||||
### Six Thinking Hats
|
|
||||||
- **White Hat**: Facts, information, data
|
|
||||||
- **Red Hat**: Emotions, feelings, intuition
|
|
||||||
- **Black Hat**: Critical judgment, caution, problems
|
|
||||||
- **Yellow Hat**: Optimism, benefits, positive thinking
|
|
||||||
- **Green Hat**: Creativity, alternatives, new ideas
|
|
||||||
- **Blue Hat**: Process control, meta-thinking
|
|
||||||
|
|
||||||
### Additional Techniques
|
|
||||||
- **Mind Mapping**: Visual idea exploration and connection
|
|
||||||
- **Brainstorming**: Free-flowing idea generation
|
|
||||||
- **Brainwriting**: Silent idea generation and building
|
|
||||||
- **Random Word**: Stimulus-based creative thinking
|
|
||||||
- **What If**: Scenario-based exploration
|
|
||||||
- **Assumption Challenging**: Question fundamental assumptions
|
|
||||||
|
|
||||||
## Execution Modes
|
|
||||||
|
|
||||||
### Creative Mode (Default)
|
|
||||||
- **Techniques**: SCAMPER, Six Thinking Hats, wild ideas
|
|
||||||
- **Focus**: Innovation and unconventional solutions
|
|
||||||
- **Approach**:
|
|
||||||
- Emphasize divergent thinking and wild ideas
|
|
||||||
- Apply creative techniques extensively
|
|
||||||
- Encourage "what if" thinking and assumption challenging
|
|
||||||
- Focus on novel and unconventional solutions
|
|
||||||
|
|
||||||
### Analytical Mode
|
|
||||||
- **Techniques**: Root cause analysis, data-driven insights
|
|
||||||
- **Focus**: Evidence-based systematic problem-solving
|
|
||||||
- **Approach**:
|
|
||||||
- Use structured analysis frameworks
|
|
||||||
- Apply root cause analysis and logical thinking
|
|
||||||
- Emphasize evidence-based reasoning
|
|
||||||
- Focus on systematic problem-solving
|
|
||||||
|
|
||||||
### Strategic Mode
|
|
||||||
- **Techniques**: Systems thinking, scenario planning
|
|
||||||
- **Focus**: Long-term strategic positioning
|
|
||||||
- **Approach**:
|
|
||||||
- Apply strategic thinking frameworks
|
|
||||||
- Use systems thinking and long-term perspective
|
|
||||||
- Consider competitive dynamics and market forces
|
|
||||||
- Focus on strategic positioning and advantage
|
|
||||||
|
|
||||||
## Brainstorming Session Protocol
|
|
||||||
|
|
||||||
### Input Processing
|
|
||||||
```
|
|
||||||
Topic: [Challenge or opportunity description]
|
|
||||||
Mode: [creative|analytical|strategic]
|
|
||||||
Perspectives: [Selected role perspectives]
|
|
||||||
Context: [Current situation and constraints]
|
|
||||||
```
|
|
||||||
|
|
||||||
### Execution Flow
|
|
||||||
```
|
|
||||||
1. Challenge Analysis → Define scope, constraints, success criteria
|
|
||||||
2. Perspective Setup → Establish role contexts and viewpoints
|
|
||||||
3. Ideation Phase → Generate ideas using appropriate techniques
|
|
||||||
4. Convergence Phase → Evaluate, synthesize, prioritize solutions
|
|
||||||
5. Documentation → Create structured session records
|
|
||||||
```
|
|
||||||
|
|
||||||
## Documentation Standards
|
|
||||||
|
|
||||||
### Session Summary Generation
|
|
||||||
Generate comprehensive session documentation including:
|
|
||||||
- Session metadata and configuration
|
|
||||||
- Challenge definition and scope
|
|
||||||
- Key insights and patterns
|
|
||||||
- Generated ideas with descriptions
|
|
||||||
- Perspective analysis from each role
|
|
||||||
- Evaluation and prioritization
|
|
||||||
- Recommendations and next steps
|
|
||||||
|
|
||||||
### Idea Documentation
|
|
||||||
For each significant idea, create detailed documentation:
|
|
||||||
- Concept description and core mechanism
|
|
||||||
- Multi-perspective analysis and implications
|
|
||||||
- Feasibility assessment (technical, resource, timeline)
|
|
||||||
- Impact potential (user, business, technical)
|
|
||||||
- Implementation considerations and prerequisites
|
|
||||||
- Success metrics and validation approach
|
|
||||||
- Risk assessment and mitigation strategies
|
|
||||||
|
|
||||||
## Output Format Standards
|
|
||||||
|
|
||||||
### Brainstorming Session Output
|
|
||||||
```
|
|
||||||
BRAINSTORMING_SUMMARY: [Comprehensive session overview]
|
|
||||||
CHALLENGE_DEFINITION: [Clear problem space definition]
|
|
||||||
KEY_INSIGHTS: [Major discoveries and patterns]
|
|
||||||
IDEA_INVENTORY: [Structured list of all generated ideas]
|
|
||||||
TOP_CONCEPTS: [5 most promising solutions with analysis]
|
|
||||||
PERSPECTIVE_SYNTHESIS: [Integration of role-based insights]
|
|
||||||
FEASIBILITY_ASSESSMENT: [Technical and resource evaluation]
|
|
||||||
IMPACT_ANALYSIS: [Expected outcomes and benefits]
|
|
||||||
RECOMMENDATIONS: [Prioritized next steps and actions]
|
|
||||||
WORKFLOW_INTEGRATION: [If applicable, workflow handoff preparation]
|
|
||||||
```
|
|
||||||
|
|
||||||
### Multi-Role Analysis Output
|
|
||||||
```
|
|
||||||
ROLE_COORDINATION: [How perspectives were integrated]
|
|
||||||
PERSPECTIVE_INSIGHTS: [Key insights from each role]
|
|
||||||
SYNTHESIS_RESULTS: [Combined perspective analysis]
|
|
||||||
CONFLICT_RESOLUTION: [How role conflicts were addressed]
|
|
||||||
COMPREHENSIVE_COVERAGE: [Confirmation all aspects considered]
|
|
||||||
```
|
|
||||||
|
|
||||||
## Quality Standards
|
|
||||||
|
|
||||||
### Effective Session Facilitation
|
|
||||||
- **Clear Structure** → Follow defined phases and maintain session flow
|
|
||||||
- **Inclusive Participation** → Ensure all perspectives are heard and valued
|
|
||||||
- **Creative Environment** → Maintain judgment-free ideation atmosphere
|
|
||||||
- **Productive Tension** → Balance creativity with practical constraints
|
|
||||||
- **Actionable Outcomes** → Generate concrete next steps and recommendations
|
|
||||||
|
|
||||||
### Perspective Integration
|
|
||||||
- **Authentic Representation** → Accurately channel each role's mental models
|
|
||||||
- **Balanced Coverage** → Give appropriate attention to all perspectives
|
|
||||||
- **Constructive Synthesis** → Combine insights into stronger solutions
|
|
||||||
- **Conflict Navigation** → Address perspective tensions constructively
|
|
||||||
- **Comprehensive Analysis** → Ensure no critical aspects are overlooked
|
|
||||||
|
|
||||||
### Documentation Quality
|
|
||||||
- **Structured Capture** → Organize insights and ideas systematically
|
|
||||||
- **Clear Communication** → Present complex ideas in accessible format
|
|
||||||
- **Decision Support** → Provide frameworks for evaluating options
|
|
||||||
- **Implementation Ready** → Prepare outputs for next development phases
|
|
||||||
- **Traceability** → Maintain clear links between ideas and analysis
|
|
||||||
|
|
||||||
## Integration Guidelines
|
|
||||||
|
|
||||||
### With Brainstorming Principles
|
|
||||||
This framework works in conjunction with @~/.claude/workflows/brainstorming-principles.md which defines:
|
|
||||||
- Project structure establishment
|
|
||||||
- Session initialization requirements
|
|
||||||
- Directory creation protocols
|
|
||||||
- Agent coordination standards
|
|
||||||
|
|
||||||
### With Role Commands
|
|
||||||
Each role-specific brainstorm command implements this framework within their domain context:
|
|
||||||
- Applies appropriate techniques for their perspective
|
|
||||||
- Uses mode selection based on problem type
|
|
||||||
- Follows documentation standards
|
|
||||||
- Maintains quality criteria
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
This framework provides the common foundation for all brainstorming activities while allowing role-specific customization and focus.
|
|
||||||
@@ -3,177 +3,80 @@
|
|||||||
## Core Philosophy
|
## Core Philosophy
|
||||||
**"Diverge first, then converge"** - Generate multiple solutions from diverse perspectives, then synthesize and prioritize.
|
**"Diverge first, then converge"** - Generate multiple solutions from diverse perspectives, then synthesize and prioritize.
|
||||||
|
|
||||||
## Project Structure Establishment (MANDATORY FIRST STEP)
|
## Creative Techniques Reference
|
||||||
|
|
||||||
### Automatic Directory Creation
|
### SCAMPER Method
|
||||||
Before ANY agent coordination begins, the brainstorming command MUST establish the complete project structure:
|
- **Substitute**: What can be substituted or replaced?
|
||||||
|
- **Combine**: What can be combined or merged?
|
||||||
|
- **Adapt**: What can be adapted from elsewhere?
|
||||||
|
- **Modify**: What can be magnified, minimized, or modified?
|
||||||
|
- **Put to other uses**: How else can this be used?
|
||||||
|
- **Eliminate**: What can be removed or simplified?
|
||||||
|
- **Reverse**: What can be rearranged or reversed?
|
||||||
|
|
||||||
1. **Create Session Directory**:
|
### Six Thinking Hats
|
||||||
```bash
|
- **White Hat**: Facts, information, data
|
||||||
mkdir -p .workflow/WFS-[topic-slug]/.brainstorming/
|
- **Red Hat**: Emotions, feelings, intuition
|
||||||
```
|
- **Black Hat**: Critical judgment, caution, problems
|
||||||
|
- **Yellow Hat**: Optimism, benefits, positive thinking
|
||||||
|
- **Green Hat**: Creativity, alternatives, new ideas
|
||||||
|
- **Blue Hat**: Process control, meta-thinking
|
||||||
|
|
||||||
2. **Create Agent Output Directories**:
|
### Additional Techniques
|
||||||
```bash
|
- **Mind Mapping**: Visual idea exploration and connection
|
||||||
# Create directories ONLY for selected participating agent roles
|
- **Brainwriting**: Silent idea generation and building
|
||||||
mkdir -p .workflow/WFS-[topic-slug]/.brainstorming/{selected-agent1,selected-agent2,selected-agent3}
|
- **Random Word**: Stimulus-based creative thinking
|
||||||
# Example: mkdir -p .workflow/WFS-user-auth/.brainstorming/{system-architect,ui-designer,product-manager}
|
- **Assumption Challenging**: Question fundamental assumptions
|
||||||
```
|
|
||||||
|
|
||||||
3. **Initialize Session State**:
|
## Analysis Modes
|
||||||
- Create workflow-session.json with brainstorming phase tracking
|
|
||||||
- Set up document reference structure
|
|
||||||
- Establish agent coordination metadata
|
|
||||||
|
|
||||||
### Pre-Agent Verification
|
|
||||||
Before delegating to @conceptual-planning-agent, VERIFY:
|
|
||||||
- [ ] Topic slug generated correctly
|
|
||||||
- [ ] All required directories exist
|
|
||||||
- [ ] workflow-session.json initialized
|
|
||||||
- [ ] Agent roles selected and corresponding directories created
|
|
||||||
|
|
||||||
## Brainstorming Modes
|
|
||||||
|
|
||||||
### Creative Mode (Default)
|
### Creative Mode (Default)
|
||||||
- **Techniques**: SCAMPER, Six Thinking Hats, wild ideas
|
|
||||||
- **Focus**: Innovation and unconventional solutions
|
- **Focus**: Innovation and unconventional solutions
|
||||||
|
- **Approach**: Emphasize divergent thinking, "what if" scenarios, assumption challenging
|
||||||
|
|
||||||
### Analytical Mode
|
### Analytical Mode
|
||||||
- **Techniques**: Root cause analysis, data-driven insights
|
|
||||||
- **Focus**: Evidence-based systematic problem-solving
|
- **Focus**: Evidence-based systematic problem-solving
|
||||||
|
- **Approach**: Structured analysis, root cause analysis, logical reasoning
|
||||||
|
|
||||||
### Strategic Mode
|
### Strategic Mode
|
||||||
- **Techniques**: Systems thinking, scenario planning
|
|
||||||
- **Focus**: Long-term strategic positioning
|
- **Focus**: Long-term strategic positioning
|
||||||
|
- **Approach**: Systems thinking, competitive dynamics, market forces
|
||||||
|
|
||||||
## Documentation Structure
|
## Documentation Standards
|
||||||
|
|
||||||
### Workflow Integration
|
|
||||||
Brainstorming sessions are integrated with the unified workflow system under `.workflow/WFS-[topic-slug]/.brainstorming/`.
|
|
||||||
|
|
||||||
**Directory Creation**: If `.workflow/WFS-[topic-slug]/` doesn't exist, create it automatically before starting brainstorming.
|
|
||||||
|
|
||||||
**Topic Slug Format**: Convert topic to lowercase with hyphens (e.g., "User Authentication System" → `WFS-user-authentication-system`)
|
|
||||||
|
|
||||||
|
### Session Output Format
|
||||||
```
|
```
|
||||||
.workflow/WFS-[topic-slug]/
|
CHALLENGE_DEFINITION: Clear problem space definition
|
||||||
└── .brainstorming/
|
KEY_INSIGHTS: Major discoveries and patterns
|
||||||
├── session-summary.md # Main session documentation
|
TOP_CONCEPTS: 5 most promising solutions with analysis
|
||||||
├── synthesis-analysis.md # Cross-role integration
|
PERSPECTIVE_SYNTHESIS: Integration of role-based insights
|
||||||
├── recommendations.md # Prioritized solutions
|
FEASIBILITY_ASSESSMENT: Technical and resource evaluation
|
||||||
├── system-architect/ # Architecture perspective
|
RECOMMENDATIONS: Prioritized next steps and actions
|
||||||
│ ├── analysis.md
|
|
||||||
│ └── technical-specifications.md
|
|
||||||
├── ui-designer/ # Design perspective
|
|
||||||
│ ├── analysis.md
|
|
||||||
│ └── user-experience-plan.md
|
|
||||||
├── product-manager/ # Product perspective
|
|
||||||
│ ├── analysis.md
|
|
||||||
│ └── business-requirements.md
|
|
||||||
├── data-architect/ # Data perspective
|
|
||||||
│ ├── analysis.md
|
|
||||||
│ └── data-model-design.md
|
|
||||||
├── test-strategist/ # Testing perspective
|
|
||||||
│ ├── analysis.md
|
|
||||||
│ └── test-strategy-plan.md
|
|
||||||
├── security-expert/ # Security perspective
|
|
||||||
│ ├── analysis.md
|
|
||||||
│ └── security-assessment.md
|
|
||||||
├── user-researcher/ # User research perspective
|
|
||||||
│ ├── analysis.md
|
|
||||||
│ └── user-insights.md
|
|
||||||
├── business-analyst/ # Business analysis perspective
|
|
||||||
│ ├── analysis.md
|
|
||||||
│ └── process-optimization.md
|
|
||||||
├── innovation-lead/ # Innovation perspective
|
|
||||||
│ ├── analysis.md
|
|
||||||
│ └── future-roadmap.md
|
|
||||||
└── feature-planner/ # Feature planning perspective
|
|
||||||
├── analysis.md
|
|
||||||
└── feature-specifications.md
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Session Metadata
|
### Idea Documentation
|
||||||
Each brainstorming session maintains metadata in `session-summary.md` header:
|
For each significant concept:
|
||||||
|
- Core mechanism and description
|
||||||
```markdown
|
- Multi-perspective implications
|
||||||
# Brainstorming Session: [Topic]
|
- Feasibility assessment (technical, resource, timeline)
|
||||||
|
- Impact potential and success metrics
|
||||||
**Session ID**: WFS-[topic-slug]
|
- Implementation considerations
|
||||||
**Topic**: [Challenge description]
|
- Risk assessment and mitigation
|
||||||
**Mode**: creative|analytical|strategic
|
|
||||||
**Perspectives**: [role1, role2, role3...]
|
|
||||||
**Facilitator**: @conceptual-planning-agent
|
|
||||||
**Date**: YYYY-MM-DD
|
|
||||||
|
|
||||||
## Session Overview
|
|
||||||
[Brief session description and objectives]
|
|
||||||
```
|
|
||||||
|
|
||||||
## Quality Standards
|
## Quality Standards
|
||||||
|
|
||||||
|
### Session Excellence
|
||||||
- **Clear Structure**: Follow Explore → Ideate → Converge → Document phases
|
- **Clear Structure**: Follow Explore → Ideate → Converge → Document phases
|
||||||
- **Diverse Perspectives**: Include multiple role viewpoints
|
- **Inclusive Participation**: Ensure all perspectives are valued
|
||||||
- **Actionable Outputs**: Generate concrete next steps
|
- **Creative Environment**: Maintain judgment-free ideation atmosphere
|
||||||
- **Comprehensive Documentation**: Capture all insights and recommendations
|
- **Actionable Outcomes**: Generate concrete next steps
|
||||||
|
|
||||||
## Unified Workflow Integration
|
### Perspective Integration
|
||||||
|
- **Authentic Representation**: Accurately channel each role's mental models
|
||||||
|
- **Constructive Synthesis**: Combine insights into stronger solutions
|
||||||
|
- **Conflict Navigation**: Address perspective tensions constructively
|
||||||
|
- **Comprehensive Coverage**: Ensure no critical aspects overlooked
|
||||||
|
|
||||||
### Document-State Separation
|
---
|
||||||
Following unified workflow system principles:
|
|
||||||
- **Markdown Files** → Brainstorming insights, role analyses, synthesis results
|
|
||||||
- **JSON Files** → Session state, role completion tracking, workflow coordination
|
|
||||||
- **Auto-sync** → Integration with `workflow-session.json` for seamless workflow transition
|
|
||||||
|
|
||||||
### Session Coordination
|
This framework provides the conceptual foundation for brainstorming activities. Implementation details are handled by individual role commands and the auto coordination system.
|
||||||
Brainstorming sessions integrate with the unified workflow system:
|
|
||||||
|
|
||||||
```json
|
|
||||||
// workflow-session.json integration
|
|
||||||
{
|
|
||||||
"session_id": "WFS-[topic-slug]",
|
|
||||||
"type": "complex", // brainstorming typically creates complex workflows
|
|
||||||
"current_phase": "PLAN", // conceptual phase
|
|
||||||
"brainstorming": {
|
|
||||||
"status": "active|completed",
|
|
||||||
"mode": "creative|analytical|strategic",
|
|
||||||
"roles_completed": ["system-architect", "ui-designer"],
|
|
||||||
"current_role": "data-architect",
|
|
||||||
"output_directory": ".workflow/WFS-[topic-slug]/.brainstorming/",
|
|
||||||
"agent_document_paths": {
|
|
||||||
"system-architect": ".workflow/WFS-[topic-slug]/.brainstorming/system-architect/",
|
|
||||||
"ui-designer": ".workflow/WFS-[topic-slug]/.brainstorming/ui-designer/",
|
|
||||||
"product-manager": ".workflow/WFS-[topic-slug]/.brainstorming/product-manager/",
|
|
||||||
"data-architect": ".workflow/WFS-[topic-slug]/.brainstorming/data-architect/"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
### Directory Auto-Creation
|
|
||||||
Before starting brainstorming session:
|
|
||||||
```bash
|
|
||||||
# Create workflow structure and ONLY selected agent directories
|
|
||||||
mkdir -p .workflow/WFS-[topic-slug]/.brainstorming/
|
|
||||||
# Create directories for selected agents only
|
|
||||||
for agent in selected_agents; do
|
|
||||||
mkdir -p .workflow/WFS-[topic-slug]/.brainstorming/$agent
|
|
||||||
done
|
|
||||||
```
|
|
||||||
|
|
||||||
### Agent Document Assignment Protocol
|
|
||||||
When coordinating with @conceptual-planning-agent, ALWAYS specify exact output location:
|
|
||||||
|
|
||||||
**Correct Agent Delegation:**
|
|
||||||
```
|
|
||||||
Task(conceptual-planning-agent): "Conduct brainstorming analysis for: [topic]. Use [mode] approach. Required perspective: [role].
|
|
||||||
|
|
||||||
Load role definition using: ~/.claude/scripts/plan-executor.sh [role]
|
|
||||||
|
|
||||||
OUTPUT REQUIREMENT: Save all generated documents to: .workflow/WFS-[topic-slug]/.brainstorming/[role]/
|
|
||||||
- analysis.md (main perspective analysis)
|
|
||||||
- [role-specific-output].md (specialized deliverable)
|
|
||||||
"
|
|
||||||
```
|
|
||||||
|
|
||||||
### Brainstorming Output
|
|
||||||
The brainstorming phase produces comprehensive role-based analysis documents that serve as input for subsequent workflow phases.
|
|
||||||
Reference in New Issue
Block a user