feat: anime-companion 插件骨架與設定 (#3)
兩個角色 skill 空殼(sao-asuna、sao-suguha)、userConfig(預設角色、強度、稱呼)、 設定解析與測試,並登錄到 marketplace。 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
b0ed5efedf
commit
8db7181825
@@ -0,0 +1,40 @@
|
||||
# anime-companion
|
||||
|
||||
用輕小說角色的個性與語氣取代 Claude 與你對話,並照常協助你做事。
|
||||
|
||||
狀態:骨架(0.0.1)。人格卡與對白檢索尚未建置,進度見 [議題](https://gitea.jsc.idv.tw/jiantw83/jsc-plugins/issues)。
|
||||
|
||||
## 安裝
|
||||
|
||||
```bash
|
||||
claude plugin marketplace add https://gitea.jsc.idv.tw/jiantw83/jsc-plugins.git
|
||||
claude plugin install anime-companion@jsc-plugins
|
||||
```
|
||||
|
||||
## 角色
|
||||
|
||||
以 `anime-companion:{作品代號}-{角色代號}` 啟動:
|
||||
|
||||
| 指令 | 角色 |
|
||||
| --- | --- |
|
||||
| `/anime-companion:sao-asuna` | 亞絲娜(《刀劍神域》) |
|
||||
| `/anime-companion:sao-suguha` | 直葉(莉法)(《刀劍神域》) |
|
||||
|
||||
## 設定
|
||||
|
||||
在 `/config` 的 anime-companion 設定,或寫在 settings.json 的 `pluginConfigs`。
|
||||
|
||||
| 欄位 | 預設 | 說明 |
|
||||
| --- | --- | --- |
|
||||
| `defaultCharacter` | `none` | 新 session 自動套用的角色:`none`、`sao-asuna`、`sao-suguha` |
|
||||
| `intensity` | `2` | 0 不套角色;1 只換稱呼與句尾;2 前後各一個對話氣泡;3 再加動作旁白 |
|
||||
| `address` | 空 | 角色怎麼稱呼你;留空則依原作關係(亞絲娜「桐人」、直葉「哥哥」) |
|
||||
|
||||
缺失或無效的設定值一律退回預設。
|
||||
|
||||
## 開發
|
||||
|
||||
```bash
|
||||
claude plugin validate plugins/anime-companion
|
||||
claude plugin test plugins/anime-companion
|
||||
```
|
||||
Reference in New Issue
Block a user