From 900a0e092995ebc5863cb40c6854e4c641397c12 Mon Sep 17 00:00:00 2001 From: dontbesilent Date: Sat, 21 Mar 2026 03:29:28 +0800 Subject: [PATCH] refactor: move skills into skills/ directory for npx skills add support - Moved all skill directories (dbs, dbs-benchmark, dbs-content, dbs-deconstruct, dbs-diagnosis, dbs-unblock) into skills/ - Updated README with npx skills add install method - Kept manual install as fallback Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude Co-Authored-By: Happy --- README.md | 10 ++++++++-- {dbs-benchmark => skills/dbs-benchmark}/SKILL.md | 0 {dbs-content => skills/dbs-content}/SKILL.md | 0 {dbs-deconstruct => skills/dbs-deconstruct}/SKILL.md | 0 {dbs-diagnosis => skills/dbs-diagnosis}/SKILL.md | 0 {dbs-unblock => skills/dbs-unblock}/SKILL.md | 0 {dbs => skills/dbs}/SKILL.md | 0 7 files changed, 8 insertions(+), 2 deletions(-) rename {dbs-benchmark => skills/dbs-benchmark}/SKILL.md (100%) rename {dbs-content => skills/dbs-content}/SKILL.md (100%) rename {dbs-deconstruct => skills/dbs-deconstruct}/SKILL.md (100%) rename {dbs-diagnosis => skills/dbs-diagnosis}/SKILL.md (100%) rename {dbs-unblock => skills/dbs-unblock}/SKILL.md (100%) rename {dbs => skills/dbs}/SKILL.md (100%) diff --git a/README.md b/README.md index 2b7709c..cb23afe 100644 --- a/README.md +++ b/README.md @@ -30,8 +30,14 @@ deconstruct(随时拆概念) ## 安装 ```bash -# 安装 / 更新(同一条命令) -cd ~/.claude/skills && git clone https://github.com/dontbesilent2025/dbskill.git /tmp/dbskill && cp -r /tmp/dbskill/dbs* . && rm -rf /tmp/dbskill +# 推荐:一行安装 +npx skills add dontbesilent2025/dbskill +``` + +或手动安装: + +```bash +git clone https://github.com/dontbesilent2025/dbskill.git /tmp/dbskill && cp -r /tmp/dbskill/skills/dbs* ~/.claude/skills/ && rm -rf /tmp/dbskill ``` ## 使用方式 diff --git a/dbs-benchmark/SKILL.md b/skills/dbs-benchmark/SKILL.md similarity index 100% rename from dbs-benchmark/SKILL.md rename to skills/dbs-benchmark/SKILL.md diff --git a/dbs-content/SKILL.md b/skills/dbs-content/SKILL.md similarity index 100% rename from dbs-content/SKILL.md rename to skills/dbs-content/SKILL.md diff --git a/dbs-deconstruct/SKILL.md b/skills/dbs-deconstruct/SKILL.md similarity index 100% rename from dbs-deconstruct/SKILL.md rename to skills/dbs-deconstruct/SKILL.md diff --git a/dbs-diagnosis/SKILL.md b/skills/dbs-diagnosis/SKILL.md similarity index 100% rename from dbs-diagnosis/SKILL.md rename to skills/dbs-diagnosis/SKILL.md diff --git a/dbs-unblock/SKILL.md b/skills/dbs-unblock/SKILL.md similarity index 100% rename from dbs-unblock/SKILL.md rename to skills/dbs-unblock/SKILL.md diff --git a/dbs/SKILL.md b/skills/dbs/SKILL.md similarity index 100% rename from dbs/SKILL.md rename to skills/dbs/SKILL.md