develop
master
plugins-install 處理非指令助理(沒有 plugin CLI、靠複製 skills/ 目錄的助理,目前是 OpenCode)時,改為先讀該工具設定判定安裝位置,再決定要更新哪一份。
plugins-install
skills/
<專案根>/.opencode/skills/
opencode.json
opencode.jsonc
.opencode/
${XDG_CONFIG_HOME:-$HOME/.config}/opencode/skills/
~/.claude/skills
~/.agents/skills
mkdir -p
設定檔存在但解析失敗一律記為「需人工確認」,不猜;設定指到自訂路徑則以設定為準。
description
--temp-dir
--clone-dir
plugins-uninstall
target
skills/plugins-install/SKILL.md
skills/plugins-uninstall/SKILL.md
README.md
Claude/Codex/Copilot/Antigravity 四家原生 CLI 的流程未變動。
feat(plugins-install): 非指令助理改為先讀設定就地更新、未安裝才放進工具資料夾
docs(plugins 安裝管理): 同步 README 安裝行為說明並補上 code 的 target skill
chore(plugin 版本): 三家 manifest 升版 0.0.5
Reviewed-on: #37
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
No dependencies set.
The note is not visible to the blocked user.
變更摘要
plugins-install處理非指令助理(沒有 plugin CLI、靠複製skills/目錄的助理,目前是 OpenCode)時,改為先讀該工具設定判定安裝位置,再決定要更新哪一份。新流程(階段 C)
<專案根>/.opencode/skills/(往上找opencode.json/opencode.jsonc/.opencode/認專案根)→${XDG_CONFIG_HOME:-$HOME/.config}/opencode/skills/→~/.claude/skills、~/.agents/skillsmkdir -p工具全域資料夾再複製;不因當下剛好在某專案就裝進那個專案設定檔存在但解析失敗一律記為「需人工確認」,不猜;設定指到自訂路徑則以設定為準。
配套
description補上對應觸發詞。plugins-install說明同步,並修正過時的--temp-dir(實際參數是--clone-dir)。plugins-install/plugins-uninstall的 code skill 目錄清單補上新增的target。影響範圍
skills/plugins-install/SKILL.mdskills/plugins-uninstall/SKILL.mdtargetskill 目錄README.mdClaude/Codex/Copilot/Antigravity 四家原生 CLI 的流程未變動。
Commit
feat(plugins-install): 非指令助理改為先讀設定就地更新、未安裝才放進工具資料夾docs(plugins 安裝管理): 同步 README 安裝行為說明並補上 code 的 target skillchore(plugin 版本): 三家 manifest 升版 0.0.5