feat(meta): 匯入 jsc-meta 技能組

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-21 13:08:43 +08:00
co-authored by Claude Fable 5
parent 12a90e5f58
commit 6be3e7fc77
4 changed files with 156 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
---
name: skill-delete
description: Remove a skill from the jsc skill set safely. List skills, let the user pick, inventory every file referencing the skill via a sub agent, fix each affected file through decision-tree questions until guideline checks pass, then delete the skill and open a PR via jsc-git pr. Use only for removal; not for renaming (use skill-update).
---
# skill-delete — 刪除技能
準則單一來源:[`../../references/guidelines.md`](../../references/guidelines.md)。
## 流程
1. 列出技能組內含的所有技能:掃描 `jsc-*/skills/*/SKILL.md`。
2. 讓使用者選擇要刪除的技能(選項標明影響範圍:被哪些技能引用、刪除後指令即失效)。
3. 盤點與此技能關聯的所有檔案,此步驟**必須以 sub agent 執行**:
- `grep -r` 技能名稱與 `/jsc-{domain}:{name}` 於整個 monorepo
- 其他 SKILL.md 的引用、domain README「Skills 目錄」、該 repo 自身兩份 marketplace.json、`tools/`、`jsc-hooks` 接線
4. 逐檔執行:
1. 判斷刪除技能後,該檔是否需要修正才能維持既有功能;**不需要修正就跳過**剩下的流程。
2. 依 `jsc-ask:ask` 決策樹詢問修正細節(改為呼叫替代技能?內聯流程?一併移除功能?),每個選項標明影響範圍。
3. 修正後依 guidelines.md「審核檢查清單」檢查;不符合就回到步驟 4.2。
5. 刪除技能目錄 `skills/{name}/`,同步 domain README 與三份 manifest 的 version bump。
6. 呼叫 `jsc-git:pr` 建立 Push Request。