github / github/copilot-cli

Feature Request: Argument auto-completion for skills / custom commands

オープン
#4,812 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

triage
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、Copilot CLI の補完エントリーポイントと、呼び出しに使用される skill/custom command のパラメーターまたはスキーマ定義を特定します。部分的な引数がどのように解析されるかを追跡し、宣言されている未使用のパラメーターが候補として提示されること、およびオプション値の補完が指定されたメタデータ規則に従うことを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
shell
領域
cli
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
55/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。