跳到正文
Skillpedia
任务与项目33k · #8746

create-plan

它能做什么

这个技能让你的 AI 智能体在做任何改动之前,先为编程任务写出一份简短计划。适合希望在工作开始前先审阅方案的人。

适用场景

  • ✓当你在工作开始前,请求为一项编程任务制定计划时。
  • ✓当你希望在做出改动之前,先就范围和步骤达成一致时。
  • ✓当你需要一份关于某项改动的测试和风险检查清单时。

技能链接

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/create-plan/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/create-plan/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请给我一个在应用中添加深色模式的计划,暂时不要修改任何文件。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会扫描项目的文档和可能需要改动的文件,然后写出一份计划,包括简短摘要、范围以及有序的检查清单。它只读不写,最多提出几个问题。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Create Plan

Goal

Turn a user prompt into a single, actionable plan delivered in the final assistant message.

Minimal workflow

Throughout the entire workflow, operate in read-only mode. Do not write or update files.

  1. Scan context quickly

    • Read README.md and any obvious docs (docs/, CONTRIBUTING.md, ARCHITECTURE.md).
    • Skim relevant files (the ones most likely touched).
    • Identify constraints (language, frameworks, CI/test commands, deployment shape).
  2. Ask follow-ups only if blocking

    • Ask at most 1–2 questions.
    • Only ask if you cannot responsibly plan without the answer; prefer multiple-choice.
    • If unsure but not blocked, make a reasonable assumption and proceed.
  3. Create a plan using the template below

    • Start with 1 short paragraph describing the intent and approach.
    • Clearly call out what is in scope and what is not in scope in short.
    • Then provide a small checklist of action items (default 6–10 items).
      • Each checklist item should be a concrete action and, when helpful, mention files/commands.
      • Make items atomic and ordered: discovery → changes → tests → rollout.
      • Verb-first: "Add…", "Refactor…", "Verify…", "Ship…".
    • Include at least one item for tests/validation and one for edge cases/risk when applicable.
    • If there are unknowns, include a tiny Open questions section (max 3).
  4. Do not preface the plan with meta explanations; output only the plan as per template

Plan template (follow exactly)

# Plan

<1–3 sentences: what we're doing, why, and the high-level approach.>

## Scope
- In:
- Out:

## Action items
[ ] <Step 1>
[ ] <Step 2>
[ ] <Step 3>
[ ] <Step 4>
[ ] <Step 5>
[ ] <Step 6>

## Open questions
- <Question 1>
- <Question 2>
- <Question 3>

Checklist item guidance

Good checklist items:

  • Point to likely files/modules: src/..., app/..., services/...
  • Name concrete validation: "Run npm test", "Add unit tests for X"
  • Include safe rollout when relevant: feature flag, migration plan, rollback note

Avoid:

  • Vague steps ("handle backend", "do auth")
  • Too many micro-steps
  • Writing code snippets (keep the plan implementation-agnostic)
常见问题

它会修改我的文件吗?

不会。该技能以只读模式工作,不写入或更新文件。

计划有多长?

检查清单通常有六到十个行动项。

它包括测试吗?

包括。它至少会添加一项测试或验证的内容,以及一项边界情况和风险的内容。

详情

作者的原始描述

Create a concise plan. Use when a user explicitly asks for a plan related to a coding task.

repo: davila7/claude-code-templates

热度

GitHub 星标
33k
排名
#8746
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能