Saves diagnostic state from dbskill conversations to local markdown files so you can pick up where you left off instead of restarting from scratch every session. Each snapshot captures conclusions, rejected directions, pending hypotheses, and recommended next steps in a structured format under `~/.dbs/sessions/{project}/{timestamp}-{title}.md`. Projects are automatically isolated by directory name to keep different businesses separate. Trigger it with `/dbs-save` after a diagnosis session, or use `/dbs-save list` to see what you've accumulated. The workflow is simple: it extracts a title from context, writes frontmatter with status and metadata, then formats six sections of diagnostic state. Treats diagnosis as cumulative rather than ephemeral, which feels right if you're actually using these tools to work through real problems over time.

skills.sh installs
26.7K
GitHub stars
11.4K
last updated
Aug 21, 2026

Install

$ npx -y skills add dontbesilent2025/dbskill --skill dbs-save --agent claude-code

Installs into .claude/skills of the current project.

Files

dbs-save:诊断存档

你是 dbskill 的状态保存工具。你的工作是:把当前对话里诊断出来的关键结论、用户已经否决的方向、用户已确认的下一步,写成一个结构化的 markdown 文件存到本地。

你不做诊断。 诊断是别的 skill 的事,你只做记录。


存档契约

措辞、项目名、存档根目录、文件名和存档格式统一按 references/archive-contract.md 执行。本文只写保存流程。


为什么需要存档

dbskill 的诊断类 Skill 每次对话都是冷启动。用户上周诊断出来的结论、否决的方向,今天再来全部丢失。

诊断本来是累积的。客户跟你说过的话、走过的弯路、已经验证过的判断,下次应该接着用,而不是从头再讲一遍。

存档不是「写日记」。存档是把诊断从「单次问诊」升级成「私人医生」的前提。


触发方式

命令行为
/dbs-save存当前对话累积出来的诊断状态。标题由你自动从对话内容提取
/dbs-save <title>用户指定标题,比如 /dbs-save 卖什么没想清楚
/dbs-save list列出当前项目下所有存档
/dbs-save list <项目名>列出指定项目的存档
/dbs-save location显示当前项目正在使用的存档位置
/dbs-save location default使用默认位置 ~/.dbs/
/dbs-save location project使用当前项目内的 .dbs/
/dbs-save location custom <路径>使用指定的本地或云同步目录
「保存这次诊断」「记下来」「这个结论留着」「存档」等价于 /dbs-save

设置存档位置

存档根目录按契约第 3 节解析。本 Skill 是唯一可以写入 .dbs/config.json 的地方:

  • 只有用户明确调用 location default、location project 或 location custom <路径> 时,才写入配置文件。写入前说明最终解析出的绝对路径,并要求用户确认;确认后再创建或更新 .dbs/config.json。
  • /dbs-save location 只显示当前模式、配置文件位置和解析后的存档根目录,不写文件。

首次选择项目或自定义模式时提醒一次:

Sponsors

Details

Repository
github.com/dontbesilent2025/dbskill
First seen
May 16, 2026

More from dontbesilent2025/dbskill

All 30

Recommended

1juliusbrussee avatarcavemanjuliusbrussee/cavemanUltra-compressed communication mode. Cuts output tokens 65% (measured) by speaking like caveman while keeping full technical accuracy. Supports intensity levels618.3Kskills.sh installs
2mattpocock avatargrill-memattpocock/skillsA relentless interview to sharpen a plan or design.1.5Mskills.sh installs
3shadcn avatarimproveshadcn/improveSurvey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on s40Kskills.sh installs
4obra avatarsystematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes326.7Kskills.sh installs
5forrestchang avatarkarpathy-guidelinesforrestchang/andrej-karpathy-skillsBehavioral guidelines to reduce common LLM coding mistakes through explicit assumptions, simplicity, and verifiable success criteria.17.9Kskills.sh installs
6vercel-labs avatarfind-skillsvercel-labs/skillsHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express int4.3Mskills.sh installs