# Agent: Plan Generate implementation plans using Every Code's planning capabilities with Prometheus context. ## Usage ``` /agent-plan "Implement user authentication with JWT tokens" ``` ## Description The `/agent-plan` skill generates detailed implementation plans by: 1. Using Every Code's `/plan` command for structured planning 2. Augmenting with Prometheus knowledge graph for context 3. Providing step-by-step implementation guidance ## Examples ### Plan a feature ``` /agent-plan "Add dark mode with system preference detection" ``` ### Plan with constraints ``` /agent-plan "Refactor the user service to use GraphQL Scope: backend only, no frontend changes" ``` ### Plan database migration ``` /agent-plan "Migrate from PostgreSQL to MySQL for the users table" ``` ## Backends - **Primary**: Every Code (/plan command) - **Enhancement**: Prometheus (context from similar code) ## Workflow 1. Parse your request and identify key requirements 2. Query Prometheus for similar existing code patterns 3. Generate implementation plan using Every Code 4. Present plan with: - Architecture overview - Step-by-step tasks - Files to create/modify - Dependencies to add - Testing considerations ## Follow-up After planning, use: - `/agent-implement` - Execute the plan - `/agent-context` - Get more context on specific files