Archived
marketplace 改名 jsc-plugins → code-review(保留 /jsc: 前綴)
- 安裝 token 由 jsc@jsc-plugins 改為 jsc@code-review - plugin 名維持 jsc,故 /jsc:code-review 呼叫不變 - 兩個 marketplace.json 的 name 改為 code-review - 修正 .agents/plugins/marketplace.json 殘留的 template.git → code-review.git - README 所有 marketplace 指令同步更新 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
b9f87bac37
commit
5a224932e2
@@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"name": "jsc-plugins",
|
"name": "code-review",
|
||||||
"plugins": [
|
"plugins": [
|
||||||
{
|
{
|
||||||
"name": "jsc",
|
"name": "jsc",
|
||||||
"source": {
|
"source": {
|
||||||
"source": "url",
|
"source": "url",
|
||||||
"url": "https://gitea.jsc.idv.tw/plugins/template.git"
|
"url": "https://gitea.jsc.idv.tw/plugins/code-review.git"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "jsc-plugins",
|
"name": "code-review",
|
||||||
"description": "JSC 跨 AI 助理共用 skills 的 Claude Code marketplace。",
|
"description": "JSC 跨 AI 助理共用 skills 的 Claude Code marketplace。",
|
||||||
"owner": {
|
"owner": {
|
||||||
"name": "JSC"
|
"name": "JSC"
|
||||||
|
|||||||
@@ -28,11 +28,11 @@ plugin 名為 `jsc`,在 Claude Code 與 Antigravity 中 skill 以 **`/jsc:`
|
|||||||
code-review/
|
code-review/
|
||||||
├── .claude-plugin/
|
├── .claude-plugin/
|
||||||
│ ├── plugin.json # Claude 外掛定義(name: "jsc")
|
│ ├── 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/
|
├── .codex-plugin/
|
||||||
│ └── plugin.json # Codex 外掛定義(name: "jsc",skills: "./skills")
|
│ └── plugin.json # Codex 外掛定義(name: "jsc",skills: "./skills")
|
||||||
├── .agents/plugins/
|
├── .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/")
|
├── plugin.json # Antigravity 外掛定義(name: "jsc",skills: "./skills/")
|
||||||
├── skills/ # ★ 唯一真實來源:所有 skills
|
├── skills/ # ★ 唯一真實來源:所有 skills
|
||||||
│ └── code-review/
|
│ └── code-review/
|
||||||
@@ -57,15 +57,15 @@ code-review/
|
|||||||
```bash
|
```bash
|
||||||
# 安裝
|
# 安裝
|
||||||
claude plugin marketplace add https://gitea.jsc.idv.tw/plugins/code-review.git
|
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 marketplace update code-review
|
||||||
claude plugin update jsc@jsc-plugins
|
claude plugin update jsc@code-review
|
||||||
|
|
||||||
# 移除
|
# 移除
|
||||||
claude plugin uninstall jsc@jsc-plugins
|
claude plugin uninstall jsc@code-review
|
||||||
claude plugin marketplace remove jsc-plugins
|
claude plugin marketplace remove code-review
|
||||||
```
|
```
|
||||||
|
|
||||||
- 工作階段內 slash 版(等價):把 `claude plugin` 換成 `/plugin`。
|
- 工作階段內 slash 版(等價):把 `claude plugin` 換成 `/plugin`。
|
||||||
@@ -77,17 +77,17 @@ claude plugin marketplace remove jsc-plugins
|
|||||||
```bash
|
```bash
|
||||||
# 安裝
|
# 安裝
|
||||||
codex plugin marketplace add https://gitea.jsc.idv.tw/plugins/code-review.git
|
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 快照)
|
# 更新(重新抓取 marketplace 的 git 快照)
|
||||||
codex plugin marketplace upgrade jsc-plugins
|
codex plugin marketplace upgrade code-review
|
||||||
|
|
||||||
# 移除
|
# 移除
|
||||||
codex plugin remove jsc@jsc-plugins
|
codex plugin remove jsc@code-review
|
||||||
codex plugin marketplace remove jsc-plugins
|
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。
|
- 本 repo 的 Codex marketplace 以 `url` 來源指向自己,故 Codex **一律從 gitea 安裝**(需先 push);安裝後重啟 Codex。
|
||||||
- **呼叫**:`$<name>`(例 `$code-review`),或用 `/skills` 選單。
|
- **呼叫**:`$<name>`(例 `$code-review`),或用 `/skills` 選單。
|
||||||
|
|
||||||
@@ -187,7 +187,7 @@ rm -rf ~/.config/opencode/skills/code-review
|
|||||||
4. 手動把這個 skill 補進上方「Skills 目錄」區塊。
|
4. 手動把這個 skill 補進上方「Skills 目錄」區塊。
|
||||||
5. **bump 版本並 push**:四家都以 git 內容/版本判斷更新,請把 `.claude-plugin/plugin.json`、`.codex-plugin/plugin.json`、`plugin.json` 三個 manifest 的 `version` 一起 bump,commit 後 push 到 gitea。
|
5. **bump 版本並 push**:四家都以 git 內容/版本判斷更新,請把 `.claude-plugin/plugin.json`、`.codex-plugin/plugin.json`、`plugin.json` 三個 manifest 的 `version` 一起 bump,commit 後 push 到 gitea。
|
||||||
6. 讓各助理更新:
|
6. 讓各助理更新:
|
||||||
- Claude:`claude plugin update jsc@jsc-plugins`
|
- Claude:`claude plugin update jsc@code-review`
|
||||||
- Codex:`codex plugin marketplace upgrade jsc-plugins`
|
- Codex:`codex plugin marketplace upgrade code-review`
|
||||||
- Antigravity:`git -C ~/jsc-plugin pull && agy plugin uninstall jsc && agy plugin install ~/jsc-plugin`
|
- Antigravity:`git -C ~/jsc-plugin pull && agy plugin uninstall jsc && agy plugin install ~/jsc-plugin`
|
||||||
- OpenCode:`git pull` 後重新複製 `skills/`
|
- OpenCode:`git pull` 後重新複製 `skills/`
|
||||||
|
|||||||
Reference in New Issue
Block a user