From a2b0a51a353b8a5a7dfedc9b8108ce7db449b2c0 Mon Sep 17 00:00:00 2001 From: Jeffery Date: Fri, 17 Jul 2026 13:57:33 +0800 Subject: [PATCH] =?UTF-8?q?chore(marketplace):=20=E5=B0=87=20marketplace?= =?UTF-8?q?=20=E5=90=8D=E7=94=B1=20jsc-plugins=20=E6=94=B9=E7=82=BA=20gene?= =?UTF-8?q?ric=20=E4=B8=A6=E5=90=8C=E6=AD=A5=20README?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .agents/plugins/marketplace.json | 2 +- .claude-plugin/marketplace.json | 2 +- README.md | 28 ++++++++++++++-------------- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.agents/plugins/marketplace.json b/.agents/plugins/marketplace.json index fd081fa..5501b95 100644 --- a/.agents/plugins/marketplace.json +++ b/.agents/plugins/marketplace.json @@ -1,5 +1,5 @@ { - "name": "jsc-plugins", + "name": "generic", "plugins": [ { "name": "jsc", diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 899e2e8..b898c72 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -1,5 +1,5 @@ { - "name": "jsc-plugins", + "name": "generic", "description": "JSC 跨 AI 助理共用 skills 的 Claude Code marketplace。", "owner": { "name": "JSC" diff --git a/README.md b/README.md index 3465782..92f38e2 100644 --- a/README.md +++ b/README.md @@ -28,11 +28,11 @@ generic/ ├── .claude-plugin/ │ ├── plugin.json # Claude 外掛定義(name: "jsc") -│ └── marketplace.json # Claude marketplace(name: "jsc-plugins",source 指向本 repo) +│ └── marketplace.json # Claude marketplace(name: "generic",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: "generic",url source 指向本 repo) ├── plugin.json # Antigravity 外掛定義(name: "jsc",skills: "./skills/") ├── skills/ # ★ 唯一真實來源:所有 skills │ └── spec-*/SKILL.md # 共用規範 skills(一規範一目錄) @@ -55,15 +55,15 @@ generic/ ```bash # 安裝 claude plugin marketplace add https://gitea.jsc.idv.tw/plugins/generic.git -claude plugin install jsc@jsc-plugins +claude plugin install jsc@generic # 更新 -claude plugin marketplace update jsc-plugins -claude plugin update jsc@jsc-plugins +claude plugin marketplace update generic +claude plugin update jsc@generic # 移除 -claude plugin uninstall jsc@jsc-plugins -claude plugin marketplace remove jsc-plugins +claude plugin uninstall jsc@generic +claude plugin marketplace remove generic ``` - 工作階段內 slash 版(等價):把 `claude plugin` 換成 `/plugin`。 @@ -75,17 +75,17 @@ claude plugin marketplace remove jsc-plugins ```bash # 安裝 codex plugin marketplace add https://gitea.jsc.idv.tw/plugins/generic.git -codex plugin add jsc@jsc-plugins +codex plugin add jsc@generic # 更新(重新抓取 marketplace 的 git 快照) -codex plugin marketplace upgrade jsc-plugins +codex plugin marketplace upgrade generic # 移除 -codex plugin remove jsc@jsc-plugins -codex plugin marketplace remove jsc-plugins +codex plugin remove jsc@generic +codex plugin marketplace remove generic ``` -- 安裝 token `jsc@jsc-plugins` = plugin 名(`.codex-plugin/plugin.json` 的 `name`)@ marketplace 名(`.agents/plugins/marketplace.json` 的 `name`)。 +- 安裝 token `jsc@generic` = plugin 名(`.codex-plugin/plugin.json` 的 `name`)@ marketplace 名(`.agents/plugins/marketplace.json` 的 `name`)。 - 本 repo 的 Codex marketplace 以 `url` 來源指向自己,故 Codex **一律從 gitea 安裝**(需先 push);安裝後重啟 Codex。 - **呼叫**:`$`(例 `$spec-output`),或用 `/skills` 選單。 @@ -192,7 +192,7 @@ rm -rf ~/.config/opencode/skills/spec-* 4. 手動把這個 skill 補進上方「Skills 目錄」區塊。 5. **bump 版本並 push**:四家都以 git 內容/版本判斷更新,請把 `.claude-plugin/plugin.json`、`.codex-plugin/plugin.json`、`plugin.json` 三個 manifest 的 `version` 一起 bump(規則見 `skills/spec-plugin-version/`),commit 後 push 到 gitea。 6. 讓各助理更新: - - Claude:`claude plugin update jsc@jsc-plugins` - - Codex:`codex plugin marketplace upgrade jsc-plugins` + - Claude:`claude plugin update jsc@generic` + - Codex:`codex plugin marketplace upgrade generic` - Antigravity:`git -C ~/jsc-plugin pull && agy plugin uninstall jsc && agy plugin install ~/jsc-plugin` - OpenCode:`git pull` 後重新複製 `skills/`