跳到正文
Skillpedia
任务与项目7.6k · #13111

create-plan

它能做什么

这项技能为一项复杂任务编写书面计划,包括目标、分步任务、风险和其他方法。它不做任何代码修改。适合希望在动手构建之前先把任务想清楚的人。

适用场景

  • ✓当任务足够大,你希望在任何人开始编码之前有一份书面计划的时候。
  • ✓当你想比较可能的方法及其风险的时候。
  • ✓当你需要一份可以在完成时逐项跟踪的任务清单的时候。

技能链接

https://github.com/tailcallhq/forgecode/blob/main/.forge/skills/create-plan/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“你能为我的应用添加用户登录功能写一份计划吗?包括步骤、风险和备选方案。”

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

工作原理

智能体研究代码库,编写一个带有日期的计划文件,内含可勾选的任务和风险,然后运行验证脚本,检查计划是否完整。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Create Implementation Plan

Generate comprehensive implementation plans that provide strategic guidance without making actual code changes.

When to Use

  • User explicitly requests a plan, roadmap, or implementation strategy
  • Complex tasks requiring structured breakdown before implementation
  • Need for risk assessment and alternative approach analysis
  • Pre-implementation analysis of architectural decisions

Planning Process

1. Initial Assessment

Research the codebase to understand:

  • Project structure and organization
  • Relevant files and components - read thoroughly to understand complete flows
  • Existing patterns and conventions
  • Potential challenges and risks
  • Data flows from entry points to final usage

Use search, sem_search, and read tools to examine the codebase. Use sage if deeper research is required for the use-case. Explicitly cite sources using filepath:line format in your plan.

2. Create Strategic Plan

Generate a Markdown plan file in plans/ directory with naming: plans/{YYYY-MM-DD}-{task-name}-v{N}.md

Example: plans/2025-11-24-add-auth-v1.md

3. Validate Plan

MANDATORY: Run the validation script to ensure the plan meets all requirements:

./.forge/skills/create-plan/validate-plan.sh plans/{YYYY-MM-DD}-{task-name}-v{N}.md

Fix any errors or warnings and re-validate until the plan passes all checks.

4. Plan Structure

# [Task Name]

## Objective

[Clear statement of goal and expected outcomes]

## Implementation Plan

- [ ] 1. [First task with detailed description and rationale]
- [ ] 2. [Second task with detailed description and rationale]
- [ ] 3. [Third task with detailed description and rationale]

## Verification Criteria

- [Criterion 1: Specific, measurable outcome]
- [Criterion 2: Specific, measurable outcome]

## Potential Risks and Mitigations

1. **[Risk Description]**
   Mitigation: [Specific mitigation strategy]

2. **[Risk Description]**
   Mitigation: [Specific mitigation strategy]

## Alternative Approaches

1. [Alternative 1]: [Brief description and trade-offs]
2. [Alternative 2]: [Brief description and trade-offs]

Critical Requirements

  • ALWAYS validate the plan using ./.forge/skills/create-plan/validate-plan.sh after creation
  • ALWAYS use checkbox format (- [ ]) for ALL implementation tasks
  • NEVER use numbered lists or plain bullet points in Implementation Plan section
  • NEVER write code, code snippets, or code examples in the plan
  • Write comprehensive tasks including what, why, affected files, and integration points
  • Use filepath:line format for file references (e.g., crates/forge_repo/src/provider.rs:45)
  • Include clear rationale for each task
  • Provide specific, measurable verification criteria
  • Document assumptions made for ambiguous requirements
  • Focus on strategic "what" and "why", not tactical "how"
  • Describe what needs to be done using natural language, not code

Best Practices

  • Make reasonable assumptions when requirements are ambiguous
  • Use codebase patterns to infer best practices
  • Provide multiple solution paths for complex challenges
  • Balance thoroughness with actionability
  • Create plans that can be executed step-by-step by implementation agents

Boundaries

This is a planning-only skill:

  • ✅ Research codebase and analyze structure
  • ✅ Create strategic plans and documentation
  • ✅ Assess risks and propose alternatives
  • ✅ Describe implementations using natural language
  • ❌ Make actual code changes
  • ❌ Modify files or create implementations
  • ❌ Run tests or build commands
  • ❌ Write code, code snippets, or code examples in plans

If user requests implementation work, suggest switching to an implementation agent.

常见问题

计划会修改任何代码吗?

不会。技能只编写计划,不编辑项目。

计划保存在哪里?

保存在 plans 文件夹中,文件名中包含日期和版本。

为什么要用脚本检查计划?

验证脚本确认计划包含所有必需的章节,然后你再使用它。

详情

作者的原始描述

Generate detailed implementation plans for complex tasks. Creates comprehensive strategic plans in Markdown format with objectives, step-by-step implementation tasks using checkbox format, verification criteria, risk assessments, and alternative approaches. All plans MUST be validated using the included validation script. Use when users need thorough analysis and structured planning before implementation, when breaking down complex features into actionable steps, or when they explicitly ask for a plan, roadmap, or strategy. Strictly planning-focused with no code modifications.

repo: tailcallhq/forgecode

热度

GitHub 星标
7.6k
排名
#13111
许可证
Apache-2.0
更新时间
2026/11/1

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能