Use this agent when starting non-trivial implementation work that requires
planning.
This agent analyzes requests, checks for existing plans, creates
comprehensive plans, and manages the plan approval workflow before delegating
to implementation agents.
Use when: multi-step implementations, new features, refactoring, architecture
changes, or non-trivial bug fixes.
Examples: <example>Context: Need to add user authentication system.
user: 'Implement user authentication with email and password'
assistant: 'I'll use the planner agent to create a comprehensive plan for the
authentication system, covering security considerations, database schema,
API endpoints, and frontend integration.'
<commentary>Multi-step feature requiring planning before
implementation.</commentary></example>
<example>Context: Need to refactor large codebase module.
user: 'Refactor the payment processing module'
assistant: 'Let me use the planner agent to analyze the current architecture,
identify refactoring opportunities, and create a detailed plan with steps to
safely refactor while maintaining functionality.'
<commentary>Complex refactoring requiring systematic
planning.</commentary></example>