plan · worldflowai — команда для Claude Code: что делает и как установить
Команда plan вызывает субагента-планировщика, который разбирает задачу на шаги, оценивает риски и ждёт подтверждения перед любым изменением кода.
MIT ★ 6 739 обновлён 2026-01-23
/plugin marketplace add WorldFlowAI/everything-claude-code
/plugin install everything-claude-code@everything-claude-codeЧто делает plan
Команда /plan запускает субагента planner, который пересказывает требования, делит работу на фазы (схема БД, сервис, интеграция, фронтенд), называет зависимости (Redis, email-сервис, Supabase subscriptions) и оценивает сложность. Риски помечаются как HIGH, MEDIUM или LOW — например, HIGH для email deliverability без SPF/DKIM. Агент не трогает файлы, пока не получит явное «yes» или «proceed».
Подходит для новых фич, рефакторинга нескольких компонентов и неоднозначных задач. Без Redis и настроенного email-сервиса примеры из плана не запустятся. После подтверждения можно продолжить через /tdd или /build-and-fix.
Какие задачи решает
- разбить крупную задачу на шаги до начала кодинга
- выявить зависимости и риски архитектурного изменения
- получить оценку времени и сложности фичи
- уточнить требования перед рефакторингом нескольких файлов
Примеры запросов агенту
- Распланируй добавление real-time уведомлений при резолве рынка
- Разбей на фазы миграцию с REST на GraphQL
- Оцени риски интеграции Stripe для подписок
Как установить plan
1Через маркетплейс плагинов
/plugin marketplace add WorldFlowAI/everything-claude-code/plugin install everything-claude-code@everything-claude-code2Вручную: положить файлы
.claude/commands/everything-claude-code-plan.mdВстроенная /plan перекрывает файл с тем же именем, поэтому файл назван иначе. Вызов — /everything-claude-code-plan. Для всех проектов — ~/.claude/commands/
Вручную: положить файлы
~/.codex/prompts/plan.mdВызов — /prompts:plan. В Codex этот формат помечен устаревшим, замена — скиллы
Вручную: положить файлы
.github/prompts/plan.prompt.mdВручную: положить файлы
.gemini/commands/plan.tomlGemini хранит команды в TOML: текст запроса — в поле prompt
Вопросы о plan
Как установить plan в Claude Code?
Выполни /plugin marketplace add WorldFlowAI/everything-claude-code, затем /plugin install everything-claude-code@everything-claude-code. Команда появится в .claude/commands/everything-claude-code-plan.md.
Что делает команда plan?
Вызывает субагента-планировщика, который пересказывает задачу, разбивает её на фазы, называет зависимости и риски, оценивает сложность и ждёт твоего подтверждения. Код не меняется до явного «yes».
Можно ли изменить план перед выполнением?
Да. Напиши «modify: твои правки» или «skip phase 2 and do phase 3 first». Агент пересоберёт план и снова запросит подтверждение.
Исходный текст
plan.md · MIT
--- description: Restate requirements, assess risks, and create step-by-step implementation plan. WAIT for user CONFIRM before touching any code. --- # Plan Command This command invokes the **planner** agent to create a comprehensive implementation plan before writing any code. ## 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: - Starting a new feature - Making significant architectural changes - Working on complex refactoring - Multiple files/components will be affected - Requirements are unclear or ambiguous ## How It Works The planner agent will: 1. **Analyze the request** and restate requirements in clear terms 2. **Break down into phases** with specific, actionable steps 3. **Identify dependencies** between components 4. **Assess risks** and potential blockers 5. **Estimate complexity** (High/Medium/Low) 6. **Present the plan** and WAIT for your explicit confirmation ## Example Usage ``` User: /plan I need to add real-time notifications when markets resolve Agent (planner): # 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) ``` ## Important Notes **CRITICAL**: The planner agent 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: - "modify: [your changes]" - "different approach: [alternative]" - "skip phase 2 and do phase 3 first" ## Integration with Other Commands After planning: - Use `/tdd` to implement with test-driven development - Use `/build-and-fix` if build errors occur - Use `/code-review` to review completed implementation ## Related Agents This command invokes the `planner` agent located at: `~/.claude/agents/planner.md`
© Affaan Mustafa · MIT · WorldFlowAI/everything-claude-code
Похожие слэш-команды
Все слэш-команды по теме «Настройка агента: память, контекст, субагенты» →Сначала — plan от других авторов.