refactor(code): 接上 shared 共用規範,去除重抄段落並補模型檢查串接

依 todo.md 執行的規範治理專案:action-composite/action-docker/action-node/
image/issues/nuget/review-resolve/sync/target 九個 skill 改為引用
shared 新增的共用 spec(conventional-commit、pull-request、git-push、
git-safety 分支選擇、issue-read、todo-list、ask-user、action-scaffold、
node-src-layout、skill-invocation),移除大量重抄內容(review-resolve/
target 光是 commit/PR/push 三塊就精簡約 175 行);target/issues 補上讀到
帶 model: frontmatter 清單檔時依 /jsc-shared:spec-model 做模型檢查的規則。

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-11 06:04:18 +00:00
co-authored by Claude Sonnet 5
parent 9d8ac26a3b
commit 85a4128f5e
14 changed files with 215 additions and 671 deletions
+28
View File
@@ -0,0 +1,28 @@
{
"name": "jsc-code",
"shortName": "code",
"version": "0.1.0",
"descriptionCore": "JSC 程式碼工作流 plugin,提供 Gitea AI review findings 修復/PR 流程、Gitea 議題 TODO 彙整與逐項實作、C# / .NET NuGet 套件更新、Gitea 專案批次同步,以及 action / Dockerfile 標準化流程。",
"assistants": ["Claude Code", "Codex", "Antigravity", "OpenCode", "GitHub Copilot CLI"],
"cliPrefix": "/jsc-code:",
"callPrefixAssistants": {
"root": "Antigravity",
"claudePlugin": "Claude Code"
},
"codexNote": "",
"skillsPath": "./skills",
"author": { "name": "JSC" },
"homepage": "https://gitea.jsc.idv.tw/plugins/code",
"repository": "https://gitea.jsc.idv.tw/plugins/code.git",
"keywords": ["code-review", "git-diff", "gitea", "nuget", "docker", "skills", "jsc"],
"marketplace": {
"repoDescription": "JSC 程式碼工作流 skills 的 Claude Code marketplace,涵蓋 Gitea findings 修復/PR 流程、Gitea 議題 TODO 彙整與逐項實作、C# / .NET NuGet 套件更新、Gitea 專案批次同步與 action / Dockerfile 標準化。",
"pluginSummary": "JSC 程式碼工作流 skills:Gitea AI review findings 修復與 PR 流程、Gitea 議題 TODO 彙整與逐項實作、C# / .NET NuGet 套件更新、Gitea 專案批次同步、action / Dockerfile 標準化。"
},
"_driftDecisions": [
"決議1:skills 欄位統一為不帶尾斜線的 './skills'。現況:root plugin.json 為 './skills/'(帶尾斜線),.claude-plugin 與 .codex-plugin 已是 './skills';skillsPath 已定為統一值,root 需修正。",
"決議2:root plugin.json 已有「於 Antigravity 以 /jsc-code: 前綴呼叫」句尾,符合決議,不需調整。",
"決議3:.claude-plugin/plugin.json 助理括號清單現況為「(Claude Code / Codex / Antigravity / OpenCode)」——注意這不只是順序或命名問題,而是**完全遺漏「GitHub Copilot」這一項**(只有 4 項,doc 是 5 項且順序相同只差命名)。已依統一決議補齊為「(Claude Code / Codex / Antigravity / OpenCode / GitHub Copilot CLI)」五項。",
"決議4對應:.codex-plugin/plugin.json 無專屬補充資訊,codexNote 為空字串。"
]
}