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

既有 PreToolUse 陣列(guard.mjs 人格隔離)之外新增第二個條目,沿用跨 plugin
腳本定位手法呼叫 shared 的 version-guard.mjs;13 個 persona-* skill 檔頭補上
spec-version-guard(persona-create 原分析誤判為清單空白,實際是項目符號格式,
已在既有清單最前補一行,不變動格式)。

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-17 14:55:02 +08:00
co-authored by Claude Sonnet 5
parent 1ae502b31a
commit ff61aced5d
14 changed files with 24 additions and 12 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ description: 邀請另一個人格透過 sub agent 加入當前對話,形成
先載入 `/jsc-shared:spec-preflight` 並依其流程處理;載入不到即代表 shared plugin 未安裝,
依該 spec 詢問使用者是否安裝 `https://gitea.jsc.idv.tw/plugins/shared.git`,不安裝則中斷本 skill。
本 skill 需要的規範:`spec-output`、`spec-execution`、`spec-time-log`、`spec-script-path`、`spec-subagent`
本 skill 需要的規範:`spec-version-guard`、`spec-output`、`spec-execution`、`spec-time-log`、`spec-script-path`、`spec-subagent`
---