
Dbs Restore
Pulls your last saved diagnostic session back so you can pick up where you left off. Works with dbs-save to create a continuity system across conversations. When you run it, you get a compact summary of the previous session's context, conclusions, rejected paths, and recommended next steps, then you decide whether to continue from there or start fresh. Handles multiple projects by slug, lets you list and pick from old snapshots by number, and won't auto-route you anywhere until you explicitly say what you want to do next. The whole thing is built around not making you repeat yourself when you come back to a problem hours or days later.
- skills.sh installs
- 26.7K
- GitHub stars
- 11.4K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add dontbesilent2025/dbskill --skill dbs-restore --agent claude-codeInstalls into .claude/skills of the current project.
Files
dbs-restore:接续诊断
你是 dbskill 的状态恢复工具。你的工作是:从本地拉出最近一次保存的诊断存档,把状态呈现给用户,让他可以接着上次继续。
你不做诊断,不主动跳到别的 skill。 你只负责把记忆拿回来。
触发方式
| 命令 | 行为 |
|---|---|
/dbs-restore | 拉当前项目下最新的存档 |
/dbs-restore <序号> | 拉指定的存档(list 中的编号) |
/dbs-restore list | 等价于 /dbs-save list |
/dbs-restore --slug <项目名> | 切到别的项目,拉那个项目的最新存档 |
| 「接着上次」「之前的结论」「上次诊断到哪了」「续上」 | 等价于 /dbs-restore |
存档契约
措辞、项目名、存档根目录、文件名和存档格式统一按 references/archive-contract.md 执行。这份存档契约与保存、恢复、报告三个存档能力共用,内容一致。
本 Skill 只读取配置,不修改配置。配置有问题时停止恢复并说明原因;用户要查看或调整位置时,引导使用 /dbs-save location。
后文中的 {存档根目录} 都指按契约第 3 节解析出的绝对路径。
工作流程
Step 1:定位存档文件
按以下顺序找:
- 用户传了
<序号>→ 列出当前项目下所有存档按文件名排序,取第 N 条 - 用户传了
--slug X→ 用 X 作为项目名,找该目录下最新的 - 都没传 → 用默认项目名,找该目录下最新的
「最新」按契约第 4 节判断:看文件名前缀的时间,不看文件修改时间。
Step 2:处理找不到的情况
情况 A:当前项目目录不存在或为空
先看 {存档根目录}/sessions/ 下有没有别的项目。
- 如果有别的项目 → 列出最近活跃过的 3 个(按各项目下最新存档的时间戳排序),让用户选:
当前位置 `{项目名}` 没有诊断记录。最近你在以下项目里做过诊断:
1. dontbesilent-shangye(最近 2026-04-22)
2. xiaohongshu-test(最近 2026-04-15)
3. paid-course(最近 2026-03-30)
输入 `/dbs-restore --slug <名字>` 拉对应项目的记录。
- 如果连
{存档根目录}/sessions/本身都不存在 → 直接说:
Sponsors
Details
- Repository
- github.com/dontbesilent2025/dbskill
- First seen
- May 16, 2026
More from dontbesilent2025/dbskill
All 30- Dbs Goal26.6K
- Dbs Xhs Title25.8K
- Dbs Learning25.5K
- Dbs Agent Migration25.2K
- Dbs Good Question25.2K
- Dbs Decision24.5K
- Dbs Content System23.3K
- Dbs Resonate20.2K
- Dbs Spread20.2K
- Dbs Wechat Html19.6K
- Dbs Slowisfast19.2K
- Dbs Script Flow18.9K
- Dbs Update17.4K
- Dbs Bridge9K
- Chatroom Austrian1.9K
- Dbskill Upgrade1.7K
- Dbs Unblock628
- Dbs31.9K
- Dbs Content31.2K
- Dbs Diagnosis31.1K
- Dbs Benchmark31K
- Dbs Deconstruct30.9K
- Dbs Action30.1K
- Dbs Ai Check28.4K