brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
write-continue-here写一个 CONTINUE_HERE.md 文件捕捉当前会话状态,使新的 Claude Code 会话 能从此次中断处接续。涵盖评估近期工作、用 objective、completed、in-progress、 next-steps 和 context 部分构造延续文件,并验证文件可执行。在结束有未完成 工作的会话、在会话间交接上下文,或保留 git 单独无法捕获的任务状态时使用。
Independent GitHub snapshot · Automated classification · Original documentation governs
写结构化延续文件,使下次会话以完整上下文开始。
收集关于近期工作的事实:
git log --oneline -5
git status
git diff --stat
审查对话上下文:目标是什么、已完成什么、什么部分完成、什么尝试且失败、做了哪些决策。
预期结果: 对当前任务状态的清晰理解 —— 完成项、进行中项和计划下一步。
失败处理: 若不在 git 仓库,跳过 git 命令。延续文件仍可捕获对话上下文和任务状态。
将文件写到项目根,使用以下结构。每个部分必须包含可执行内容,非占位符。
# Continue Here
> Last updated: YYYY-MM-DDTHH:MM:SSZ | Branch: current-branch-name
## Objective
One-paragraph description of what we are trying to accomplish and why.
## Completed
- [x] Finished item with key file paths (e.g., `src/feature.R`)
- [x] Decisions made and their rationale
## In Progress
- [ ] Partially complete work — describe current state (branch, file:line)
- [ ] Known issues with partial work
## Next Steps
1. Immediate next action (most important)
2. Subsequent actions in priority order
3. **[USER]** Items needing user input or decision
## Context
- Failed approaches and why they did not work
- Key constraints or trade-offs discovered
- Relevant issue/PR links
指南:
**[USER]**预期结果: 项目根的 CONTINUE_HERE.md 文件,所有 5 个部分都填充当前会话的真实内容。时间戳和分支准确。
失败处理: 若 Write 失败,检查文件权限。文件应在项目根创建(与 .git/ 同目录)。验证 .gitignore 包含 CONTINUE_HERE.md —— 若否,添加它。
读回 CONTINUE_HERE.md 并确认:
git branch --show-current预期结果: 文件读起来像清晰、可执行的交接,新会话可立即用它恢复工作。
失败处理: 编辑包含占位文本或太模糊的部分。每个部分应通过测试:"新会话能根据此行动而无需澄清问题吗?"
.gitignore 包括 CONTINUE_HERE.mdread-continue-here —— 互补:在会话开始读取并根据延续文件行动bootstrap-agent-identity —— 冷启动身份重建,消费此技能产出的延续文件manage-memory —— 持久跨会话知识(补充此短暂交接)commit-changes —— 写延续文件前将工作保存到 gitwrite-claude-md —— 可选延续指南所在的项目指令