Feature Request: Argument auto-completion for skills / custom commands
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Shell
- Sterne
- 11.2k
- Forks
- 1.9k
- Ø Merge
- 14 Std. 16 Min.
- Gemergte PRs (30 T.)
- 6
Beschreibung
Describe the feature or problem you'd like to solve
Skills can expose multiple parameters, but users currently need to remember them or look up the skill documentation before invocation. It would be useful for Copilot CLI to support PowerShell-style argument auto-completion for skills and custom commands.
Proposed solution
Proposed behavior
At minimum:
Auto-complete declared parameter names.
Support completion from partial parameter names.
Avoid suggesting already-used, non-repeatable parameters.
Derive completions directly from the skill's parameter/schema definition.
Optionally, parameter metadata could enable value completion:
file → filesystem completion
enum → allowed values
boolean → true / false
Why this is useful
Improves discoverability of skill capabilities.
Reduces typos and invalid arguments.
Avoids repeatedly checking skill documentation.
Makes parameter-rich skills feel like first-class CLI commands.
Lets skill authors define arguments once, with the CLI providing the completion experience automatically.
Example prompts or workflows
/deploy-service --environment --config <config.json>
Additional context
No response
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, den Einstiegspunkt für die Vervollständigung von Copilot CLI sowie die für den Aufruf verwendete Parameter- oder Schemadefinition für skill/custom command zu finden. Verfolge anschließend, wie unvollständige Argumente geparst werden, und überprüfe, dass deklarierte ungenutzte Parameter vorgeschlagen werden und dass die Vervollständigung optionaler Werte den angegebenen Metadatenregeln folgt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- shell
- Bereich
- cli
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Aktiv
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 55/100