建立 api-doc、code-review、comment-cleanup 三支技能的行為清單 #21
1 Participants
Notifications
Due Date
No due date set.
Blocks
#22 收攏 review 三支技能的行為清單,功能主幹併回 develop
plugins/review
Reference: plugins/review#21
Reference in New Issue
Block a user
摘要
/root/plugins/meta/tools/check-behaviors.sh在程式層檢查。清單放在各自的 repo 而不是集中在 meta,理由是技能改動與清單落在同一個 PR 才不會漂移,也不用跨 repo 開兩條 PR 互卡。本 PR 交付 jsc-review 這一個 repo 的清單,並把三份 manifest 升版。變更內容
references/behaviors.mdreferences/目錄。記錄 api-doc、code-review、comment-cleanup 三支技能的行為基準,每節一張五列表:觸發時機、關鍵步驟、外部呼叫、完成條件、可驗證跡象。.claude-plugin/plugin.json.codex-plugin/plugin.jsonplugin.json設計重點
check-behaviors.sh才能在程式層檢查格式,不靠人工目測。${TMPDIR:-/tmp}/jsc-code-review.$$.diff是否殘留、$JSC_HOME/sessions/{sid}.lastskill是否被清掉。驗證者可以直接照著查,不用讀技能本文。測試結果
sh /root/plugins/meta/tools/check-behaviors.sh /root/plugins/review— 退出碼 0,輸出「行為清單檢查通過:/root/plugins/review/references/behaviors.md 對上 3 支技能,五個欄位齊全」。grep -h '"version"' .claude-plugin/plugin.json .codex-plugin/plugin.json plugin.json— 退出碼 0,三份都輸出"version": "0.1.1",,版號一致。前置 Push Request
feat/skill-behaviors-and-version-block/behavior-listto 建立 api-doc、code-review、comment-cleanup 三支技能的行為清單