界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
数据与研究 · SKILL.md

write-implementation-plan

write-implementation-plan

【数据与研究】Forces the agent to research and write a structured implementation plan before writing any code.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: write-implementation-plan description: Forces the agent to research and write a structured implementation plan before writing any code.

⚠️ MANDATORY DIRECTIVE: PLAN BEFORE EXECUTION

DO NOT WRITE ANY CODE UNTIL implementation_plan.md IS DRAFTED AND APPROVED.

1. THE PLANNING WORKFLOW

%%{init: {"theme": "default", "flowchart": {"useMaxWidth": true}}}%%
flowchart TD
    A[Task Received] --> B[Codebase Research]
    B --> C[Draft implementation_plan.md]
    C --> D{User Approval?}
    D -- No --> E[Refine Plan]
    E --> C
    D -- Yes --> F[Execute Code Changes]
    F --> G[Verify Output]

2. PLAN STRUCTURE REQUIREMENTS

Your implementation_plan.md MUST adhere strictly to this template:

I. GOAL

State the exact objective. 1-2 sentences maximum. No fluff.

II. OPEN QUESTIONS

Expose all ambiguities and missing context immediately using GitHub Alerts:

[!WARNING] [Question or missing context here]

III. PROPOSED CHANGES

Itemize file changes using strict tagging:

  • [NEW] path/to/new_file.ext
  • [MODIFY] path/to/existing_file.ext
  • [DELETE] path/to/dead_file.ext

IV. VERIFICATION PLAN

Actionable, exact steps to prove the implementation works.

3. RULES OF ENGAGEMENT

  • CONCISE & DENSE: Zero preamble. Maximum information density.
  • AUTHORITATIVE: State facts. Eliminate "I think" or "Maybe".
  • RESEARCH FIRST: Blind planning is forbidden. Read files before proposing changes.
我的收藏