1.7k vshulcz
deja-reflect Skill
带 deja-vu 的会话结束反思与记忆整理。回顾做了哪些决定、哪些命令出错以及如何修复,并用 deja remember 记录持久的项目规则或决定,让下次会话直接带着它们开始。
安装方式:把技能目录放入 ~/.claude/skills/(Claude Code)或在 claude.ai 设置中启用;也可复制右侧安装命令一键添加。
技能指令原文(SKILL.md)
Run an end-of-session reflection over the current task and record only durable, non-obvious project facts in deja-vu.
Workflow
- Inspect what was already recorded or hit in this project:
- Run
deja notesto check existing promoted decisions so you do not duplicate or contradict an active rule. (Ifdejais not on PATH, runnpx -y @vshulcz/deja-vu ....) - Run
deja frictionto see recurring command failures across sessions.
- Distill durable findings from this session:
- Keep: architectural invariants, required flags/commands that were non-obvious, rejected approaches and why they failed, user-stated project rules.
- Skip: anything already obvious from reading the code, temporary debugging steps, or one-off typos.
- Confirm with the user before writing:
- Present the 1–3 concise one-line facts you propose to store.
- Once confirmed, store each via the
dejaMCP tool (mode: "remember") or in the shell:
deja remember "<concise self-contained decision and why>" --tag <topic>
- If an older note was superseded by today's work, mark it with
deja promote --state superseded --note "".