AGENT SKILL

planning-with-files

Use persistent on-disk planning (`task_plan.md`, `findings.md`, `progress.md`) to manage multi-step file-organization tasks with many tool calls and verification steps.

License 许可
Apache-2.0
最近更新
2026-11-14
Stars
★ 0
Forks
1

01 前言 Front Matter

name
planning-with-files
metadata
{ "hooks": { "Stop": [ { "hooks": [ { "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/scripts/check-complete.sh" } ] } ], "PreToolUse": [ { "hooks": [ { "type": "command", "command": "cat task_plan.md 2>/dev/null | head -30 || true" } ], "matcher": "Write|Edit|Bash" } ], "PostToolUse": [ { "hooks": [ { "type": "command", "command": "echo '[planning-with-files] File updated. If this completes a phase, update task_plan.md status.'" } ], "matcher": "Write|Edit" } ], "SessionStart": [ { "hooks": [ { "type": "command", "command": "echo '[planning-with-files] Ready. Auto-activates for complex tasks, or invoke manually with /planning-with-files'" } ] } ] }, "version": "2.1.2", "user-invocable": true }
description
Use persistent on-disk planning (`task_plan.md`, `findings.md`, `progress.md`) to manage multi-step file-organization tasks with many tool calls and verification steps.
allowed-tools
[ "Read", "Write", "Edit", "Bash", "Glob", "Grep", "WebFetch", "WebSearch" ]

02 资源文件 7

03 SKILL.md 正文

Steps

  1. Create task_plan.md, findings.md, progress.md in the working project directory.
  2. Write the non-negotiables into task_plan.md (required folder names, “each file exactly once”, “no renames/content edits”, verification checks).
  3. Log key discoveries and tool constraints in findings.md (e.g., available extractors like pdftotext, missing pandoc/markitdown, fallback plan).
  4. Update progress.md as moves occur (counts moved per folder, any low-confidence items flagged for review).
  5. Before finalizing, re-read task_plan.md and run the verification checklist; record results in progress.md.

Expected Result

The task remains coherent across many actions, errors are not repeated, and final completeness/correctness checks are explicit and recorded.

04 同仓库更多 Skills