github / github/copilot-cli

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

Đang mở
#4,812 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

triage
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu bằng cách xác định entry point của chức năng hoàn thành lệnh trong Copilot CLI và định nghĩa tham số hoặc schema của skill/custom command được sử dụng để gọi. Theo dõi cách các đối số chưa đầy đủ được phân tích, sau đó xác minh rằng các tham số chưa được sử dụng nhưng đã khai báo được đề xuất và rằng việc hoàn thành giá trị tùy chọn tuân theo các quy tắc siêu dữ liệu đã nêu.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
shell
Lĩnh vực
cli
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
55/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.