0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【公ド読】GitHub で GitHub Copilot に質問をする

Posted at

【公式ドキュメントを読もうシリーズ】GitHub で GitHub Copilot に質問をする

シリーズ概要

https://qiita.com/yasu_programming/items/cec66f9e8d5d571e9ce3

URL

https://docs.github.com/ja/copilot/using-github-copilot/copilot-chat/asking-github-copilot-questions-in-github

説明

Github上でGithub Copilotをどう動かすのかが解説されている。

スキルによって駆動

これは全く知らなかった。【公式ドキュメントを読もうシリーズ】、やってよかった。

What skills are available?

---

上記の解答を日本語で教えてほしい

とGithub上のGithub Coppilotに聞くと、利用可能なスキルを応えてくれる。

利用可能なスキルは以下の通りです:

get-actions-job-logs (アクションジョブログ取得)
GitHub Actionsでの特定のジョブのログを取得します。失敗したジョブの原因を調査するために使用します。

get-github-data (GitHubデータ取得)
GitHubのREST APIを使用して、リポジトリ、イシュー、プルリクエスト、コンテンツなどのリソースをクエリできます。

getfilechanges (ファイルの変更取得)
リポジトリ内の特定のファイルに対する変更履歴を取得します。

planskill (計画立案スキル)
ユーザーの質問に基づいて、必要なステップを計画し、適切なツールやデータを特定します。

semantic-code-search (意味的コード検索)
ユーザーの質問の意味や意図を理解し、それに基づいて関連するコードを検索します。

lexical-code-search (語彙的コード検索)
正確な単語やパターンに基づいてコードを検索します。コンセプトではなく、具体的な一致を求める場合に使用します。

support-search (GitHubサポート検索)
GitHub製品やサポートに関する質問に回答します(例:GitHub Actions、認証、プルリクエスト、リポジトリ管理など)。

getdiscussion (ディスカッション取得)
指定した番号のGitHubディスカッションを取得します。

getfile (ファイル取得)
リポジトリ内の特定のファイルをパスや名前で検索し、その内容を取得します。

getalert (セキュリティアラート取得)
セキュリティアラートの詳細や関連コードを取得します。

copilot-q1.png
copilot-q2.png

所感

そのほか、特定のプルリクエストに関する質問、特定のコミットに関する質問、使ったことはないがディスカッションに関する質問もできるみたい。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?