docs(README): 修正殘留的 template 值為 generic 專屬設定 #4

Merged
admin merged 3 commits from develop into master 2026-07-17 06:03:21 +00:00
3 changed files with 16 additions and 16 deletions
Showing only changes of commit a2b0a51a35 - Show all commits
+1 -1
View File
@@ -1,5 +1,5 @@
{ {
"name": "jsc-plugins", "name": "generic",
"plugins": [ "plugins": [
{ {
"name": "jsc", "name": "jsc",
+1 -1
View File
@@ -1,5 +1,5 @@
{ {
"name": "jsc-plugins", "name": "generic",
"description": "JSC 跨 AI 助理共用 skills 的 Claude Code marketplace。", "description": "JSC 跨 AI 助理共用 skills 的 Claude Code marketplace。",
"owner": { "owner": {
"name": "JSC" "name": "JSC"
+14 -14
View File
@@ -28,11 +28,11 @@
generic/ generic/
├── .claude-plugin/ ├── .claude-plugin/
│ ├── plugin.json # Claude 外掛定義(name: "jsc" │ ├── plugin.json # Claude 外掛定義(name: "jsc"
│ └── marketplace.json # Claude marketplacename: "jsc-plugins"source 指向本 repo │ └── marketplace.json # Claude marketplacename: "generic"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 marketplacename: "jsc-plugins"url source 指向本 repo │ └── marketplace.json # Codex marketplacename: "generic"url source 指向本 repo
├── plugin.json # Antigravity 外掛定義(name: "jsc"skills: "./skills/" ├── plugin.json # Antigravity 外掛定義(name: "jsc"skills: "./skills/"
├── skills/ # ★ 唯一真實來源:所有 skills ├── skills/ # ★ 唯一真實來源:所有 skills
│ └── spec-*/SKILL.md # 共用規範 skills(一規範一目錄) │ └── spec-*/SKILL.md # 共用規範 skills(一規範一目錄)
@@ -55,15 +55,15 @@ generic/
```bash ```bash
# 安裝 # 安裝
claude plugin marketplace add https://gitea.jsc.idv.tw/plugins/generic.git 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 marketplace update generic
claude plugin update jsc@jsc-plugins claude plugin update jsc@generic
# 移除 # 移除
claude plugin uninstall jsc@jsc-plugins claude plugin uninstall jsc@generic
claude plugin marketplace remove jsc-plugins claude plugin marketplace remove generic
``` ```
- 工作階段內 slash 版(等價):把 `claude plugin` 換成 `/plugin` - 工作階段內 slash 版(等價):把 `claude plugin` 換成 `/plugin`
@@ -75,17 +75,17 @@ claude plugin marketplace remove jsc-plugins
```bash ```bash
# 安裝 # 安裝
codex plugin marketplace add https://gitea.jsc.idv.tw/plugins/generic.git 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 快照) # 更新(重新抓取 marketplace 的 git 快照)
codex plugin marketplace upgrade jsc-plugins codex plugin marketplace upgrade generic
# 移除 # 移除
codex plugin remove jsc@jsc-plugins codex plugin remove jsc@generic
codex plugin marketplace remove jsc-plugins 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。 - 本 repo 的 Codex marketplace 以 `url` 來源指向自己,故 Codex **一律從 gitea 安裝**(需先 push);安裝後重啟 Codex。
- **呼叫**`$<name>`(例 `$spec-output`),或用 `/skills` 選單。 - **呼叫**`$<name>`(例 `$spec-output`),或用 `/skills` 選單。
@@ -192,7 +192,7 @@ rm -rf ~/.config/opencode/skills/spec-*
4. 手動把這個 skill 補進上方「Skills 目錄」區塊。 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。 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. 讓各助理更新: 6. 讓各助理更新:
- Claude`claude plugin update jsc@jsc-plugins` - Claude`claude plugin update jsc@generic`
- Codex`codex plugin marketplace upgrade jsc-plugins` - Codex`codex plugin marketplace upgrade generic`
- 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/`