[PR #11369] feat(app): add skill slash commands #13757

Closed
opened 2026-02-16 18:18:35 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/11369

State: closed
Merged: Yes


Summary

  • Add /skill:<name> slash commands to invoke skills directly from the prompt
  • Skills appear in slash command autocomplete in both web app and TUI
  • Display with a "skill" badge to distinguish from custom commands
  • Selecting a skill injects: Load the "<skill-name>" skill and follow its instructions.
image

Changes

  • prompt-input.tsx: Added skill type to SlashCommand, skills to command list, selection handler, and badge UI
  • global-sync.tsx: Added Skill type export, skill array to state, fetch skills call
  • en.ts: Added "skill" badge translation
  • TUI autocomplete.tsx: Added skills to autocomplete
  • TUI sync.tsx: Added skill to state and fetch

Testing

  • Verified skills appear in / autocomplete when skills are configured
  • Skill selection populates prompt with instruction to load the skill
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/11369 **State:** closed **Merged:** Yes --- ## Summary - Add `/skill:<name>` slash commands to invoke skills directly from the prompt - Skills appear in slash command autocomplete in both web app and TUI - Display with a "skill" badge to distinguish from custom commands - Selecting a skill injects: `Load the "<skill-name>" skill and follow its instructions.` <img width="736" height="476" alt="image" src="https://github.com/user-attachments/assets/518779d4-1569-4608-8538-f7242a7f3a8a" /> ## Changes - **prompt-input.tsx**: Added skill type to SlashCommand, skills to command list, selection handler, and badge UI - **global-sync.tsx**: Added Skill type export, skill array to state, fetch skills call - **en.ts**: Added "skill" badge translation - **TUI autocomplete.tsx**: Added skills to autocomplete - **TUI sync.tsx**: Added skill to state and fetch ## Testing - Verified skills appear in `/` autocomplete when skills are configured - Skill selection populates prompt with instruction to load the skill
yindo added the pull-request label 2026-02-16 18:18:35 -05:00
yindo closed this issue 2026-02-16 18:18:35 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13757