一键导入
planning-with-files
// File-based planning for complex tasks. Creates task_plan.md, findings.md, and progress.md. Use for multi-step tasks requiring >5 tool calls.
// File-based planning for complex tasks. Creates task_plan.md, findings.md, and progress.md. Use for multi-step tasks requiring >5 tool calls.
Project knowledge accumulation system - learn from practice, avoid repeating mistakes
Session wrap-up - update handoff + commit + auto-record experience
Systematic debugging - four-phase process, find root cause before fixing
Verification before completion - must run verification commands before claiming done. Evidence before claims.
| name | planning-with-files |
| version | 1.0.0 |
| description | File-based planning for complex tasks. Creates task_plan.md, findings.md, and progress.md. Use for multi-step tasks requiring >5 tool calls. |
| user-invocable | true |
| allowed-tools | ["Read","Write","Edit","Bash","Glob","Grep","WebFetch","WebSearch"] |
Work like Manus: Use persistent markdown files as your "working memory on disk."
Context Window = RAM (volatile, limited)
Filesystem = Disk (persistent, unlimited)
→ Anything important gets written to disk.
Before ANY complex task:
task_plan.md — Phase tracking with acceptance criteriafindings.md — Research storageprogress.md — Session logging| File | Purpose | When to Update |
|---|---|---|
task_plan.md | Phases, progress, decisions | After each phase |
findings.md | Research, discoveries | After ANY discovery |
progress.md | Session log, test results | Throughout session |
Never start a complex task without task_plan.md. Non-negotiable.
"After every 2 view/browser/search operations, IMMEDIATELY save key findings to text files."
Before major decisions, read the plan file.
After completing any phase: mark status, log errors, note files changed.
Every error goes in the plan file. Builds knowledge, prevents repetition.
if action_failed:
next_action != same_action
ATTEMPT 1: Diagnose & Fix
→ Read error carefully, identify root cause, apply targeted fix
ATTEMPT 2: Alternative Approach
→ Same error? Different method, different tool
ATTEMPT 3: Broader Rethink
→ Question assumptions, search for solutions, consider updating plan
AFTER 3 FAILURES: Escalate to User
→ Explain what you tried, share specific error, ask for guidance
| Question | Answer Source |
|---|---|
| Where am I? | Current phase in task_plan.md |
| Where am I going? | Remaining phases |
| What's the goal? | Goal statement in plan |
| What have I learned? | findings.md |
| What have I done? | progress.md |
Use for: Multi-step tasks (3+ steps), research, building projects, many tool calls Skip for: Simple questions, single-file edits, quick lookups
| Don't | Do Instead |
|---|---|
| State goals once and forget | Re-read plan before decisions |
| Hide errors and retry silently | Log errors to plan file |
| Start executing immediately | Create plan file FIRST |
| Repeat failed actions | Track attempts, mutate approach |