此登錄庫釘選版本所收錄的最新上游作者日期。

create-implementation-plan

已同步 v1.1.0 授權: MIT 來源: github/awesome-copilot/skills/create-implementation-plan 提交: 4742f26 收錄的最新變更:

Create a new implementation plan file for new features, refactoring existing code or upgrading packages, design, architecture or infrastructure.

摘要

用途
將擬議的軟體變更整理為結構化、可執行的實作計畫,並列出分階段任務與可驗證的完成條件。
使用時機
在開始實作前,需要將工作拆分為可獨立執行的階段,並明確標示相依關係與驗證方式時使用。
輸出結果
產出一份存於 /plan/ 的 Markdown 計畫,包含前置中繼資料與狀態、需求、分階段任務、替代方案、相依項目、受影響檔案、測試、風險、假設及相關參考資料。
上游變更(10 筆,最新收錄 2026-06-30)
df58232 create-implementation-plan: require unique identifiers (#1989) (#2142) 新增計畫識別碼必須各宣告一次的規則,區分宣告與引用,並提供重複識別碼檢查方式。
caab1f6 Convert all prompts to skills and update plugin manifests 新增 create-implementation-plan 技能檔,內容包含規劃要求與結構化計畫範本。
531b511 fetch -> web/fetch everywhere 將提示詞工具清單中的 `fetch` 替換為 `web/fetch`。
5afc90e Revert "fetch -> web/fetch for everything" 將提示詞工具清單中的 `web/fetch` 改回 `fetch`。
ca790b1 fetch -> web/fetch for everything 將提示詞工具清單中的 `fetch` 替換為 `web/fetch`。
2f9c96d Fix deprecated 'mode' attribute in prompt files by renaming to 'agent' (#441) 將提示詞中繼資料欄位從 `mode` 改名為 `agent`。
2b45ca4 feat: update deprecated tool names to namespaced versions (#365) 將提示詞工具清單中的 `codebase`、`searchResults`、`terminalLastCommand` 和 `terminalSelection` 替換為命名空間版本。
69cd4fa update `editFiles` to `edit/editFiles` (#319) 將提示詞工具名稱 `editFiles` 改為 `edit/editFiles`。
647a2b4 UPDATE: Add status badge to implementation plan templates (#108) 在實作計畫範本中新增狀態說明、前置中繼資料的狀態欄位,以及狀態徽章。
e1c7c7a Add 18 new prompts files (#56) 新增 create-implementation-plan 提示詞,內含規劃要求與結構化的實作計畫範本。
npx skills add "lettucebo/Skills#v2.2.0@create-implementation-plan" --full-depth

⚠ v2.2.0 發布後即可使用

Create Implementation Plan

Primary Directive

Your goal is to create a new implementation plan file for ${input:PlanPurpose}. Your output must be machine-readable, deterministic, and structured for autonomous execution by other AI systems or humans.

Execution Context

This prompt is designed for AI-to-AI communication and automated processing. All instructions must be interpreted literally and executed systematically without human interpretation or clarification.

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

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

  • 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
  • No placeholder text may remain in the final output
  • Identifiers must be uniquely declared. Every identifier (REQ-NNN, SEC-NNN, CON-NNN, GUD-NNN, PAT-NNN, GOAL-NNN, TASK-NNN, ALT-NNN, DEP-NNN, FILE-NNN, TEST-NNN, RISK-NNN, ASSUMPTION-NNN) must be declared exactly once. A declaration is where the identifier introduces a row: the leading cell in a TASK/GOAL table row, or the bolded prefix in a bullet line like - **REQ-001**: .... The same identifier may then appear any number of times as a reference elsewhere in the plan (a TASK body citing a REQ, one TASK citing another TASK, the Dependencies section pointing at a DEP already declared upstream, etc.). References are expected and not collisions.

Identifier Uniqueness Check

Run these checks before finalizing the plan. Checks (1) and (2) target declarations and must return zero rows. Check (3) is a broad informational scan: it will surface valid references too, so use it for awareness rather than as a gate.

# Set PLAN_FILE to the plan being validated.
PLAN_FILE="/plan/<purpose>-<component>-<version>.md"

# 1) Duplicate TASK / GOAL declarations in table rows.
grep -oE '\| (TASK|GOAL)-[0-9]+ \|' "$PLAN_FILE" \
  | sed -E 's/.*((TASK|GOAL)-[0-9]+).*/\1/' \
  | sort | uniq -d

# 2) Duplicate declaration IDs in bullet-style spec lines.
grep -oE '^- \*\*(REQ|SEC|CON|GUD|RISK|ASSUMPTION|TASK|GOAL|FILE|TEST|PAT|ALT|DEP)-[0-9]+\*\*:' "$PLAN_FILE" \
  | sed -E 's/^- \*\*([A-Z]+-[0-9]+)\*\*:.*/\1/' \
  | sort | uniq -d

# 3) Broad duplicate scan (diagnostic only; may include valid references).
grep -oE '(REQ|SEC|CON|GUD|RISK|ASSUMPTION|TASK|GOAL|FILE|TEST|PAT|ALT|DEP)-[0-9]+' "$PLAN_FILE" \
  | sort | uniq -d

Prerequisites: a POSIX-compatible shell (sh / bash) with grep, sed, sort, and uniq. On Windows without these tools, use equivalent platform-native commands and preserve the same declaration-vs-reference logic.

If check (1) or (2) returns any row, re-number the duplicate so each identifier is declared exactly once, then re-run the checks until both are empty.

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.

---
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]

歷程

v1.0.0 bootstrap
v1.1.0 baseline-verified 4742f26
v1.1.0 license-refresh 4742f26