docs(plugin marketplace): 將 marketplace 名稱改為 doc
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "jsc-plugins",
|
||||
"name": "doc",
|
||||
"plugins": [
|
||||
{
|
||||
"name": "jsc",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "jsc-plugins",
|
||||
"name": "doc",
|
||||
"description": "JSC 文件化 skills 的 Claude Code marketplace,提供 docker-compose 註解整理與 function XML 文件補齊。",
|
||||
"owner": {
|
||||
"name": "JSC"
|
||||
|
||||
@@ -29,11 +29,11 @@
|
||||
doc/
|
||||
├── .claude-plugin/
|
||||
│ ├── plugin.json # Claude 外掛定義(name: "jsc")
|
||||
│ └── marketplace.json # Claude marketplace(name: "jsc-plugins",source 指向本 repo)
|
||||
│ └── marketplace.json # Claude marketplace(name: "doc",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: "doc",url source 指向本 repo)
|
||||
├── plugin.json # Antigravity 外掛定義(name: "jsc",skills: "./skills/")
|
||||
├── skills/ # ★ 唯一真實來源:所有 skills
|
||||
│ ├── doc-docker/ # 對齊 docker-compose 註解(含 scripts/)
|
||||
@@ -59,15 +59,15 @@ doc/
|
||||
```bash
|
||||
# 安裝
|
||||
claude plugin marketplace add https://gitea.jsc.idv.tw/plugins/doc.git
|
||||
claude plugin install jsc@jsc-plugins
|
||||
claude plugin install jsc@doc
|
||||
|
||||
# 更新
|
||||
claude plugin marketplace update jsc-plugins
|
||||
claude plugin update jsc@jsc-plugins
|
||||
claude plugin marketplace update doc
|
||||
claude plugin update jsc@doc
|
||||
|
||||
# 移除
|
||||
claude plugin uninstall jsc@jsc-plugins
|
||||
claude plugin marketplace remove jsc-plugins
|
||||
claude plugin uninstall jsc@doc
|
||||
claude plugin marketplace remove doc
|
||||
```
|
||||
|
||||
- 工作階段內 slash 版(等價):把 `claude plugin` 換成 `/plugin`。
|
||||
@@ -79,17 +79,17 @@ claude plugin marketplace remove jsc-plugins
|
||||
```bash
|
||||
# 安裝
|
||||
codex plugin marketplace add https://gitea.jsc.idv.tw/plugins/doc.git
|
||||
codex plugin add jsc@jsc-plugins
|
||||
codex plugin add jsc@doc
|
||||
|
||||
# 更新(重新抓取 marketplace 的 git 快照)
|
||||
codex plugin marketplace upgrade jsc-plugins
|
||||
codex plugin marketplace upgrade doc
|
||||
|
||||
# 移除
|
||||
codex plugin remove jsc@jsc-plugins
|
||||
codex plugin marketplace remove jsc-plugins
|
||||
codex plugin remove jsc@doc
|
||||
codex plugin marketplace remove doc
|
||||
```
|
||||
|
||||
- 安裝 token `jsc@jsc-plugins` = plugin 名(`.codex-plugin/plugin.json` 的 `name`)@ marketplace 名(`.agents/plugins/marketplace.json` 的 `name`)。
|
||||
- 安裝 token `jsc@doc` = plugin 名(`.codex-plugin/plugin.json` 的 `name`)@ marketplace 名(`.agents/plugins/marketplace.json` 的 `name`)。
|
||||
- 本 repo 的 Codex marketplace 以 `url` 來源指向自己,故 Codex **一律從 gitea 安裝**(需先 push);安裝後重啟 Codex。
|
||||
- **呼叫**:`$<name>`(例 `$doc-docker`),或用 `/skills` 選單。
|
||||
|
||||
@@ -195,7 +195,7 @@ rm -rf ~/.config/opencode/skills/doc-docker ~/.config/opencode/skills/doc-funcs
|
||||
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@doc`
|
||||
- Codex:`codex plugin marketplace upgrade doc`
|
||||
- Antigravity:`git -C ~/jsc-plugin pull && agy plugin uninstall jsc && agy plugin install ~/jsc-plugin`
|
||||
- OpenCode:`git pull` 後重新複製 `skills/`
|
||||
|
||||
Reference in New Issue
Block a user