Chuyển đến nội dung
Skillpedia
Công việc và dự án33k · #9115

planning-with-files

Skill này làm gì

Skill này hướng dẫn agent AI dùng các tệp markdown trên đĩa làm bộ nhớ làm việc cho các tác vụ phức tạp. Skill dành cho bất kỳ ai chạy dự án nhiều bước, nghiên cứu hoặc công việc có cấu trúc với agent.

Khi nào nên dùng

  • ✓Khi bạn bắt đầu một tác vụ phức tạp có nhiều giai đoạn và muốn có một kế hoạch bằng văn bản để theo dõi.
  • ✓Khi một tác vụ nghiên cứu tạo ra nhiều phát hiện cần được lưu lại và không bị mất.
  • ✓Khi bạn muốn có bản ghi tiến độ cho thấy những giai đoạn nào đã hoàn thành.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/workflow-automation/planning-with-files/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Bạn có thể tạo một tệp kế hoạch cho dự án nghiên cứu này và theo dõi tiến độ khi chúng ta làm không?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent tạo tệp kế hoạch tác vụ có các giai đoạn và ô đánh dấu, lưu phát hiện vào tệp ghi chú, rồi cập nhật kế hoạch sau mỗi giai đoạn.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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
Câu hỏi thường gặp

Skill dùng bao nhiêu tệp?

Skill dùng mô hình ba tệp: kế hoạch tác vụ, tệp ghi chú và sản phẩm cuối cùng.

Vì sao lưu mọi thứ vào tệp?

Skill cho biết tệp giữ mục tiêu và phát hiện luôn hiển thị, nhờ vậy agent không bị mất dấu trong công việc dài.

Khi nào nên bỏ qua skill này?

Skill dành cho các tác vụ không tầm thường, nên một yêu cầu đơn giản một bước không cần dùng đến.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
33k
Vị trí xếp hạng
#9115
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự