diff --git a/.agents/plugins/marketplace.json b/.agents/plugins/marketplace.json index 6ee2692..ad3fcca 100644 --- a/.agents/plugins/marketplace.json +++ b/.agents/plugins/marketplace.json @@ -1,11 +1,11 @@ { - "name": "jsc-plugins", + "name": "code-review", "plugins": [ { "name": "jsc", "source": { "source": "url", - "url": "https://gitea.jsc.idv.tw/plugins/template.git" + "url": "https://gitea.jsc.idv.tw/plugins/code-review.git" } } ] diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 899e2e8..1a19c90 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -1,5 +1,5 @@ { - "name": "jsc-plugins", + "name": "code-review", "description": "JSC 跨 AI 助理共用 skills 的 Claude Code marketplace。", "owner": { "name": "JSC" diff --git a/README.md b/README.md index 775241d..356eb5f 100644 --- a/README.md +++ b/README.md @@ -28,11 +28,11 @@ plugin 名為 `jsc`,在 Claude Code 與 Antigravity 中 skill 以 **`/jsc:` code-review/ ├── .claude-plugin/ │ ├── plugin.json # Claude 外掛定義(name: "jsc") -│ └── marketplace.json # Claude marketplace(name: "jsc-plugins",source 指向本 repo) +│ └── marketplace.json # Claude marketplace(name: "code-review",source 指向本 repo) ├── .codex-plugin/ │ └── plugin.json # Codex 外掛定義(name: "jsc",skills: "./skills") ├── .agents/plugins/ -│ └── marketplace.json # Codex marketplace(name: "jsc-plugins",url source 指向本 repo) +│ └── marketplace.json # Codex marketplace(name: "code-review",url source 指向本 repo) ├── plugin.json # Antigravity 外掛定義(name: "jsc",skills: "./skills/") ├── skills/ # ★ 唯一真實來源:所有 skills │ └── code-review/ @@ -57,15 +57,15 @@ code-review/ ```bash # 安裝 claude plugin marketplace add https://gitea.jsc.idv.tw/plugins/code-review.git -claude plugin install jsc@jsc-plugins +claude plugin install jsc@code-review # 更新 -claude plugin marketplace update jsc-plugins -claude plugin update jsc@jsc-plugins +claude plugin marketplace update code-review +claude plugin update jsc@code-review # 移除 -claude plugin uninstall jsc@jsc-plugins -claude plugin marketplace remove jsc-plugins +claude plugin uninstall jsc@code-review +claude plugin marketplace remove code-review ``` - 工作階段內 slash 版(等價):把 `claude plugin` 換成 `/plugin`。 @@ -77,17 +77,17 @@ claude plugin marketplace remove jsc-plugins ```bash # 安裝 codex plugin marketplace add https://gitea.jsc.idv.tw/plugins/code-review.git -codex plugin add jsc@jsc-plugins +codex plugin add jsc@code-review # 更新(重新抓取 marketplace 的 git 快照) -codex plugin marketplace upgrade jsc-plugins +codex plugin marketplace upgrade code-review # 移除 -codex plugin remove jsc@jsc-plugins -codex plugin marketplace remove jsc-plugins +codex plugin remove jsc@code-review +codex plugin marketplace remove code-review ``` -- 安裝 token `jsc@jsc-plugins` = plugin 名(`.codex-plugin/plugin.json` 的 `name`)@ marketplace 名(`.agents/plugins/marketplace.json` 的 `name`)。 +- 安裝 token `jsc@code-review` = plugin 名(`.codex-plugin/plugin.json` 的 `name`)@ marketplace 名(`.agents/plugins/marketplace.json` 的 `name`)。 - 本 repo 的 Codex marketplace 以 `url` 來源指向自己,故 Codex **一律從 gitea 安裝**(需先 push);安裝後重啟 Codex。 - **呼叫**:`$`(例 `$code-review`),或用 `/skills` 選單。 @@ -187,7 +187,7 @@ rm -rf ~/.config/opencode/skills/code-review 4. 手動把這個 skill 補進上方「Skills 目錄」區塊。 5. **bump 版本並 push**:四家都以 git 內容/版本判斷更新,請把 `.claude-plugin/plugin.json`、`.codex-plugin/plugin.json`、`plugin.json` 三個 manifest 的 `version` 一起 bump,commit 後 push 到 gitea。 6. 讓各助理更新: - - Claude:`claude plugin update jsc@jsc-plugins` - - Codex:`codex plugin marketplace upgrade jsc-plugins` + - Claude:`claude plugin update jsc@code-review` + - Codex:`codex plugin marketplace upgrade code-review` - Antigravity:`git -C ~/jsc-plugin pull && agy plugin uninstall jsc && agy plugin install ~/jsc-plugin` - OpenCode:`git pull` 後重新複製 `skills/`