feat: 亞絲娜與直葉的角色包 #16

Merged
jiantw83 merged 4 commits from feat/w5-w6-packs into main 2026-10-15 01:28:50 +00:00
Contributor

Closes #6
Closes #7

疊在 PR #15(W7)之上,並合併了 #14(W4)的分支以取得建置工具,請依序合併:#11 → #12 → #13 → #14 → #15 → 本 PR。

內容

  • tools/corpus/build_pack.py:從標註結果產生每個角色的對白索引 index.jsonl(亞絲娜 255 句、直葉 423 句)與寫人格卡用的 source.jsonl,輸出到使用者資料目錄,不入 repo。
  • tools/corpus/render_skill.py:把人格卡渲染成角色 skill,並檢查精選對白每句都逐字來自索引。
  • skills/sao-asuna/SKILL.md、skills/sao-suguha/SKILL.md:人格卡(語氣與口癖、稱呼與態度、價值觀與雷點、模式、協助工作時怎麼說話、各 38 句精選對白)。
  • 插件改成執行期從 <dataDir>/<角色>/index.jsonl 讀索引(新增設定 dataDir),讀不到時只載入人格卡、不呼叫模型。

要注意

  • 人格卡由 sub-agent 從標註素材歸納;素材不足的地方(亞絲娜對結衣與莉法的態度、real 模式、直葉對家人的態度等)已如實標明。
  • 模式標籤是由前後文推得的啟發式,不是人工標註。
  • SKILL.md 內含各 38 句、每句不超過 80 字的譯本對白。

驗證

  • claude plugin validate 通過;claude plugin test 45 項通過;tools/corpus 單元測試通過。
  • 沒有在實際 session 裡啟動過 skill 或 hook。

🤖 Generated with Claude Code

Closes #6 Closes #7 疊在 PR #15(W7)之上,並合併了 #14(W4)的分支以取得建置工具,請依序合併:#11 → #12 → #13 → #14 → #15 → 本 PR。 ## 內容 - `tools/corpus/build_pack.py`:從標註結果產生每個角色的對白索引 `index.jsonl`(亞絲娜 255 句、直葉 423 句)與寫人格卡用的 `source.jsonl`,輸出到使用者資料目錄,不入 repo。 - `tools/corpus/render_skill.py`:把人格卡渲染成角色 skill,並檢查精選對白每句都逐字來自索引。 - `skills/sao-asuna/SKILL.md`、`skills/sao-suguha/SKILL.md`:人格卡(語氣與口癖、稱呼與態度、價值觀與雷點、模式、協助工作時怎麼說話、各 38 句精選對白)。 - 插件改成執行期從 `<dataDir>/<角色>/index.jsonl` 讀索引(新增設定 `dataDir`),讀不到時只載入人格卡、不呼叫模型。 ## 要注意 - 人格卡由 sub-agent 從標註素材歸納;素材不足的地方(亞絲娜對結衣與莉法的態度、real 模式、直葉對家人的態度等)已如實標明。 - 模式標籤是由前後文推得的啟發式,不是人工標註。 - SKILL.md 內含各 38 句、每句不超過 80 字的譯本對白。 ## 驗證 - `claude plugin validate` 通過;`claude plugin test` 45 項通過;`tools/corpus` 單元測試通過。 - 沒有在實際 session 裡啟動過 skill 或 hook。 🤖 Generated with [Claude Code](https://claude.com/claude-code)
admin added 3 commits 2026-10-14 20:52:41 +00:00
verify_batches.py 逐批比對 id;make_relabel.py 挑出需重標的 none;
merge_labels.py 支援多個目錄覆蓋與 confidence 縮寫;worry 加入情緒白名單。

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
build_pack.py 產生對白索引(放在使用者資料目錄);render_skill.py 把人格卡渲染成
角色 skill 並檢查精選對白逐字來自索引;插件改成執行期從資料目錄讀索引。

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
admin added 1 commit 2026-10-15 01:11:25 +00:00
jiantw83 merged commit db2735d9c8 into main 2026-10-15 01:28:50 +00:00
jiantw83 deleted branch feat/w5-w6-packs 2026-10-15 01:28:50 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jiantw83/jsc-plugins#16