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

hooks/hooks.json 在既有 Stop(worklog)之外新增 PreToolUse 條目,沿用跨 plugin
腳本定位手法呼叫 shared 的 version-guard.mjs;docker/funcs/issues-analyze-to-file/
issues-analyze/issues-sync/notifications/worklog 七個 skill 檔頭補上
spec-version-guard。

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-17 14:54:37 +08:00
co-authored by Claude Sonnet 5
parent e0e1e47c9d
commit 0cad39177b
8 changed files with 20 additions and 7 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ description: 先判斷專案語言,再為每個 function 與每個指令檔(
先載入 `/jsc-shared:spec-preflight` 並依其流程處理;載入不到即代表 shared plugin 未安裝,
依該 spec 詢問使用者是否安裝 `https://gitea.jsc.idv.tw/plugins/shared.git`,不安裝則中斷本 skill。
本 skill 需要的規範:`spec-output`、`spec-execution`、`spec-subagent`、`spec-time-log`、`spec-ask-user`、`spec-git-safety`
本 skill 需要的規範:`spec-version-guard`、`spec-output`、`spec-execution`、`spec-subagent`、`spec-time-log`、`spec-ask-user`、`spec-git-safety`
## 第 0 步:先判斷語言與生態