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

planning-with-files

它能做什么

这项技能指导你的智能体把磁盘上的 Markdown 文件用作复杂任务的工作记忆。适合与智能体一起完成多步骤项目、研究或结构化工作的任何人。

适用场景

  • ✓开始一个包含多个阶段的复杂任务,想要有书面计划可循的时候。
  • ✓研究任务产生了许多应当保存、不能丢失的发现的时候。
  • ✓想要一份显示哪些阶段已完成的进度记录的时候。

技能链接

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/workflow-automation/planning-with-files/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“请为这个研究项目设置一个计划文件,并在推进过程中跟踪我们的进度。”

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

工作原理

智能体创建一个包含阶段和复选框的任务计划文件,把发现保存到笔记文件中,并在每个阶段结束后更新计划。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Planning with Files

Work like Manus: Use persistent markdown files as your "working memory on disk."

Quick Start

Before ANY complex task:

  1. Create task_plan.md in the working directory
  2. Define phases with checkboxes
  3. Update after each phase - mark [x] and change status
  4. Read before deciding - refresh goals in attention window

The 3-File Pattern

For every non-trivial task, create THREE files:

File Purpose When to Update
task_plan.md Track phases and progress After each phase
notes.md Store findings and research During research
[deliverable].md Final output At completion

Core Workflow

Loop 1: Create task_plan.md with goal and phases
Loop 2: Research → save to notes.md → update task_plan.md
Loop 3: Read notes.md → create deliverable → update task_plan.md
Loop 4: Deliver final output

The Loop in Detail

Before each major action:

Read task_plan.md  # Refresh goals in attention window

After each phase:

Edit task_plan.md  # Mark [x], update status

When storing information:

Write notes.md     # Don't stuff context, store in file

task_plan.md Template

Create this file FIRST for any complex task:

# Task Plan: [Brief Description]

## Goal
[One sentence describing the end state]

## Phases
- [ ] Phase 1: Plan and setup
- [ ] Phase 2: Research/gather information
- [ ] Phase 3: Execute/build
- [ ] Phase 4: Review and deliver

## Key Questions
1. [Question to answer]
2. [Question to answer]

## Decisions Made
- [Decision]: [Rationale]

## Errors Encountered
- [Error]: [Resolution]

## Status
**Currently in Phase X** - [What I'm doing now]

notes.md Template

For research and findings:

# Notes: [Topic]

## Sources

### Source 1: [Name]
- URL: [link]
- Key points:
  - [Finding]
  - [Finding]

## Synthesized Findings

### [Category]
- [Finding]
- [Finding]

Critical Rules

1. ALWAYS Create Plan First

Never start a complex task without task_plan.md. This is non-negotiable.

2. Read Before Decide

Before any major decision, read the plan file. This keeps goals in your attention window.

3. Update After Act

After completing any phase, immediately update the plan file:

  • Mark completed phases with [x]
  • Update the Status section
  • Log any errors encountered

4. Store, Don't Stuff

Large outputs go to files, not context. Keep only paths in working memory.

5. Log All Errors

Every error goes in the "Errors Encountered" section. This builds knowledge for future tasks.

When to Use This Pattern

Use 3-file pattern for:

  • Multi-step tasks (3+ steps)
  • Research tasks
  • Building/creating something
  • Tasks spanning multiple tool calls
  • Anything requiring organization

Skip for:

  • Simple questions
  • Single-file edits
  • Quick lookups

Anti-Patterns to Avoid

Don't Do Instead
Use TodoWrite for persistence Create task_plan.md file
State goals once and forget Re-read plan before each decision
Hide errors and retry Log errors to plan file
Stuff everything in context Store large content in files
Start executing immediately Create plan file FIRST

Advanced Patterns

See reference.md for:

  • Attention manipulation techniques
  • Error recovery patterns
  • Context optimization from Manus

See examples.md for:

  • Real task examples
  • Complex workflow patterns
常见问题

它使用多少个文件?

该技能采用三文件模式:任务计划、笔记文件和最终交付物。

为什么要把内容保存到文件中?

该技能说明,文件可以让目标和发现始终清晰可见,使智能体在长时间工作中不会迷失方向。

什么时候可以不用它?

它适用于非简单的任务,因此只有一步的简单请求不需要它。

详情

作者的原始描述

Transforms workflow to use Manus-style persistent markdown files for planning, progress tracking, and knowledge storage. Use when starting complex tasks, multi-step projects, research tasks, or when the user mentions planning, organizing work, tracking progress, or wants structured output.

repo: davila7/claude-code-templates

热度

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能