本文へスキップ
Skillpedia
一般的なプログラミング53k · #3378

code-mate-github-copilot

できること

このエージェントは、GitHub Copilot CLIを使ってコードを分析したり、プログラミングの作業を行ったりするのに役立ちます。Copilotのツールを使い、プロジェクトに関する質問に答えたり、コードを書いたりすることもできます。

使う場面

  • ✓コードの内容を理解したいとき。
  • ✓新しいコードを書くのを手伝ってほしいとき。
  • ✓プロジェクトに問題がないかを分析したいとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/CherryHQ/cherry-studio/blob/main/resources/code-cli-skills/code-mate-github-copilot/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“Copilot、このコードのエラーを説明して。”

毎週5つの新しいスキル。1分で読めます。

仕組み

バックグラウンドでGitHub Copilot CLIのコマンドを実行します。Copilotがインストールされていない、または設定されていない場合は、そのことを伝えてインストールと設定を促します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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.

よくある質問

GitHub Copilot CLIとは何ですか?

GitHub Copilotの機能を、コマンドラインから直接使えるようにするツールです。コーディング作業を手伝ってくれます。

何かをインストールする必要がありますか?

はい。このエージェントを動かすには、GitHub Copilot CLIを環境にインストールして設定しておく必要があります。

このエージェントでコードを変更できますか?

変更できますが、明示的に依頼した場合のみです。また、安全のために権限は制限されています。

詳細

作者による元の説明

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

人気

GitHubのスター
53k
ランキング
#3378
ライセンス
AGPL-3.0
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル