Chuyển đến nội dung
Skillpedia
Lập trình chung53k · #3378

code-mate-github-copilot

Skill này làm gì

Agent này giúp bạn dùng GitHub Copilot CLI để phân tích mã hoặc thực hiện tác vụ lập trình. Nó có thể trả lời câu hỏi về dự án của bạn hoặc thậm chí viết mã cho bạn bằng các công cụ của Copilot.

Khi nào nên dùng

  • ✓Khi bạn muốn hiểu một đoạn mã.
  • ✓Khi bạn cần giúp viết mã mới.
  • ✓Khi bạn muốn phân tích dự án của mình để tìm vấn đề.

Liên kết skill

https://github.com/CherryHQ/cherry-studio/blob/main/resources/code-cli-skills/code-mate-github-copilot/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/CherryHQ/cherry-studio/blob/main/resources/code-cli-skills/code-mate-github-copilot/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Copilot, giải thích lỗi này trong mã của tôi.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent chạy các lệnh GitHub Copilot CLI ở chế độ nền. Nếu Copilot chưa được cài hoặc thiết lập, agent sẽ yêu cầu bạn làm việc đó.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

GitHub Copilot CLI

Run

  1. Set the Bash working directory to the exact project the user named and set a finite timeout, normally 10 minutes.
  2. Check availability with command -v copilot. If it is missing, stop and ask the user to install GitHub Copilot CLI in Code Mate.
  3. Run one non-interactive task:
copilot -p "<prompt>" -s --output-format json --no-ask-user

Pass the prompt as one quoted argument. Parse stdout as JSONL and treat an error event or nonzero exit as failure; the published exit-code contract is incomplete. Never start the interactive UI or an authentication flow.

Authentication And Permissions

If Copilot reports a missing login, subscription, or token configuration, stop and ask the user to configure GitHub Copilot CLI in Code Mate. Never request, read, print, or copy credentials.

--no-ask-user prevents an unattended approval prompt. Keep tools denied by default. When the user explicitly requests workspace changes, add only narrowly scoped --allow-tool entries; never use --allow-all as a shortcut.

Example: ask Copilot to explain a failing test without modifying files, run the command above, and summarize the final JSONL result plus any denied tool request.

Câu hỏi thường gặp

GitHub Copilot CLI là gì?

Đây là công cụ cho phép bạn dùng sức mạnh của GitHub Copilot trực tiếp từ dòng lệnh để hỗ trợ tác vụ lập trình.

Tôi có cần cài đặt gì không?

Có, bạn cần cài và cấu hình GitHub Copilot CLI trong môi trường của mình để agent này hoạt động.

Công cụ có thể sửa mã của tôi không?

Có thể, nhưng chỉ khi bạn yêu cầu rõ ràng, và nó sẽ có quyền hạn chế để đảm bảo an toàn.

Chi tiết

Mô tả gốc của tác giả

Runs GitHub Copilot CLI programmatically for repository analysis and coding tasks. Use when the user asks to delegate work to Copilot CLI or obtain a Copilot coding-agent result.

repo: CherryHQ/cherry-studio

Độ phổ biến

Sao GitHub
53k
Vị trí xếp hạng
#3378
Giấy phép
AGPL-3.0
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự