-
Notifications
You must be signed in to change notification settings - Fork 0
Agents
Complete guide to the DoPlan CLI hierarchical AI agent system.
DoPlan CLI uses a hierarchical AI agency system with 18 specialized agents. Each agent has a specific role, expertise, and responsibilities. Agents work together in a structured hierarchy to help you build your project.
- 18 Specialized Agents: Each with unique expertise
- Hierarchical Organization: Clear reporting structure
- Transparent Logic: All agent definitions in markdown files
- Customizable: Modify agents to fit your needs
- Collaborative: Agents work together on tasks
Project Orchestrator
│
┌──────────────────┼──────────────────┐
│ │ │
Product Manager Engineering Lead Design & UX Manager
│ │ │
│ ┌────────┼────────┐ │
│ │ │ │ │
│ System Frontend Backend UI/UX
│ Architect Lead Lead Designer
│ │
│ DevOps Engineer
│ │
│ Security Lead
│ │
│ Performance Engineer
│
QA & Reliability Manager
│
QA Engineer
│
Release & Growth Manager
│
┌────┴────┐
│ │
Release Growth
Captain Coach
│
Documentation Lead
│
Documentation Writer
Role: CEO / Engineering Manager
Responsibilities:
- Strategic Vision: Define overall project vision, goals, and success metrics
- Resource Allocation: Allocate resources and prioritize work across all teams
- Decision Making: Make final decisions on architecture, features, and trade-offs
- Coordination: Ensure all teams are aligned
- Escalation: Handle escalations and resolve conflicts between teams
- Reporting: Report project status to stakeholders
When Activated:
-
/tell- Analyzes project idea -
/good- Approves and locks plan -
/build- Coordinates task execution -
/finished- Manages task completion
File: .cursor/agents/project_orchestrator.md
Role: Product Strategy and Requirements
Responsibilities:
- Product Requirements: Define and manage product requirements
- Roadmap Planning: Create and maintain product roadmap
- Feature Prioritization: Prioritize features based on value
- User Research: Understand user needs and pain points
- Stakeholder Communication: Communicate with stakeholders
When Activated:
-
/tell- Analyzes product idea -
/improve- Provides product insights -
/write- Creates PRD.md -
/plan- Generates product-related tasks
File: .cursor/agents/product_manager.md
Role: Technical Leadership and Coordination
Responsibilities:
- Technical Strategy: Define technical direction
- Team Coordination: Coordinate frontend and backend teams
- Code Review: Review code quality and architecture
- Technical Decisions: Make technical decisions
- Resource Management: Manage engineering resources
When Activated:
-
/improve- Provides technical insights -
/write- Creates ARCHITECTURE.md -
/plan- Generates technical tasks -
/build- Coordinates implementation
File: .cursor/agents/engineering_lead.md
Role: System Design and Architecture
Responsibilities:
- System Design: Design system architecture
- Technology Selection: Choose appropriate technologies
- Scalability: Ensure system scalability
- Performance: Design for performance
- Integration: Plan system integrations
When Activated:
-
/improve- Provides architectural insights -
/write- Creates ARCHITECTURE.md -
/build- Designs system components
File: .cursor/agents/system_architect.md
Role: Frontend Development Leadership
Responsibilities:
- Frontend Strategy: Define frontend architecture
- UI/UX Coordination: Work with design team
- Framework Selection: Choose frontend frameworks
- Performance: Optimize frontend performance
- Team Management: Lead frontend development
When Activated:
-
/build- Implements frontend tasks - Frontend-specific features
File: .cursor/agents/frontend_lead.md
Role: Backend Development Leadership
Responsibilities:
- Backend Strategy: Define backend architecture
- API Design: Design APIs and endpoints
- Database Design: Design database schemas
- Security: Ensure backend security
- Team Management: Lead backend development
When Activated:
-
/build- Implements backend tasks - Backend-specific features
File: .cursor/agents/backend_lead.md
Role: Infrastructure and Deployment
Responsibilities:
- Infrastructure: Set up and manage infrastructure
- CI/CD: Configure CI/CD pipelines
- Deployment: Manage deployments
- Monitoring: Set up monitoring and logging
- Automation: Automate operations
When Activated:
-
/build- Implements DevOps tasks - Infrastructure setup
-
/cheap- Cost optimization
File: .cursor/agents/devops_engineer.md
Role: Security and Compliance
Responsibilities:
- Security Strategy: Define security strategy
- Security Review: Review code for security issues
- Compliance: Ensure compliance with standards
- Vulnerability Management: Manage vulnerabilities
- Security Training: Provide security guidance
When Activated:
-
/safe- Security audit -
/build- Security-related tasks
File: .cursor/agents/security_lead.md
Role: Performance Optimization
Responsibilities:
- Performance Analysis: Analyze system performance
- Optimization: Optimize performance bottlenecks
- Monitoring: Monitor performance metrics
- Load Testing: Conduct load testing
- Recommendations: Provide performance recommendations
When Activated:
-
/build- Performance-related tasks -
/cheap- Cost optimization
File: .cursor/agents/performance_engineer.md
Role: Design System Management
Responsibilities:
- Design Strategy: Define design strategy
- Design System: Create and maintain design system
- UX Guidelines: Establish UX guidelines
- Team Coordination: Coordinate design team
- Quality Assurance: Ensure design quality
When Activated:
-
/improve- Provides design insights -
/write- Creates DESIGN_SYSTEM.md
File: .cursor/agents/design_manager.md
Role: User Interface and Experience Design
Responsibilities:
- UI Design: Create user interfaces
- UX Design: Design user experiences
- Prototyping: Create prototypes
- User Testing: Conduct user testing
- Design Implementation: Implement designs
When Activated:
-
/write- Creates DESIGN_SYSTEM.md -
/build- Implements UI/UX tasks
File: .cursor/agents/ui_ux_designer.md
Role: Quality Assurance Management
Responsibilities:
- QA Strategy: Define QA strategy
- Test Planning: Plan testing approach
- Quality Standards: Establish quality standards
- Team Coordination: Coordinate QA team
- Quality Metrics: Track quality metrics
When Activated:
-
/improve- Provides QA insights - Quality assurance tasks
File: .cursor/agents/qa_manager.md
Role: Testing and Validation
Responsibilities:
- Test Execution: Execute tests
- Bug Reporting: Report and track bugs
- Test Automation: Automate tests
- Quality Validation: Validate quality
- Test Coverage: Ensure test coverage
When Activated:
-
/build- Testing tasks - Code review
File: .cursor/agents/qa_engineer.md
Role: Release and Growth Management
Responsibilities:
- Release Strategy: Define release strategy
- Growth Strategy: Define growth strategy
- Release Planning: Plan releases
- Metrics Tracking: Track growth metrics
- Team Coordination: Coordinate release and growth teams
When Activated:
-
/improve- Provides release and growth insights - Release planning
File: .cursor/agents/release_manager.md
Role: Release Coordination
Responsibilities:
- Release Execution: Execute releases
- Version Management: Manage versions
- Deployment: Coordinate deployments
- Release Notes: Create release notes
- Post-Release: Monitor post-release
When Activated:
-
/ship- Release management -
/finished- Release coordination
File: .cursor/agents/release_captain.md
Role: User Growth and Engagement
Responsibilities:
- Growth Strategy: Define growth strategy
- User Acquisition: Plan user acquisition
- User Engagement: Improve user engagement
- Analytics: Analyze growth metrics
- Optimization: Optimize growth channels
When Activated:
- Growth-related tasks
- Analytics and optimization
File: .cursor/agents/growth_coach.md
Role: Documentation Management
Responsibilities:
- Documentation Strategy: Define documentation strategy
- Documentation Standards: Establish standards
- Team Coordination: Coordinate documentation team
- Quality Assurance: Ensure documentation quality
- Maintenance: Maintain documentation
When Activated:
-
/improve- Provides documentation insights - Documentation tasks
File: .cursor/agents/documentation_lead.md
Role: Technical Writing
Responsibilities:
- Writing: Write documentation
- Editing: Edit documentation
- Formatting: Format documentation
- Review: Review documentation
- Updates: Update documentation
When Activated:
- Documentation tasks
- Content creation
File: .cursor/agents/documentation_writer.md
Role: Brand Messaging & Content Systems
Responsibilities:
- Define tone of voice, messaging pillars, and slogans
- Audit existing copy/assets and identify gaps
- Provide structured briefs for feature/page copy
- Coordinate content approvals with legal and stakeholders
When Activated:
-
/improvecontent & storytelling phase -
/planwhen tasks require net-new copy - Landing pages, marketing sites, onboarding flows
File: .cursor/agents/content_strategist.md
Role: Search Optimization & Content Performance
Responsibilities:
- Build keyword strategy and map intents to pages
- Capture metadata/structured data requirements
- Define measurement plan for organic KPIs
- Review copy for SEO compliance and readability
When Activated:
-
/improveSEO phase -
/planwhen execution tasks include SEO workstreams - Marketing/documentation updates that impact organic traffic
File: .cursor/agents/seo_specialist.md
Role: Go-To-Market & Growth Strategy
Responsibilities:
- Map acquisition → activation → retention funnels
- Define campaign timelines, channels, and budgets
- Establish KPIs plus instrumentation plan
- Coordinate collateral with Content & SEO
When Activated:
-
/improvemarketing & funnel phase -
/writewhen GTM requirements influence PRD/ARCH -
/planto ensure tasks align with GTM goals
File: .cursor/agents/marketing_manager.md
| Command | Primary Agents | Supporting Agents |
|---|---|---|
/tell |
Project Orchestrator, Product Manager | - |
/improve |
Product Manager, Engineering Lead, Design Manager, Marketing Manager | Content Strategist, SEO Specialist, QA Manager, Release Manager, Documentation Lead |
/write |
Product Manager, Engineering Lead, System Architect, Design Manager, UI/UX Designer | Project Orchestrator |
/change |
Project Orchestrator | Relevant agents based on document |
/good |
Project Orchestrator | - |
/plan |
Project Orchestrator, Engineering Lead, Product Manager | - |
/build |
Engineering Lead, Project Orchestrator | Frontend Lead, Backend Lead, etc. (based on task) |
/finished |
Project Orchestrator, Release Captain | - |
/ship |
Release Captain, Release Manager | - |
/safe |
Security Lead | - |
/cheap |
DevOps Engineer, Performance Engineer | - |
When using /write:
- Product Manager creates PRD
- Engineering Lead and System Architect create Architecture
- Design Manager and UI/UX Designer create Design System
- Project Orchestrator coordinates all
When using /build:
- Engineering Lead coordinates
- Frontend Lead or Backend Lead implements (based on task)
- QA Engineer reviews
- Security Lead checks security (if needed)
- Project Orchestrator monitors
When using /improve:
- Core panel:
- Product Manager
- Engineering Lead
- Design Manager
- Marketing Manager
- Specialist breakouts:
- Content Strategist (tone, messaging, assets)
- SEO Specialist (keywords, metadata, performance)
- QA Manager
- Release Manager
- Documentation Lead
- Each provides insights from their expertise before the summary is confirmed
All agent definitions are in .cursor/agents/ as markdown files. You can:
- Edit Agent Files: Modify agent personas directly
- Add Custom Agents: Create new agent files
- Remove Agents: Delete agent files (not recommended)
- Change Hierarchy: Update agent relationships
Edit .cursor/agents/product_manager.md:
# Product Manager
## Role
Product Strategy and Requirements
## System Prompt
You are the Product Manager. Your focus is on [your custom focus].
## Responsibilities
- [Your custom responsibilities]- Keep Core Structure: Maintain the basic structure
- Preserve Hierarchy: Don't break the hierarchy
- Test Changes: Test after modifications
- Document Changes: Document your customizations
- Version Control: Commit changes to git
Let agents do their work:
- Don't override agent decisions unnecessarily
- Review agent outputs before approving
- Use agents for their expertise
Match commands to agents:
-
/writefor planning (Product, Engineering, Design) -
/buildfor development (Engineering, Frontend, Backend) -
/safefor security (Security Lead) -
/shipfor releases (Release Captain)
Always review:
- Planning documents before
/good - Code before
/finished - Releases before deploying
Use specialized agents:
- Security Lead for security reviews
- Performance Engineer for optimization
- QA Engineer for testing
Modify agents to fit your needs:
- Add domain-specific knowledge
- Adjust responsibilities
- Create custom agents
User: /tell Add user authentication
1. Project Orchestrator: Analyzes request
2. Product Manager: Defines requirements
3. Engineering Lead: Plans technical approach
4. System Architect: Designs architecture
5. Security Lead: Reviews security implications
6. Design Manager: Plans UI/UX
User: /build 1.2
1. Engineering Lead: Coordinates
2. Backend Lead: Implements API
3. Frontend Lead: Implements UI
4. QA Engineer: Tests
5. Security Lead: Reviews security
6. Project Orchestrator: Monitors progress
User: /ship
1. Release Captain: Coordinates release
2. Release Manager: Plans release
3. QA Engineer: Final testing
4. DevOps Engineer: Deployment
5. Growth Coach: Growth strategy
- Workflow Guide - How agents work in the workflow
- Commands Reference - Commands that activate agents
- Configuration Guide - Customizing agents
- Rules Library - Rules that guide agents
- Home - Wiki home page
Last Updated: 2025
Maintained By: Documentation Team