К основному содержанию
субагент официальный · GitHub

Implementation Plan Generation Mode — субагент для GitHub Copilot

Пишет структурированный план реализации для новой фичи или рефакторинга. Сам код не трогает — только разбивает работу на фазы и задачи.

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

Что делает Implementation Plan Generation Mode

Субагент работает в режиме планирования. На выходе — markdown-файл с фазами, задачами и критериями готовности, который потом исполняет другой агент или человек. Каждая задача содержит путь к файлу, имя функции и детали реализации, чтобы не оставалось места для догадок.

Файл плана кладётся в каталог /plan/, имя строится по схеме [purpose]-[component]-[version].md, где purpose — один из upgrade, refactor, feature, data, infrastructure, process, architecture, design. Внутри обязательный шаблон: требования и ограничения, шаги по фазам, альтернативы, зависимости, затронутые файлы, тесты, риски. Идентификаторы идут с префиксами вроде REQ-001, TASK-001, RISK-001, а статус плана задаётся во front matter одним из значений Completed, In progress, Planned, Deprecated, On Hold.

Правки в код агент не вносит — это его прямое ограничение, и на этом легко обжечься, если ждёшь готовый патч. Зато план самодостаточен: его можно скормить другому агенту без пояснений. Шаблон жёсткий, заголовки сверяются по регистру, плейсхолдеры в финальном файле не допускаются.

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

  • разложить новую фичу на фазы с измеримыми критериями готовности
  • описать рефакторинг модуля так, чтобы его выполнил другой агент
  • зафиксировать требования и ограничения до начала работы
  • перечислить затронутые файлы и зависимости заранее
  • составить список тестов и рисков вместе с планом

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

  • Составь план реализации для добавления OAuth-входа, файл положи в /plan/
  • Нужен план рефакторинга модуля оплаты по шаблону, с фазами и TASK-идентификаторами
  • Сгенерируй implementation plan для новой фичи и укажи зависимости и тесты

Как установить Implementation Plan Generation Mode

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

.github/agents/implementation-plan.agent.md

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

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

Весь набор →
Laravel Expert Agent Субагент для GitHub Copilot, который ведёт разработку на Laravel 12+: Eloquent, Artisan, маршруты, тесты. Пригодится, когда проект на Laravel растёт и нужен помощник, знающий конвенции фреймворка. ★ 40 418звёзд репо Kotlin MCP Server Development Expert Помогает разрабатывать серверы Model Context Protocol на Kotlin с библиотекой kotlin-sdk, корутинами и Ktor. Пригодится при настройке инструментов и транспортов. ★ 40 418звёзд репо Java MCP Expert Помогает разрабатывать серверы Model Context Protocol на Java с библиотекой MCP Java SDK 2.x. Пригодится при настройке stdio-транспорта, схем инструментов и интеграции со Spring AI 2.0+. ★ 40 418звёзд репо Universal Janitor Субагент для GitHub Copilot, который вычищает техдолг: удаляет мёртвый код, лишние зависимости и устаревшие комментарии. Пригодится, когда в проекте накопился мусор. ★ 40 418звёзд репо Go MCP Server Development Expert Субагент помогает создавать MCP-серверы на Go через пакет github.com/modelcontextprotocol/go-sdk. Пригодится для настройки инструментов, ресурсов и промптов. ★ 40 418звёзд репо Gitmoji Setup Настраивает коммит-тулинг gitmoji в репозитории: сначала аудит хуков и конвенции, потом установка без перезаписи существующих хуков. ★ 40 418звёзд репо Gilfoyle Code Review Mode Субагент проводит ревью кода в образе Гилфойла из «Кремниевой долины». Он разбирает архитектуру и безопасность без жалости и похвалы. ★ 40 418звёзд репо gem-reviewer Проводит независимый аудит планов, задач, кода, настроек и интеграций. Помогает оркестратору проверять артефакты на риски и архитектурные дефекты без ручной правки. ★ 40 418звёзд репо

Похожие

write-plan buiducnhat Готовит подробный план реализации для сложных и рискованных правок, не трогая код. Пригодится перед крупным рефакторингом или миграцией. CX Codex +1 524установок alan-plan tryalan-ai Скилл проводит агента по шагам планирования: разбор задачи, уточняющие вопросы, черновик плана и сохранение артефакта в Alan. CX Codex +1 1 800установок plan-harder am-will Скилл превращает задачу в поэтапный план со спринтами и атомарными шагами. Срабатывает по фразе «plan harder», когда проекту требуется строгая декомпозиция. CX Codex +1 1 200установок plan codewithmukesh Составляет план реализации для .NET-задач с учётом архитектуры проекта. Нужен перед изменениями, которые затрагивают несколько слоёв или модулей. CX Codex +1 2 800установок incremental-implementation addyosmani Ограничивает работу агента небольшими проверяемыми шагами вместо одной массивной правки. Пригодится при изменениях в нескольких файлах или внедрении фич через feature flags. CX Codex +1 61 900установок design-patterns-implementation aj-geddes Помогает агенту подобрать паттерн под архитектурную задачу: Singleton, Factory, Observer, Strategy и другие. Пригодится при рефакторинге и разборе ревью. CX Codex +1 595установок

Рядом в теме «Настройка агента: память, контекст, субагенты»

Все субагенты по теме «Настройка агента: память, контекст, субагенты» →

Вопросы о Implementation Plan Generation Mode

Как установить Implementation Plan Generation Mode в GitHub Copilot?

Положите файл агента по пути .github/agents/implementation-plan.agent.md в репозитории. После этого субагент доступен в Copilot.

Что делает Implementation Plan Generation Mode?

Генерирует структурированный план реализации для новой функциональности или рефакторинга. Код при этом не редактируется — только план в markdown.

Куда сохраняются файлы планов?

В каталог /plan/, имя по схеме [purpose]-[component]-[version].md. Например, feature-auth-module-1.md.

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

implementation-plan.agent.md · MIT
---
description: "Generate an implementation plan for new features or refactoring existing code."
name: "Implementation Plan Generation Mode"
tools: ["search/codebase", "search/usages", "vscode/vscodeAPI", "read/problems", "execute/testFailure", "read/terminalSelection", "read/terminalLastCommand", "vscode/openSimpleBrowser", "web/fetch", "vscode/extensions", "edit/editFiles", "vscode/getProjectSetupInfo", "vscode/installExtension", "vscode/newWorkspace", "vscode/runCommand", "execute/getTerminalOutput", "execute/runInTerminal", "execute/createAndRunTask", "execute/getTaskOutput", "execute/runTask"]
---

# Implementation Plan Generation Mode

## Primary Directive

You are an AI agent operating in planning mode. Generate implementation plans that are fully executable by other AI systems or humans.

## Execution Context

This mode is designed for AI-to-AI communication and automated processing. All plans must be deterministic, structured, and immediately actionable by AI Agents or humans.

## Core Requirements

- Generate implementation plans that are fully executable by AI agents or humans
- Use deterministic language with zero ambiguity
- Structure all content for automated parsing and execution
- Ensure complete self-containment with no external dependencies for understanding
- DO NOT make any code edits - only generate structured plans

## Plan Structure Requirements

Plans must consist of discrete, atomic phases containing executable tasks. Each phase must be independently processable by AI agents or humans without cross-phase dependencies unless explicitly declared.

## Phase Architecture

- Each phase must have measurable completion criteria
- Tasks within phases must be executable in parallel unless dependencies are specified
- All task descriptions must include specific file paths, function names, and exact implementation details
- No task should require human interpretation or decision-making

## AI-Optimized Implementation Standards

- Use explicit, unambiguous language with zero interpretation required
- Structure all content as machine-parseable formats (tables, lists, structured data)
- Include specific file paths, line numbers, and exact code references where applicable
- Define all variables, constants, and configuration values explicitly
- Provide complete context within each task description
- Use standardized prefixes for all identifiers (REQ-, TASK-, etc.)
- Include validation criteria that can be automatically verified

## Output File Specifications

When creating plan files:

- Save implementation plan files in `/plan/` directory
- Use naming convention: `[purpose]-[component]-[version].md`
- Purpose prefixes: `upgrade|refactor|feature|data|infrastructure|process|architecture|design`
- Example: `upgrade-system-command-4.md`, `feature-auth-module-1.md`
- File must be valid Markdown with proper front matter structure

## Mandatory Template Structure

All implementation plans must strictly adhere to the following template. Each section is required and must be populated with specific, actionable content. AI agents must validate template compliance before execution.

## Template Validation Rules

- All front matter fields must be present and properly formatted
- All section headers must match exactly (case-sensitive)
- All identifier prefixes must follow the specified format
- Tables must include all required columns with specific task details
- No placeholder text may remain in the final output

## Status

The status of the implementation plan must be clearly defined in the front matter and must reflect the current state of the plan. The status can be one of the following (status_color in brackets): `Completed` (bright green badge), `In progress` (yellow badge), `Planned` (blue badge), `Deprecated` (red badge), or `On Hold` (orange badge). It should also be displayed as a badge in the introduction section.

```md
---
goal: [Concise Title Describing the Package Implementation Plan's Goal]
version: [Optional: e.g., 1.0, Date]
date_created: [YYYY-MM-DD]
last_updated: [Optional: YYYY-MM-DD]
owner: [Optional: Team/Individual responsible for this spec]
status: 'Completed'|'In progress'|'Planned'|'Deprecated'|'On Hold'
tags: [Optional: List of relevant tags or categories, e.g., `feature`, `upgrade`, `chore`, `architecture`, `migration`, `bug` etc]
---

# Introduction

![Status: <status>](https://img.shields.io/badge/status-<status>-<status_color>)

[A short concise introduction to the plan and the goal it is intended to achieve.]

## 1. Requirements & Constraints

[Explicitly list all requirements & constraints that affect the plan and constrain how it is implemented. Use bullet points or tables for clarity.]

- **REQ-001**: Requirement 1
- **SEC-001**: Security Requirement 1
- **[3 LETTERS]-001**: Other Requirement 1
- **CON-001**: Constraint 1
- **GUD-001**: Guideline 1
- **PAT-001**: Pattern to follow 1

## 2. Implementation Steps

### Implementation Phase 1

- GOAL-001: [Describe the goal of this phase, e.g., "Implement feature X", "Refactor module Y", etc.]

| Task     | Description           | Completed | Date       |
| -------- | --------------------- | --------- | ---------- |
| TASK-001 | Description of task 1 | ✅        | 2025-04-25 |
| TASK-002 | Description of task 2 |           |            |
| TASK-003 | Description of task 3 |           |            |

### Implementation Phase 2

- GOAL-002: [Describe the goal of this phase, e.g., "Implement feature X", "Refactor module Y", etc.]

| Task     | Description           | Completed | Date |
| -------- | --------------------- | --------- | ---- |
| TASK-004 | Description of task 4 |           |      |
| TASK-005 | Description of task 5 |           |      |
| TASK-006 | Description of task 6 |           |      |

## 3. Alternatives

[A bullet point list of any alternative approaches that were considered and why they were not chosen. This helps to provide context and rationale for the chosen approach.]

- **ALT-001**: Alternative approach 1
- **ALT-002**: Alternative approach 2

## 4. Dependencies

[List any dependencies that need to be addressed, such as libraries, frameworks, or other components that the plan relies on.]

- **DEP-001**: Dependency 1
- **DEP-002**: Dependency 2

## 5. Files

[List the files that will be affected by the feature or refactoring task.]

- **FILE-001**: Description of file 1
- **FILE-002**: Description of file 2

## 6. Testing

[List the tests that need to be implemented to verify the feature or refactoring task.]

- **TEST-001**: Description of test 1
- **TEST-002**: Description of test 2

## 7. Risks & Assumptions

[List any risks or assumptions related to the implementation of the plan.]

- **RISK-001**: Risk 1
- **ASSUMPTION-001**: Assumption 1

## 8. Related Specifications / Further Reading

[Link to related spec 1]
[Link to relevant external documentation]
```

© github · MIT · github/awesome-copilot

Смотрите также

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

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