engram-memory-protocol
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseWhen to Use
使用场景
Use this skill when:
- Making architecture or implementation decisions
- Fixing bugs with non-obvious root causes
- Discovering patterns, gotchas, or user preferences
- Closing a session or after compaction
在以下场景中使用本skill:
- 制定架构或实现决策时
- 修复具有非明显根本原因的bug时
- 发现模式、陷阱或用户偏好时
- 结束会话或完成压缩操作后
Save Rules
保存规则
Call immediately after:
mem_save- decision
- bugfix
- pattern/discovery
- config/preference changes
Use structured content:
- What
- Why
- Where
- Learned
Use stable for evolving topics.
topic_key在以下操作后立即调用:
mem_save- 决策制定完成后
- bug修复完成后
- 发现模式/新发现后
- 配置/偏好设置更改后
使用结构化内容:
- 内容(What)
- 原因(Why)
- 位置(Where)
- 经验总结(Learned)
为不断演进的主题使用稳定的。
topic_keySearch Rules
搜索规则
- On recall requests: first, then
mem_context.mem_search - Before similar work: run proactive .
mem_search
- 处理召回请求时:先调用,再调用
mem_context。mem_search - 开展类似工作前:主动运行。
mem_search
Session Close Rules
会话结束规则
Before saying done/listo:
- Call .
mem_session_summary - Include goal, discoveries, accomplished, next steps, relevant files.
After compaction:
- Save summary first.
- Recover context.
- Continue work.
在说“完成/结束(done/listo)”之前:
- 调用。
mem_session_summary - 包含目标、新发现、已完成事项、下一步计划和相关文件。
完成压缩操作后:
- 先保存摘要。
- 恢复上下文。
- 继续工作。