feat: list user skills in the composer "/" menu and expand them on send - #218
Open
yexisu wants to merge 2 commits into
Open
feat: list user skills in the composer "/" menu and expand them on send#218yexisu wants to merge 2 commits into
yexisu wants to merge 2 commits into
Conversation
|
@yexisu is attempting to deploy a commit to the vastsa's projects Team on Vercel. A member of the Team first needs to authorize it. |
Owner
|
Current |
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.
Fixes #142
Problem
Typing
/in the composer only showed app commands and plugin commands. Active user skills (~/.agents/skillsand<project>/.agents/skills) never appeared, on any OS — Windows users reported it first (#142).Root cause:
IPC.invoke.composerCommandsmerges only builtin aliases, prompt templates, plugin commands, and extension commands. The user-skill registry (host-coreskills.active) was never consulted for the menu.Fix
skillkind toComposerCommandand append active user skills to the/namespace (after extension commands), scope-filtered by the open workspace like every other app-facing surface./skill-id extra textexpands to the same<skill>block theSkilltool returns, with the extra text appended as additional instructions; unknown/namesstay literal text, and templates keep priority.Test
packages/agent-runtime: 348 tests pass.node --testfailures on this machine are pre-existing on unmodifiedmain(macOS packaging, fs-scope symlink cases) — verified identical before/after.Specs updated:
04-ux/04-builtin-commands.md§7 (EN + zh-CN mirror) and E2E-249 in the E2E test plan.