
Planning With Files Zh
A systematic approach to managing complex, multi-step tasks by creating three persistent markdown files: task_plan.md for stages and progress tracking, findings.md for research discoveries, and progress.md for session logs. Uses hooks to automatically restore context after /clear commands and reminds you to update progress after each tool use. The "three-failure protocol" prevents repeated attempts at the same broken approach. Most valuable for research tasks, multi-file projects, or anything requiring more than five tool calls where you'd otherwise lose track of what you've tried and what worked. Includes session recovery scripts to pick up where you left off.
- skills.sh installs
- 18.6K
- GitHub stars
- 28K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add othmanadi/planning-with-files --skill planning-with-files-zh --agent claude-codeInstalls into .claude/skills of the current project.
Files
文件规划系统
像 Manus 一样工作:用持久化的 Markdown 文件作为你的「磁盘工作记忆」。
第一步:恢复项目状态
继续之前,先解析属于此任务的计划目录:
- 使用已安装的
scripts/resolve-plan-dir.sh(或.ps1),结合该主机的PLAN_ID和PWF_PLAN_ROOT,从这一个选定目录读取task_plan.md、progress.md和findings.md。 - 如果显式选择器被拒绝,或会话隔离已启用且存在多个计划但没有
PLAN_ID,请修正固定关系,不要回退到另一项任务。只有没有适用的选择器或命名计划时,才使用项目根目录的旧文件。 - 运行
git diff --stat,确认尚未记录的代码变更。
下文所有规划文件名都指向这个选定目录。并行任务时,在启动每个主机前固定它,或使用独立工作树;在子进程中导出变量不会改变主机环境。一个协调者拥有共享计划和摘要,工作者使用分配的文件或账本。
自动恢复到此为止。无参数运行 session-catchup.py 以及生命周期钩子都不会检查代理的会话存储。只有在用户明确要求查阅本机会话历史时,才选择以下模式之一:
# Linux/macOS
SKILL_DIR="${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/skills/planning-with-files-zh}"
# 仅显示同项目的汇总计数,不显示会话摘录
$(command -v python3 || command -v python) "${SKILL_DIR}/scripts/session-catchup.py" --metadata "$(pwd)"
# 显式的有限重放,输出由 nonce 框定的同项目摘录
$(command -v python3 || command -v python) "${SKILL_DIR}/scripts/session-catchup.py" --replay "$(pwd)"
# Windows PowerShell
& (Get-Command python -ErrorAction SilentlyContinue).Source "$env:USERPROFILE\.claude\skills\planning-with-files-zh\scripts\session-catchup.py" --metadata (Get-Location)
# 只有在用户明确同意后,才将 --metadata 改为 --replay。
Sponsors
Details
- Repository
- github.com/othmanadi/planning-with-files
- Category
- Productivity & Planning
- First seen
- Apr 16, 2026