Long Project Manager
Store long-project state in files, not only in chat.
Use the bundled templates in assets/project-template/ (Chinese) or assets/project-template-en/ (English) to create a durable project folder under projects/<project-name>/.
Project folder standard
Create or maintain these files:
- -
README.md — project goal, scope, success criteria, key entry points - INLINECODE4 — current goal, current judgment, progress, blockers, next action
- INLINECODE5 — prioritized work queue
- INLINECODE6 — important decisions and tradeoffs
- INLINECODE7 — dated work log and discoveries
- INLINECODE8 — important files, links, commands, and outputs
- INLINECODE9 — compact checkpoint for resuming later
Start a long project
When the user asks to create a long-running project or preserve context across sessions:
- 1. Normalize a short hyphen-case project name.
- Create
projects/<name>/. - Choose a template language:
-
assets/project-template/ for Chinese
-
assets/project-template-en/ for English
- 4. Copy the full template.
- Fill at least:
-
README.md
-
STATUS.md
-
TODO.md
- 6. Tell the user the project path and the resume command or resume phrasing to use later.
Work inside the project
For every meaningful milestone, write state back to files instead of leaving it only in chat.
Update with this bias:
- - Put the latest judgment and exact next action in
STATUS.md. - Put concrete, actionable tasks in
TODO.md. - Put important or irreversible choices in
DECISIONS.md. - Put dated discoveries, command results, and observations in
LOG.md. - Put durable links, paths, and commands in
REFERENCES.md.
Prefer concise, high-signal updates.
Resume a project later
Read in this order:
- 1. INLINECODE21
- INLINECODE22
- INLINECODE23
- INLINECODE24
- INLINECODE25
- INLINECODE26
Then summarize the project state in 3-5 bullets and continue from the first actionable next step.
Before stopping
Always leave a clean restart point:
- 1. Refresh
STATUS.md. - Update
HANDOFF.md. - Make the next action explicit.
- Make the first file to read explicit.
Quality bar
Always preserve these four things for long tasks:
- - Current goal — what must happen now
- Current judgment — what seems true and why
- Open loops — what remains unresolved
- Next action — the exact next step
If these four things are written down, the project can survive resets, context loss, and handoffs.
Good defaults
- - Keep entries short and concrete.
- Prefer updating existing files over scattering notes across many new files.
- Treat
STATUS.md as the first-screen dashboard. - Treat
HANDOFF.md as the restart capsule. - Treat chat as transient and project files as durable state.
Avoid these mistakes
- - Do not leave important project state only in chat.
- Do not create many extra files when the standard project files are enough.
- Do not replace durable context with vague summaries.
- Do not stop without making the next action explicit in
STATUS.md or HANDOFF.md.
长期项目管理器
将长期项目状态存储在文件中,而不仅仅停留在对话中。
使用 assets/project-template/(中文)或 assets/project-template-en/(英文)中的捆绑模板,在 projects/<项目名称>/ 下创建持久化项目文件夹。
项目文件夹标准
创建或维护以下文件:
- - README.md — 项目目标、范围、成功标准、关键入口点
- STATUS.md — 当前目标、当前判断、进度、阻碍、下一步行动
- TODO.md — 优先级排序的工作队列
- DECISIONS.md — 重要决策与权衡
- LOG.md — 带日期的工作日志和发现
- REFERENCES.md — 重要文件、链接、命令和输出
- HANDOFF.md — 用于后续恢复的紧凑检查点
启动长期项目
当用户要求创建长期运行项目或跨会话保留上下文时:
- 1. 规范化一个短横线分隔的小写项目名称。
- 创建 projects/<名称>/。
- 选择模板语言:
- assets/project-template/ 用于中文
- assets/project-template-en/ 用于英文
- 4. 复制完整模板。
- 至少填写:
- README.md
- STATUS.md
- TODO.md
- 6. 告知用户项目路径以及后续使用的恢复命令或恢复措辞。
在项目内工作
对于每个有意义的里程碑,将状态写回文件,而不是仅留在对话中。
按以下倾向更新:
- - 将最新判断和确切下一步行动放入 STATUS.md。
- 将具体、可操作的任务放入 TODO.md。
- 将重要或不可逆的选择放入 DECISIONS.md。
- 将带日期的发现、命令结果和观察放入 LOG.md。
- 将持久的链接、路径和命令放入 REFERENCES.md。
优先采用简洁、高信息量的更新。
后续恢复项目
按以下顺序阅读:
- 1. README.md
- STATUS.md
- TODO.md
- DECISIONS.md
- LOG.md
- HANDOFF.md
然后用3-5个要点总结项目状态,并从第一个可操作的下一步继续。
停止前
始终留下一个干净的重新启动点:
- 1. 刷新 STATUS.md。
- 更新 HANDOFF.md。
- 明确下一步行动。
- 明确要读取的第一个文件。
质量标准
对于长期任务,始终保留以下四项内容:
- - 当前目标 — 现在必须做什么
- 当前判断 — 什么看起来是真实的及其原因
- 未解决问题 — 什么仍未解决
- 下一步行动 — 确切的下一个步骤
如果这四项内容被记录下来,项目就能经受住重置、上下文丢失和交接。
良好默认做法
- - 保持条目简短具体。
- 优先更新现有文件,而非将笔记分散到许多新文件中。
- 将 STATUS.md 视为首页仪表盘。
- 将 HANDOFF.md 视为重启胶囊。
- 将对话视为临时性的,项目文件视为持久化状态。
避免这些错误
- - 不要将重要项目状态仅留在对话中。
- 当标准项目文件足够时,不要创建许多额外文件。
- 不要用模糊的摘要替代持久化上下文。
- 不要在未在 STATUS.md 或 HANDOFF.md 中明确下一步行动的情况下停止。