Skip to content

feat: support skill arguments in command palette and inline completion#1849

Draft
dgageot wants to merge 1 commit intodocker:mainfrom
dgageot:skills-args
Draft

feat: support skill arguments in command palette and inline completion#1849
dgageot wants to merge 1 commit intodocker:mainfrom
dgageot:skills-args

Conversation

@dgageot
Copy link
Member

@dgageot dgageot commented Feb 25, 2026

Add an ArgsDescription field to skills (via 'args' YAML frontmatter) so skills can declare that they accept arguments. When present:

  • Command palette and inline / completion show the args hint in the skill description (e.g., '(args: )').
  • Tab auto-completes the skill name into the editor without submitting, leaving the cursor for the user to type arguments before pressing Enter.
  • Enter continues to execute the command immediately.

Split the combined enter/tab key binding in the completion component into separate bindings so each key can trigger distinct behavior. Preserve tab-to-select in file picker, model picker, and theme picker dialogs by matching both keys in their handlers.

Assisted-By: cagent

Add an ArgsDescription field to skills (via 'args' YAML frontmatter) so
skills can declare that they accept arguments. When present:

- Command palette and inline / completion show the args hint in the
  skill description (e.g., '(args: <module-name>)').
- Tab auto-completes the skill name into the editor without submitting,
  leaving the cursor for the user to type arguments before pressing
  Enter.
- Enter continues to execute the command immediately.

Split the combined enter/tab key binding in the completion component
into separate bindings so each key can trigger distinct behavior.
Preserve tab-to-select in file picker, model picker, and theme picker
dialogs by matching both keys in their handlers.

Assisted-By: cagent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant