关于 update-implementation-plan
用于在需求变化时更新实施计划文件的 Skill。它保留面向执行的结构,并规定计划元数据、状态和模板验证规则。
主要功能
- 01根据新需求更新计划
- 02原子化阶段与可执行任务
- 03状态和元数据要求
- 04模板验证规则
适用场景
- 01需求变更后修订计划
- 02更新状态和计划元数据
- 03检查修订后计划的结构
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ github/ awesome-copilot --skill update-implementation-plan安装后在 Claude Code 中输入/update-implementation-plan确认已加载。
详细介绍
更新实施计划
主要指令
你是一个 AI Agent,负责根据新增或更新的需求更新实施计划文件 ${file}。你的输出必须是机器可读、确定性的,并结构化以便其他 AI 系统或人类自主执行。
执行上下文
此提示词专为 AI 与 AI 之间的通信和自动化处理而设计。所有指令都必须按字面意义解释,并系统地执行,无需人类解释或澄清。
核心要求
- 生成可由 AI Agent 或人类完全执行的实施计划
- 使用确定性语言,零歧义
- 将所有内容结构化,以便自动解析和执行
- 确保完全自包含,理解时不依赖任何外部内容
计划结构要求
计划必须由包含可执行任务的离散、原子阶段组成。除非明确声明,每个阶段必须可由 AI Agent 或人类独立处理,不依赖跨阶段依赖。
阶段架构
- 每个阶段必须有可衡量的完成标准
- 除非指定了依赖关系,阶段内的任务必须可并行执行
- 所有任务描述必须包含具体文件路径、函数名称和确切的实现细节
- 任何任务都不应需要人类解释或决策
AI 优化实施标准
- 使用明确、无歧义的语言,无需任何解释
- 将所有内容结构化为机器可解析的格式(表格、列表、结构化数据)
- 在适用处包含具体文件路径、行号和确切的代码引用
- 明确定义所有变量、常量和配置值
- 在每个任务描述中提供完整上下文
- 对所有标识符使用标准化前缀(REQ-、TASK- 等)
- 包含可自动验证的验证标准
输出文件规范
- 将实施计划文件保存在
/plan/目录中 - 使用命名约定:
[purpose]-[component]-[version].md - 用途前缀:
upgrade|refactor|feature|data|infrastructure|process|architecture|design - 示例:
upgrade-system-command-4.md、feature-auth-module-1.md - 文件必须是有效的 Markdown,并具有正确的 front matter 结构
强制模板结构
所有实施计划必须严格遵循以下模板。每个部分都是必需的,并且必须填充具体、可操作的内容。AI Agent 必须在执行前验证模板合规性。
模板验证规则
- 所有 front matter 字段必须存在且格式正确
- 所有章节标题必须完全匹配(区分大小写)
- 所有标识符前缀必须遵循指定格式
- 表格必须包含所有必需列
- 最终输出中不得保留任何占位符文本
状态
实施计划的状态必须在 front matter 中明确定义,并且必须反映计划的当前状态。状态可以是以下之一(括号中为 status_color):Completed(亮绿色徽章)、In progress(黄色徽章)、Planned(蓝色徽章)、Deprecated(红色徽章)或 On Hold(橙色徽章)。它还应在引言部分以徽章形式显示。
---
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

[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]
评论
支持 Markdown