Skip to content

Inline skill autocomplete and skill config options - #1

Merged
sharunkumar merged 22 commits into
devfrom
feat/skills-slash-command
Apr 16, 2026
Merged

sharunkumar merged 22 commits into
devfrom
feat/skills-slash-command

Conversation

@sharunkumar

@sharunkumar sharunkumar commented Apr 16, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Type / mid-prompt (after whitespace) to trigger skill-only autocomplete
  • Add skills.slash config to show skills as slash commands
  • Add skills.inline config to control skill content inlining
  • Add /skills command with dialog picker (hidden when skills.slash enabled)

sharunkumar and others added 11 commits March 16, 2026 11:51
…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
@sharunkumar sharunkumar changed the title feat: fork customizations Inline skill autocomplete and skill config options Apr 16, 2026
Repository owner deleted a comment from github-actions Bot Apr 16, 2026
Repository owner deleted a comment from github-actions Bot Apr 16, 2026
@sharunkumar
sharunkumar merged this pull request into dev Apr 16, 2026
1 check passed
@sharunkumar
sharunkumar deleted the feat/skills-slash-command branch April 16, 2026 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant