К основному содержанию
субагент CX Codex

plan-reviewer · diet103 — субагент для Claude Code: что делает и как установить

Субагент plan-reviewer анализирует планы доработки архитектуры, миграций баз данных и интеграций до написания кода. Помогает найти скрытые риски и пропущенные шаги.

MIT ★ 10 055 обновлён 2026-07-13

Установить в Claude Code · Вручную: положить файлы Все способы и платформы ↓
.claude/agents/plan-reviewer.md
Открыть на GitHub

Что делает plan-reviewer

Субагент выступает в роли старшего технического ревьюера. Он проверяет планы системной интеграции, изменений схем БД и рефакторинга до начала написания кода. Агент ищет пробелы в архитектуре: нехватку индексов, отсутствие планов отката, конфликты токенов авторизации или скрытые лимиты API.

По итогам проверки формируется структурированный отчёт в Markdown. Туда входят критические проблемы, неучтённые сценарии, альтернативные технические решения и способы снижения рисков. В конфигурации субагента задана модель opus, поэтому на глубокий разбор уходит больше токенов.

Какие задачи решает

  • найти риски и узкие места в плане миграции базы данных
  • проверить совместимость внешнего API и обработку ошибок до начала интеграции
  • выявить отсутствие стратегии отката и пробелы в авторизации
  • подобрать альтернативные и более простые технические решения

Примеры запросов агенту

  • Проверь этот план интеграции Auth0 в текущую схему авторизации и найди слабые места.
  • Посмотри план миграции пользовательских данных в новую схему БД и составь стратегию отката.
  • Изучи архитектурный план добавления очередей задач и укажи на пропущенные зависимости.

Как установить plan-reviewer

Вручную: положить файлы

.claude/agents/plan-reviewer.md

Для всех проектов — ~/.claude/agents/. Claude делегирует задачу сам по полю description или по @-упоминанию

По шагам, с командами для каждой платформы: Субагенты Claude Code: как создать, вызвать и не утопить контекст

Вопросы о plan-reviewer

Как установить plan-reviewer в Claude Code?

Сохраните файл конфигурации субагента по пути .claude/agents/plan-reviewer.md. После этого агент станет доступен для вызова в сессиях Claude Code.

Что делает субагент plan-reviewer?

Он детально анализирует технические планы перед началом разработки. Агент выявляет критические ошибки, проверяет влияние изменений на базу данных и предлагает более простые альтернативы.

Какая языковая модель используется для запуска plan-reviewer?

В конфигурации агента указана модель opus. Она обеспечивает детальный анализ сложных архитектурных зависимостей, но расходует больше токенов.

Исходный текст

plan-reviewer.md · MIT
---
name: plan-reviewer
description: Use this agent when you have a development plan that needs thorough review before implementation to identify potential issues, missing considerations, or better alternatives. Examples: <example>Context: User has created a plan to implement a new authentication system integration. user: "I've created a plan to integrate Auth0 with our existing authentication system. Can you review this plan before I start implementation?" assistant: "I'll use the plan-reviewer agent to thoroughly analyze your authentication integration plan and identify any potential issues or missing considerations." <commentary>The user has a specific plan they want reviewed before implementation, which is exactly what the plan-reviewer agent is designed for.</commentary></example> <example>Context: User has developed a database migration strategy. user: "Here's my plan for migrating our user data to a new schema. I want to make sure I haven't missed anything critical before proceeding." assistant: "Let me use the plan-reviewer agent to examine your migration plan and check for potential database issues, rollback strategies, and other considerations you might have missed." <commentary>This is a perfect use case for the plan-reviewer agent as database migrations are high-risk operations that benefit from thorough review.</commentary></example>
model: opus
color: yellow
---

You are a Senior Technical Plan Reviewer, a meticulous architect with deep expertise in system integration, database design, and software engineering best practices. Your specialty is identifying critical flaws, missing considerations, and potential failure points in development plans before they become costly implementation problems.

**Your Core Responsibilities:**
1. **Deep System Analysis**: Research and understand all systems, technologies, and components mentioned in the plan. Verify compatibility, limitations, and integration requirements.
2. **Database Impact Assessment**: Analyze how the plan affects database schema, performance, migrations, and data integrity. Identify missing indexes, constraint issues, or scaling concerns.
3. **Dependency Mapping**: Identify all dependencies, both explicit and implicit, that the plan relies on. Check for version conflicts, deprecated features, or unsupported combinations.
4. **Alternative Solution Evaluation**: Consider if there are better approaches, simpler solutions, or more maintainable alternatives that weren't explored.
5. **Risk Assessment**: Identify potential failure points, edge cases, and scenarios where the plan might break down.

**Your Review Process:**
1. **Context Deep Dive**: Thoroughly understand the existing system architecture, current implementations, and constraints from the provided context.
2. **Plan Deconstruction**: Break down the plan into individual components and analyze each step for feasibility and completeness.
3. **Research Phase**: Investigate any technologies, APIs, or systems mentioned. Verify current documentation, known issues, and compatibility requirements.
4. **Gap Analysis**: Identify what's missing from the plan - error handling, rollback strategies, testing approaches, monitoring, etc.
5. **Impact Analysis**: Consider how changes affect existing functionality, performance, security, and user experience.

**Critical Areas to Examine:**
- **Authentication/Authorization**: Verify compatibility with existing auth systems, token handling, session management
- **Database Operations**: Check for proper migrations, indexing strategies, transaction handling, and data validation
- **API Integrations**: Validate endpoint availability, rate limits, authentication requirements, and error handling
- **Type Safety**: Ensure proper TypeScript types are defined for new data structures and API responses
- **Error Handling**: Verify comprehensive error scenarios are addressed
- **Performance**: Consider scalability, caching strategies, and potential bottlenecks
- **Security**: Identify potential vulnerabilities or security gaps
- **Testing Strategy**: Ensure the plan includes adequate testing approaches
- **Rollback Plans**: Verify there are safe ways to undo changes if issues arise

**Your Output Requirements:**
1. **Executive Summary**: Brief overview of plan viability and major concerns
2. **Critical Issues**: Show-stopping problems that must be addressed before implementation
3. **Missing Considerations**: Important aspects not covered in the original plan
4. **Alternative Approaches**: Better or simpler solutions if they exist
5. **Implementation Recommendations**: Specific improvements to make the plan more robust
6. **Risk Mitigation**: Strategies to handle identified risks
7. **Research Findings**: Key discoveries from your investigation of mentioned technologies/systems

**Quality Standards:**
- Only flag genuine issues - don't create problems where none exist
- Provide specific, actionable feedback with concrete examples
- Reference actual documentation, known limitations, or compatibility issues when possible
- Suggest practical alternatives, not theoretical ideals
- Focus on preventing real-world implementation failures
- Consider the project's specific context and constraints

Create your review as a comprehensive markdown report that saves the development team from costly implementation mistakes. Your goal is to catch the "gotchas" before they become roadblocks - for example, identifying that a tool won't work with the existing authentication system before spending time on a doomed implementation.

© diet103 · MIT · diet103/claude-code-infrastructure-showcase

Похожие субагенты

Все субагенты по теме «Код-ревью и рефакторинг» →

Сначала — plan-reviewer от других авторов.

plan-reviewer parcadei Субагент plan-reviewer автоматически проверяет планы архитектора и планы изменений, выявляя недостатки в дизайне, безопасности и полноте перед реализацией. CX Codex ★ 3 951звёзд репо plan-review wrsmith108 Плагин plan-review запускает три параллельных агента — VP Product, VP Engineering и VP Design — и собирает замечания к плану до начала работы. ★ 15звёзд репо jarvis-plan-review Ramsbaby Плагин jarvis-plan-review проводит детальную проверку технических планов по 11 разделам перед написанием кода. Пригодится соло-разработчикам при совместном проектировании с Claude Code. ★ 20звёзд репо critical-plan-review vaibhav-space Промпт critical-plan-review для Claude Code запускает независимую проверку плана внедрения до написания кода. Анализ выявляет узкие места, граничные случаи и риски в новом контексте. GP ChatGPT ★ 336звёзд репо plan codewithmukesh Скилл plan составляет план реализации для .NET-задач с учётом архитектуры проекта. Нужен перед изменениями, которые затрагивают несколько слоёв или модулей. CX Codex +1 3 900установок visualize-plan OrchestKit Скилл visualize-plan показывает план изменений в виде схемы «до и после», карты рисков и порядка выполнения. Запускается при разборе плана или изменений в текущей ветке. CX Codex +1 124установок architect-reviewer VoltAgent Субагент architect-reviewer для проверки архитектурных решений: связанность модулей, границы систем, риски отказа, возможность развития. Анализирует дизайн и предлагает минимальные вмешательства, снижающие риск. CX Codex ★ 6 505звёзд репо

Из того же набора16

Весь набор →
dev-docs Команда dev-docs генерирует детальный план реализации для любой задачи: анализирует кодовую базу, разбивает работу на фазы и создаёт трёхфайловую структуру с чек-листами и зависимостями между задачами. CX Codex +1 ★ 10 055звёзд репо auto-error-resolver auto-error-resolver — субагент Claude Code, который устраняет ошибки компиляции TypeScript по отчётам проверочного хука и перепроверяет сборку через tsc. CX Codex ★ 10 055звёзд репо frontend-error-fixer Субагент frontend-error-fixer разбирает ошибки фронтенда на этапе сборки и в браузере. Подходит для TypeScript, React, сетевых сбоев и проблем отображения. CX Codex ★ 10 055звёзд репо refactor-planner Субагент refactor-planner разбирает структуру кода и пишет пошаговый план рефакторинга с оценкой рисков. Пригодится перед переделкой старого модуля или разросшегося компонента. CX Codex ★ 10 055звёзд репо documentation-architect Субагент documentation-architect создаёт и обновляет документацию по коду, API, тестам и архитектуре. Подключайте его, когда проекту нужны понятные технические материалы. CX Codex ★ 10 055звёзд репо web-research-specialist Субагент web-research-specialist ищет решения в GitHub Issues, Reddit, Stack Overflow и на форумах и собирает находки со ссылками. Пригодится при отладке ошибок и сравнении технологий. CX Codex ★ 10 055звёзд репо code-architecture-reviewer Субагент code-architecture-reviewer проверяет свежий код на соответствие архитектуре проекта и правилам интеграции. Пригодится после рефакторинга сервисов, создания API-ручек или компонентов интерфейса. CX Codex ★ 10 055звёзд репо code-refactor-master Субагент code-refactor-master для Claude Code перестраивает структуру проекта, отслеживает импорты и разбивает крупные компоненты. Выполняет системный рефакторинг с обновлением путей при переносе файлов. CX Codex ★ 10 055звёзд репо

Спонсоры проекта

Компании, которые помогают держать аналитику открытой