Skip to content

feat: チャット入力で skill を明示選択できるようにする#97

Merged
ktmage merged 1 commit intodevelopmentfrom
feat/skill-selection
Mar 8, 2026
Merged

feat: チャット入力で skill を明示選択できるようにする#97
ktmage merged 1 commit intodevelopmentfrom
feat/skill-selection

Conversation

@ktmage
Copy link
Copy Markdown
Owner

@ktmage ktmage commented Mar 8, 2026

Summary

VS Code のチャット入力で、OpenCode の skill を 1 件だけ明示選択して送れるようにします。
コンテキストメニューだけでなく、入力欄で / を打ったときの補完からも skill を選べるようにしています。

Related Issue

#98

Changes

  • core / host / agent 間で skill を受け渡すための型とプロトコルを追加
  • OpenCode の skill 一覧を取得し、入力欄のコンテキストバーに選択中 skill のチップを表示
  • コンテキストメニューから skill を 1 件選択・解除できる UI を追加
  • 入力欄で / を入力したときに skill 候補を補完表示し、Tab / Enter で確定できるように追加
  • 送信時は選択した skill を synthetic な /{skill} text part として先頭に付与
  • skill 読み込み、選択、slash 補完、送信 payload を検証するテストを追加・更新

Checklist

  • npm run build passes
  • npm test passes

@ktmage ktmage changed the title feat: add explicit skill selection in chat input feat: チャット入力で skill を明示選択できるようにする Mar 8, 2026
@ktmage ktmage merged commit 18c2db1 into development Mar 8, 2026
1 check passed
@ktmage ktmage deleted the feat/skill-selection branch March 8, 2026 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant