debrief
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseEnd-of-session debrief to capture learnings and keep documentation current.
会话结束复盘,用于记录学习内容并保持文档时效性。
When to Run
运行时机
- Before ending a productive session
- When context window is getting full
- After significant conversations about preferences, workflows, or decisions
- Periodically as maintenance
- 在富有成效的会话结束前
- 当上下文窗口即将存满时
- 在完成关于偏好、工作流或决策的重要对话后
- 定期作为维护任务执行
Workflow
工作流
Phase 1: Gather Context
阶段1:收集上下文
-
Read current state:
- - Current profile
.claude/memories/about-taylor.md - - Existing memories
.claude/memories/index.json - - Current instructions (skim for relevant sections)
CLAUDE.md
-
Get today's date:bash
date +%Y-%m-%d
-
读取当前状态:
- - 当前配置文件
.claude/memories/about-taylor.md - - 已有记忆内容
.claude/memories/index.json - - 当前指令(浏览相关章节)
CLAUDE.md
-
获取今日日期:bash
date +%Y-%m-%d
Phase 2: Analyze Conversation
阶段2:分析对话
Review the conversation for memory-worthy moments:
Preferences (category: )
preference- "I like X better than Y"
- "I prefer...", "I don't want..."
- Choices made when given options
Corrections (category: or )
workflowcontext- "Actually...", "No, that's not right"
- Clarifications about how something works
- Misunderstandings corrected
Personal Context (category: or )
personalcontext- Life events (moves, job changes, milestones)
- Schedule or routine changes
- Health, relationships, living situation
Workflow Insights (category: )
workflow- How Taylor actually uses tools vs. assumptions
- Shortcuts or patterns observed
- Friction points identified
Decisions (category: or )
projectworkflow- Architecture or design choices
- Tool/technology selections
- Process changes
回顾对话内容,筛选值得记录为记忆的时刻:
偏好(分类:)
preference- “我更喜欢X而非Y”
- “我倾向于...”、“我不想要...”
- 给出选项时做出的选择
修正内容(分类:或)
workflowcontext- “实际上...”、“不对,不是这样的”
- 对事物运作方式的澄清
- 被纠正的误解
个人上下文(分类:或)
personalcontext- 生活事件(搬家、换工作、里程碑节点)
- 日程或日常安排变更
- 健康、人际关系、居住情况
工作流洞察(分类:)
workflow- Taylor实际使用工具的方式与预设假设的差异
- 观察到的快捷方式或模式
- 识别出的痛点
决策内容(分类:或)
projectworkflow- 架构或设计选择
- 工具/技术选型
- 流程变更
Phase 3: Present Findings
阶段3:呈现结果
Present findings one category at a time:
markdown
undefined按分类逐一呈现结果:
markdown
undefinedProposed Memories
建议记录的记忆
Memory 1: [Brief title]
记忆1:[简短标题]
Category: preference
Content: Taylor prefers X over Y because Z.
Source: [Quote or paraphrase from conversation]
Action? [Save / Skip / Edit]
undefined分类: preference
内容: Taylor因Z原因更喜欢X而非Y。
来源: [对话引用或转述]
操作?[保存 / 跳过 / 编辑]
undefinedPhase 4: Updates to about-taylor.md
阶段4:更新about-taylor.md
Check if any new information should be added to the profile:
- Job status changes
- New skills or interests
- Updated preferences that are significant enough for the profile
- Life changes (location, situation)
markdown
undefined检查是否有新信息需要添加到配置文件中:
- 工作状态变更
- 新技能或兴趣爱好
- 足够重要的偏好更新
- 生活变化(地点、处境)
markdown
undefinedSuggested Profile Updates
建议的配置文件更新
Update 1: [Section]
更新1:[章节]
Current: [What it says now, if anything]
Proposed: [New or updated text]
Reason: [Why this matters]
Action? [Apply / Skip / Edit]
**Remember:** about-taylor.md has a 300-line limit. Only add significant, lasting information.当前内容: [现有内容(如有)]
建议内容: [新增或修改后的文本]
原因: [该更新的重要性]
操作?[应用 / 跳过 / 编辑]
**注意:** about-taylor.md有300行的限制。仅添加重要且长期有效的信息。Phase 5: Updates to CLAUDE.md
阶段5:更新CLAUDE.md
Check if any workflow or instruction changes should be documented:
- New conventions established
- Process improvements agreed upon
- Corrections to existing instructions
- New skills or capabilities added
markdown
undefined检查是否有工作流或指令变更需要记录:
- 新确立的规范
- 已达成一致的流程改进
- 对现有指令的修正
- 新增的技能或功能
markdown
undefinedSuggested CLAUDE.md Updates
建议的CLAUDE.md更新
Update 1: [Section]
更新1:[章节]
Location: [Which section]
Change: [What to add/modify]
Reason: [Why this should be documented]
Action? [Apply / Skip / Edit]
undefined位置: [对应章节]
变更内容: [需添加/修改的内容]
原因: [记录该变更的必要性]
操作?[应用 / 跳过 / 编辑]
undefinedPhase 6: Execute Approved Changes
阶段6:执行已批准的变更
For approved memories:
- Create JSON file:
.claude/memories/YYYY-MM-DD-NNN.jsonjson{ "date": "YYYY-MM-DD", "category": "preference|workflow|context|project|personal", "content": "Concise description (1-2 sentences)", "source": "conversation|observation|correction" } - Update
.claude/memories/index.json
For approved profile/CLAUDE.md updates:
- Apply edits to the relevant files
- Confirm changes
对于已批准的记忆内容:
- 创建JSON文件:
.claude/memories/YYYY-MM-DD-NNN.jsonjson{ "date": "YYYY-MM-DD", "category": "preference|workflow|context|project|personal", "content": "简洁描述(1-2句话)", "source": "conversation|observation|correction" } - 更新
.claude/memories/index.json
对于已批准的配置文件/CLAUDE.md更新:
- 对相关文件应用编辑
- 确认变更
Phase 7: Summary
阶段7:总结
markdown
undefinedmarkdown
undefinedDebrief Complete
复盘完成
Memories saved: N
Profile updates: N
CLAUDE.md updates: N
Skipped: N
Next debrief recommended: [if context is still full, suggest continuing]
undefined已保存记忆数: N
配置文件更新数: N
CLAUDE.md更新数: N
已跳过数: N
建议下次复盘时间:[如果上下文仍存满,建议继续]
undefinedMemory JSON Format
记忆JSON格式
json
{
"date": "2026-01-20",
"category": "preference",
"content": "Taylor prefers not to over-engineer tooling for rare edge cases.",
"source": "conversation"
}json
{
"date": "2026-01-20",
"category": "preference",
"content": "Taylor更倾向于不为罕见的边缘情况过度设计工具。",
"source": "conversation"
}Tips
提示
- Be selective - not every detail needs a memory
- Memories should be durable (still relevant in weeks/months)
- Profile updates should be significant life/work changes
- CLAUDE.md updates should be reusable conventions, not one-off fixes
- When in doubt, ask rather than skip
- 有所取舍——并非每个细节都需要记录为记忆
- 记忆内容应具备持久性(在数周/数月后仍有参考价值)
- 配置文件更新应聚焦于重要的生活/工作变更
- CLAUDE.md更新应针对可复用的规范,而非一次性修复
- 如有疑问,优先询问而非直接跳过