SKILL DETAIL
dbs-update
dontbesilent2025/dbskill/dbs-update
This skill updates the official dbskill repository while ensuring the user's archives, reports, and decision records remain intact. It only updates the official repository dontbesilent2025/dbskill, does not touch other user-installed skills, and does not create background tasks or scheduled jobs. When the user explicitly requests an update, upgrade, or version check, or replies with "1" after an update reminder, this skill performs the update. The process runs an npx command to sync all official skills and records the update time to avoid redundant reminders. On success, it informs the user to start a new conversation to use the new capabilities; on failure, it briefly explains the reason and guides the user to resolve permission or network issues.
Installation
npx skills add https://github.com/dontbesilent2025/dbskill --skill dbs-update
스킬 파일
SKILL.md
최근 동기화 · 2026. 8. 29.
agents/openai.yaml›
interface:
display_name: "dbs-update"
short_description: "同步官方 dbskill 更新,保留用户存档、其他 Skill 与本地个性化配置"
default_prompt: "使用 $dbs-update,同步官方 dbskill 更新并保留用户本地资产。"
SKILL.md›
---
name: dbs-update
description: 更新官方 dbskill,并保留其他 Skill 与用户存档。用户要求更新、升级、检查 dbskill 版本,或在更新提醒后回复 1 时使用。
---
# dbs-update:更新 dbskill
用户已经明确要求更新 dbskill,或在上一条 dbskill 更新提醒后回复了 `1`。两种情况都直接执行更新,不再做第二次文字确认;宿主若要求 Shell 权限,由用户在宿主的权限窗口中决定。
只有上一条助手回复明确包含 dbskill 更新提醒时,单独回复的 `1` 才代表更新。缺少这段上下文时,不要自行解释数字含义。
## 更新范围
- 只更新官方仓库 `dontbesilent2025/dbskill`。
- 保留用户在 `~/.dbs/` 中的存档、报告和决策记录。
- 不更新用户安装的其他 Skill。
- 不创建后台任务、定时任务或 Agent Hook。
## 执行步骤
1. 运行以下命令,同步官方 dbskill 的全部正式 Skill 到已支持的 Agent:
```bash
npx -y skills add dontbesilent2025/dbskill -g --all
```
2. 命令成功后记录本次更新时间,避免当前对话仍加载旧 Skill 时重复提醒:
```bash
mkdir -p "$HOME/.dbs" && date +%s > "$HOME/.dbs/update_check_at"
```
3. 根据安装命令的退出状态确认是否完成。命令成功时告诉用户更新已完成,并提醒用户新建一次对话后再使用新能力。
4. 命令失败时,用一句话说明失败原因和下一步需要用户处理的权限或网络问题。不要把完整终端日志直接贴给用户,除非用户要求。
## 回复格式
成功:
> dbskill 已更新完成。当前对话如果还没有读取到新能力,新建一次对话后即可使用。
失败:
> dbskill 没有更新完成:{简短原因}。处理完 {权限或网络问题} 后,再说一次「更新 dbskill」。
## 边界
- 用户只问版本、更新内容或是否需要更新时,先回答问题,不执行命令。
- 用户明确要求检查更新且希望实际同步时,按本 Skill 更新。
- 不使用 `npx skills update`,该命令可能更新用户安装的其他 Skill。
---
完成当前任务后直接结束。只有用户明确询问下一步,且当前环境已经安装 `/dbs` 时,简短提示:「下一步不确定时,可以输入 `/dbs`。」