execute-plan
它能做什么
这项技能从头到尾执行一份书面任务计划,并保持计划文件更新。适合已有计划文件、希望智能体按计划逐项完成工作的人。
适用场景
- ✓当你有一个包含任务列表的计划文件,并希望按顺序完成它们的时候。
- ✓当你希望看到每项任务完成后的进度标记的时候。
- ✓当你希望智能体在停止前确认每项任务都已完成的时候。
技能链接
https://github.com/tailcallhq/forgecode/blob/main/crates/forge_repo/src/skills/execute-plan/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“你能按照我计划文件夹中的登录重构计划完成工作,并在进行时标记每项任务吗?”
每周 5 个新技能,1 分钟读完。
工作原理
智能体读取计划,找到下一项待处理任务,将其标记为进行中,完成工作后标记为已完成,并重复这一过程,直到所有任务都完成。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Execute Plan
Execute structured task plans with automatic status tracking and progress updates.
Commitment to Completion
When a plan is provided, all tasks in the plan must be completed. Before starting execution, recite:
"I will execute this plan to completion. All the 20 tasks will be addressed and marked as DONE."
Execution Steps
STEP 1: Recite the commitment to complete all tasks in the plan.
STEP 2: Read the entire plan file to identify pending tasks based on task_status.
STEP 3: Announce the next pending task and update its status to IN_PROGRESS in the plan file.
STEP 4: Execute all actions required to complete the task and mark the task status to DONE in the plan file.
STEP 5: Repeat from Step 3 until all tasks are marked as DONE.
STEP 6: Re-read the plan file to verify all tasks are completed before announcing completion.
Task Status Format
Use these status indicators in the plan file:
[ ]: PENDING
[~]: IN_PROGRESS
[x]: DONE
[!]: FAILED
Example Usage
- User provides: "Execute plan at plans/2025-11-23-refactor-auth-v1.md"
- Recite commitment: "I will execute this plan to completion..."
- Read the plan file
- Find first
[ ](PENDING) task - Update to
[~](IN_PROGRESS) - Execute the task
- Update to
[x](DONE) - Move to next PENDING task
- Repeat until all tasks appear DONE
- Re-read plan file to verify completion
- Announce completion
常见问题
状态标记分别是什么意思?
空方括号表示待处理,波浪号表示进行中,x 表示已完成,感叹号表示失败。
它会检查自己的工作吗?
会。它在结束时重新读取计划文件,确认每项任务都已标记为完成。
它需要什么文件格式?
它适用于使用技能中所示状态格式的 markdown 计划文件。
详情
作者的原始描述
Execute structured task plans with status tracking. Use when the user provides a plan file path in the format `plans/{current-date}-{task-name}-{version}.md` or explicitly asks you to execute a plan file.
repo: tailcallhq/forgecode
热度
- GitHub 星标
- 7.6k
- 排名
- #13117
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/1
评论
- …
同一仓库的更多技能
create-agent
7.6k教你的智能体为 Forge 编程应用创建或修改自定义智能体,这些智能体以 markdown 文件保存,顶部为设置。
create-command
7.6k教你的智能体为 Forge 编程应用创建可复用的命令,以按顺序执行的 markdown 步骤编写。
create-github-issue
7.6k帮你的智能体提交一个遵循代码仓库自身议题模板的 GitHub 议题,并填写正确的字段和标签。
create-plan
7.6k帮你的智能体在修改任何代码之前,为一项复杂任务编写详细的实施计划,包括步骤、风险和备选方案。