Team Planner
by @ghost0118
This skill should be used when the user wants to plan a team of AI agents to work on a complex task. It analyzes task requirements, designs team structure, d...
clawhub install team-plannerπ About This Skill
name: team-planner description: This skill should be used when the user wants to plan a team of AI agents to work on a complex task. It analyzes task requirements, designs team structure, defines member roles, and plans collaboration workflows. Trigger phrases include "plan a team", "design agent roles", "how should agents collaborate", or any request for multi-agent coordination strategy.
Team Planner
Overview
This skill enables the planning and design of multi-agent teams for complex tasks. It analyzes task requirements, determines optimal team composition, defines member roles and responsibilities, and establishes collaboration workflows. The skill produces comprehensive team architecture plans that can be executed in separate WorkBuddy sessions.
When to Use This Skill
Use this skill when:
Planning Process
Follow this structured workflow to create a comprehensive team plan:
Step 1: Task Analysis
Gather essential information about the task:
Required Information:
Clarify if Needed:
Ask Targeted Questions:
Step 2: Determine Team Necessity
Evaluate whether a multi-agent approach is appropriate:
Use Multi-Agent Team When:
Use Single Agent When:
Communicate Decision:
Step 3: Design Team Structure
If multi-agent is appropriate, design the optimal team composition:
Determine Member Count:
Define Member Roles: Each member should have a clear, focused role:
Common Role Patterns:
researcher: Investigates options, analyzes approaches, gathers informationarchitect: Designs system structure, makes technical decisionsdeveloper: Implements code, builds featurestester: Writes tests, validates functionalitydocumenter: Creates documentation, guides, specificationsanalyst: Processes data, generates insightsreviewer: Reviews work, ensures quality standardsRole Assignment Guidelines:
Step 4: Define Responsibilities
For each member, specify:
Clear Responsibility Statement:
Example Format:
Member: frontend-dev
Responsibilities:
Implement React components for user interface
Integrate with backend API endpoints
Handle state management and data flow
Ensure responsive design and accessibility
Deliver: Complete frontend codebase
Step 5: Plan Collaboration Workflow
Design how members will work together:
Identify Dependencies:
Define Communication Patterns:
Establish Workflow Phases:
Phase 1: [Name] - Members: [list] - Description
Phase 2: [Name] - Members: [list] - Description
...
Example Workflow:
Phase 1: Research & Architecture
Members: researcher, architect
Researcher investigates options
Architect designs system
Architect uses research findings Phase 2: Parallel Development
Members: frontend-dev, backend-dev, tester
Frontend and backend develop independently
Tester writes test cases based on requirements Phase 3: Integration & Testing
Members: developer, tester, documenter
Integrate frontend and backend
Run comprehensive tests
Documenter writes user guide
Step 6: Specify Communication Mechanisms
Define how members will communicate:
Broadcast Usage:
Direct Messaging Usage:
Shutdown Requests:
Step 7: Create Implementation Plan
Generate actionable instructions for execution:
Startup Sequence:
Example:
// Start in this order
1. Task(name="researcher", prompt="...")
2. Task(name="architect", prompt="...")
3. Task(name="frontend-dev", prompt="...")
4. Task(name="backend-dev", prompt="...")
5. Task(name="tester", prompt="...")
Prompt Templates: Provide example prompts for each member's startup:
Step 8: Document Success Criteria
Define how to measure team success:
Phase Completion Criteria:
Overall Success Metrics:
Output Format
Present the team plan in this structure:
1. Task Summary
2. Team Architecture
3. Member Roles
For each member: #### Member Name: [name]
4. Collaboration Workflow
Phase-by-Phase Plan:
Phase 1: [Phase Name]
Members involved: [list]
Activities: [description]
Completion criteria: [when done]
Dependencies: [what needed to start] Phase 2: [Phase Name]
...
5. Communication Strategy
6. Startup Sequence
Provide ordered list of Task calls with example prompts7. Success Criteria
Best Practices
Team Design:
Collaboration:
Execution Guidance:
Examples
Example 1: Full-Stack Web Application
Task: Build a blog system with user authentication, article management, and comments
Team Structure:
researcher: Analyze tech stack options, compare frameworksarchitect: Design system architecture, database schemabackend-dev: Implement API, database, authenticationfrontend-dev: Build React UI, integrate with APItester: Write tests, validate functionalitydocumenter: Create API docs, user guideWorkflow:
Phase 1: Research & Architecture
Members: researcher, architectPhase 2: Backend Development
Members: backend-dev, tester
Phase 3: Frontend Development
Members: frontend-dev, backend-dev (for API support)
Phase 4: Integration & Documentation
Members: all members
Example 2: Data Analysis Project
Task: Analyze customer data and generate insights report
Team Structure:
data-collector: Gather and clean data sourcesanalyst: Perform statistical analysis, generate insightsvisualizer: Create charts and visualizationsreporter: Compile findings into comprehensive reportWorkflow:
Phase 1: Data Collection
Members: data-collectorPhase 2: Parallel Analysis
Members: analyst, visualizer
Analyst works on statistics
Visualizer designs charts based on early findings Phase 3: Report Generation
Members: reporter, analyst, visualizer
Combine analysis and visualizations
Clarification Questions
If information is missing, ask:
1. Task Scope: "What are the main components or deliverables of this task?" 2. Technical Requirements: "Are there specific technologies, frameworks, or tools that must be used?" 3. Constraints: "Are there any time constraints, resource limitations, or quality standards?" 4. Priorities: "What aspects of this task are most critical to get right?" 5. Success Definition: "How will you know when the task is complete and successful?"
Final Deliverable
The skill produces a Team Architecture Plan that includes:
This plan enables the user to execute the team plan in a separate WorkBuddy session by following the startup sequence and workflow defined.
π‘ Examples
Example 1: Full-Stack Web Application
Task: Build a blog system with user authentication, article management, and comments
Team Structure:
researcher: Analyze tech stack options, compare frameworksarchitect: Design system architecture, database schemabackend-dev: Implement API, database, authenticationfrontend-dev: Build React UI, integrate with APItester: Write tests, validate functionalitydocumenter: Create API docs, user guideWorkflow:
Phase 1: Research & Architecture
Members: researcher, architectPhase 2: Backend Development
Members: backend-dev, tester
Phase 3: Frontend Development
Members: frontend-dev, backend-dev (for API support)
Phase 4: Integration & Documentation
Members: all members
Example 2: Data Analysis Project
Task: Analyze customer data and generate insights report
Team Structure:
data-collector: Gather and clean data sourcesanalyst: Perform statistical analysis, generate insightsvisualizer: Create charts and visualizationsreporter: Compile findings into comprehensive reportWorkflow:
Phase 1: Data Collection
Members: data-collectorPhase 2: Parallel Analysis
Members: analyst, visualizer
Analyst works on statistics
Visualizer designs charts based on early findings Phase 3: Report Generation
Members: reporter, analyst, visualizer
Combine analysis and visualizations
π Tips & Best Practices
Team Design:
Collaboration:
Execution Guidance: