feat(spec-version-guard): 新增版本檢查 hook 並在 9 個 skill 檔頭引用規範

新建 hooks/hooks.json,PreToolUse 沿用跨 plugin 腳本定位手法呼叫 shared 的
version-guard.mjs(判定仍固定讀自己的 plugin.json,只是腳本檔借用 shared 的);
action-composite/action-docker/action-node/image/issues/nuget/review-resolve/
sync/target 九個 skill 檔頭補上 spec-version-guard。

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-17 14:54:07 +08:00
co-authored by Claude Sonnet 5
parent 85a4128f5e
commit 766142c3ba
10 changed files with 26 additions and 9 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ argument-hint: "[<solution-or-project>] [--include-prerelease] [--no-dedupe] [--
先載入 `/jsc-shared:spec-preflight` 並依其流程處理;載入不到即代表 shared plugin 未安裝,
依該 spec 詢問使用者是否安裝 `https://gitea.jsc.idv.tw/plugins/shared.git`,不安裝則中斷本 skill。
本 skill 需要的規範:`spec-output`、`spec-execution`、`spec-gitea`
本 skill 需要的規範:`spec-version-guard`、`spec-output`、`spec-execution`、`spec-gitea`
## 輸出規範(本 skill 特有)