Repository navigation
Inline skill autocomplete and skill config options - #1
Merged
Merged
Conversation
…ries
Add a /skills slash command to the web app that opens a searchable
skill picker dialog, matching the TUI's existing /skills functionality.
Individual /{skillname} entries in the slash autocomplete are now
controlled by a new `skills.slash` config option (default: false).
Changes:
- Add `slash` boolean to Skills config schema (config.ts)
- Create DialogSelectSkill component for the web app
- Register /skills slash command in use-session-commands.tsx
- Filter skill commands from web app slash autocomplete based on config
- Replace hardcoded skill filter in TUI autocomplete with config check
- Add i18n keys for skill dialog and command
- Regenerate SDK types to include skills.slash
When skills.slash is false (default), individual skill names are hidden
from the / autocomplete in both TUI and web app. The /skills picker
is always available regardless of this setting. Setting skills.slash
to true in opencode.json exposes individual /{skillname} entries.
Closes anomalyco#7846
Add /skills slash command to the web app with a searchable skill picker
dialog, matching the TUI's existing functionality. Individual /{skillname}
entries in the slash autocomplete are controlled by a new `skills.slash`
config option (default: false).
Add inline skill autocomplete: typing / after whitespace mid-text triggers
a skill-only autocomplete popover. Selecting a skill replaces just the
/partial text, preserving surrounding content. Skills already invoked in
the prompt are deduplicated from the inline suggestions.
Changes:
- Add `slash` boolean to Skills config schema
- Create DialogSelectSkill component for the web app
- Register /skills slash command in use-session-commands.tsx
- Filter skill commands from slash autocomplete based on config
- Replace hardcoded skill filter in TUI autocomplete with config check
- Add inline / trigger for skills in both web app and TUI
- Add deduplication: already-invoked skills hidden from inline popover
- Add i18n keys for skill dialog and command
- Regenerate SDK types to include skills.slash
…mmand # Conflicts: # packages/app/src/components/prompt-input.tsx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/mid-prompt (after whitespace) to trigger skill-only autocompleteskills.slashconfig to show skills as slash commandsskills.inlineconfig to control skill content inlining/skillscommand with dialog picker (hidden whenskills.slashenabled)