Restates requirements, assesses risks and dependencies, generates step-by-step implementation plan with complexity estimate, and waits for user confirmation before coding.
npx claudepluginhub aaione/everything-claude-code-zh --plugin everything-claude-code# Plan Command This command creates a comprehensive implementation plan before writing any code. Run inline by default. Do not call the Task tool or any subagent by default. This keeps `/plan` usable from plugin installs that ship commands without agent files. ## What This Command Does 1. **Restate Requirements** - Clarify what needs to be built 2. **Identify Risks** - Surface potential issues and blockers 3. **Create Step Plan** - Break down implementation into phases 4. **Wait for Confirmation** - MUST receive user approval before proceeding ## When to Use Use `/plan` when: - Starti...
/planRestates requirements, assesses risks, generates phased step-by-step implementation plan, and waits for user confirmation before coding.
/planRestates requirements, assesses risks and dependencies, creates phased step-by-step implementation plan, and waits for user confirmation before coding.
/planRestates requirements, assesses risks, creates step-by-step implementation plan with phases, dependencies, complexity estimates, and waits for user confirmation.
/planGenerates comprehensive implementation plan: restates requirements, identifies risks and dependencies, outlines phases, estimates complexity, and waits for user confirmation.
/planCreates an implementation plan before writing code for new features, architectural changes, or complex refactoring, including steps, risks, testing, and success criteria.
/planGenerates detailed 3-phase implementation plans covering requirements, design, tasks, risks, and quality checks for any project. Awaits explicit user approval before coding.
Share bugs, ideas, or general feedback.
This command creates a comprehensive implementation plan before writing any code.
Run inline by default. Do not call the Task tool or any subagent by default. This keeps /plan usable from plugin installs that ship commands without agent files.
Use /plan when:
The assistant will:
User: /plan I need to add real-time notifications when markets resolve
Assistant:
# Implementation Plan: Real-Time Market Resolution Notifications
## Requirements Restatement
- Send notifications to users when markets they're watching resolve
- Support multiple notification channels (in-app, email, webhook)
- Ensure notifications are delivered reliably
- Include market outcome and user's position result
## Implementation Phases
### Phase 1: Database Schema
- Add notifications table with columns: id, user_id, market_id, type, status, created_at
- Add user_notification_preferences table for channel preferences
- Create indexes on user_id and market_id for performance
### Phase 2: Notification Service
- Create notification service in lib/notifications.ts
- Implement notification queue using BullMQ/Redis
- Add retry logic for failed deliveries
- Create notification templates
### Phase 3: Integration Points
- Hook into market resolution logic (when status changes to "resolved")
- Query all users with positions in market
- Enqueue notifications for each user
### Phase 4: Frontend Components
- Create NotificationBell component in header
- Add NotificationList modal
- Implement real-time updates via Supabase subscriptions
- Add notification preferences page
## Dependencies
- Redis (for queue)
- Email service (SendGrid/Resend)
- Supabase real-time subscriptions
## Risks
- HIGH: Email deliverability (SPF/DKIM required)
- MEDIUM: Performance with 1000+ users per market
- MEDIUM: Notification spam if markets resolve frequently
- LOW: Real-time subscription overhead
## Estimated Complexity: MEDIUM
- Backend: 4-6 hours
- Frontend: 3-4 hours
- Testing: 2-3 hours
- Total: 9-13 hours
**WAITING FOR CONFIRMATION**: Proceed with this plan? (yes/no/modify)
CRITICAL: This command will NOT write any code until you explicitly confirm the plan with "yes" or "proceed" or similar affirmative response.
If you want changes, respond with:
After planning:
tdd-workflow skill to implement with test-driven development/build-fix if build errors occur/code-review to review completed implementationNeed deeper planning? Use
/prp-planfor artifact-producing planning with PRD integration, codebase analysis, and pattern extraction. Use/prp-implementto execute those plans with rigorous validation loops.
ECC also provides a planner agent for manual installs that include agent files. Use it only when the local runtime already exposes that subagent and the user explicitly asks you to delegate planning.
If the planner subagent is unavailable, continue planning inline instead of surfacing an "Agent type 'planner' not found" error.
For manual installs, the source file lives at:
agents/planner.md