planning-with-files
Skill này làm gì
Skill này giúp AI của bạn giữ kế hoạch, ghi chú nghiên cứu và kết quả trong các file đơn giản khi làm việc. Skill dành cho bất kỳ ai có tác vụ đủ lớn để không nên bị thất lạc trong lịch sử chat.
Khi nào nên dùng
- ✓Khi một tác vụ sẽ cần nhiều bước, nhiều vòng nghiên cứu hoặc nhiều lần kiểm tra theo thời gian.
- ✓Khi bạn muốn theo dõi tiến độ theo từng giai đoạn trong một file kế hoạch.
- ✓Khi các phát hiện phải được lưu để công việc có thể tạm dừng và tiếp tục sau.
Liên kết skill
https://github.com/Galaxy-Dawn/claude-scholar/blob/main/skills/planning-with-files/SKILL.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Lên kế hoạch và nghiên cứu phân tích đối thủ cho ứng dụng của tôi, giữ kế hoạch và các phát hiện trong file mà tôi có thể kiểm tra.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent tạo một file kế hoạch có các giai đoạn và ô đánh dấu, lưu ghi chú nghiên cứu khi làm, cập nhật tiến độ sau mỗi giai đoạn, rồi ghi kết quả cuối vào file riêng của 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.
This is not just an optional planning style. It should be the default persistence layer for complex Codex work.
Use it proactively when:
- the task will likely take more than a few tool calls
- progress needs to be tracked across phases
- findings or evidence must be preserved while working
- the task may branch, pause, or resume later
- relying on chat context alone would be fragile
Quick Start
Before ANY complex task:
- Create
task_plan.mdin the working directory - Define phases with checkboxes
- Update after each phase - mark [x] and change status
- 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 file?
Ba file: một kế hoạch tác vụ, một file ghi chú và một file kết quả cuối cùng.
Vì sao lưu mọi thứ lên đĩa?
File giữ cho kế hoạch và các phát hiện an toàn ngay cả khi ngữ cảnh chat bị mất hoặc công việc bị tạm dừng.
Khi nào nên dùng skill này?
Dùng cho các tác vụ không tầm thường trải qua nhiều bước, chứ không dùng cho các câu hỏi nhanh một lần.
Chi tiết
Mô tả gốc của tác giả
Use this by default for non-trivial multi-step work that needs persistent planning, progress tracking, or durable notes on disk. Trigger when a task will likely span multiple tool calls, research steps, verification loops, or enough context that the plan should not live only in transient chat memory.
Độ phổ biến
- Sao GitHub
- 6.0k
- Vị trí xếp hạng
- #14500
- Giấy phép
- MIT
- Cập nhật
- 19/10/2026
Bình luận
- …
Thêm skill từ kho mã này
agent-identifier
6.0kDạy agent của bạn tạo agent Claude Code, viết đúng tên, mô tả kích hoạt, system prompt và cài đặt của chúng.
architecture-design
6.0kDạy agent của bạn bố cục code chuẩn cho dự án machine learning, dùng mẫu factory và registry khi thêm các thành phần có thể đăng ký.
bug-detective
6.0kGiúp agent của bạn tìm và sửa lỗi code bằng một phương pháp rõ ràng: hiểu vấn đề, thu thập bằng chứng, thử giả thuyết và xác minh bản sửa.
citation-verification
6.0kDạy agent của bạn kiểm tra từng trích dẫn trong một bài báo học thuật với các nguồn học thuật đáng tin cậy, phát hiện tài liệu tham khảo giả hoặc sai.
Skill tương tự
knowledge-capture
394kDạy agent của bạn lưu các quyết định, sở thích và sự kiện quan trọng vào kho Knowledge dưới dạng ghi chú ngắn có ghi nguồn.
knowledge-claim-consolidation
394kGiúp agent của bạn dọn gọn kho Knowledge bằng cách gộp các khẳng định trùng lặp, chuyển chúng đến đúng trang chủ đề và loại bỏ những cái lỗi thời.
knowledge-correct
394kCho phép agent của bạn sửa hoặc rút lại một khẳng định hoặc trang Knowledge cụ thể theo yêu cầu của bạn, và giữ nhật ký những gì đã thay đổi.