Suggest skill slash commands in CLI - #10925
Merged
Merged
Conversation
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (7 files)
Reviewed by claude-4.6-sonnet-20260217 · 245,771 tokens Review guidance: REVIEW.md from base branch |
catrielmuller
approved these changes
Jun 5, 2026
9 tasks
t7tran
pushed a commit
to t7tran/kilocode
that referenced
this pull request
Aug 14, 2026
…st-skills Suggest skill slash commands in CLI
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.
Issue
No linked issue; this is a small CLI discoverability fix.
Context
Skills can be invoked as slash commands, but they were hidden from CLI slash autocomplete. That made available skills harder to discover and created ambiguity when a skill shared a name with a built-in, configured, or MCP command.
Implementation
This makes skills visible in slash autocomplete and disambiguates conflicting command names with source suffixes like
:skilland:mcp.The
:skillsuffix follows the:mcpsuffix convention.Implementation notes
kilocode_change, following the repo's fork-isolation pattern.Screenshots / Video
N/A — CLI autocomplete behavior only; no visual PR evidence captured.
How to Test
Manual/local verification
bun test ./test/kilocode/skill-command-autocomplete.test.tsfrompackages/opencode/— passed: 1 test, 5 assertions.Reviewer test steps
review.:skillsuffix./review:skilland resolves the skill instead of the command.Blocked checks and substitute verification
bun run script/check-opencode-annotations.tsfrom the repo root — currently fails because three changed lines inpackages/opencode/src/command/index.tsare missingkilocode_changeannotations.bun test ./test/kilocode/skill-command-autocomplete.test.ts.Checklist
Loom
This loom shows the autocomplete for skills and demonstrates a collision between the /commit cmd and some "commit" skill.
https://www.loom.com/share/1e15a3ee018747f589c2b7eadd24ab84