github
できること
このスキルは、エージェントがプルリクエスト、Issue、ビルドのチェックなど、GitHubの作業を調べたり管理したりできるようにします。コードをGitHubに置く開発者向けです。
使う場面
- ✓プルリクエストの状態、変更、チェックを表示させたいとき。
- ✓GitHubのIssueを一覧、読み取り、作成、またはクローズしたいとき。
- ✓リリースの前に、ビルドのチェックが通ったかを確認したいとき。
スキルのリンク
https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/github/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私のリポジトリの開いているプルリクエストと、そのチェックが通ったかを見せてもらえますか。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントはghツールとgitを使って、GitHubのデータを読みます。プルリクエストの作成やマージなど、変更はあなたが依頼したときだけ行います。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
GitHub
Use gh for GitHub operations and git for local branches, commits, pulls, and pushes. Use code-reading tools for deep reviews.
Prerequisites
Check authentication before making a GitHub request:
gh auth status
If gh is missing or unauthenticated, explain what is required. Do not invent credentials or expose tokens.
Pull requests
gh pr list --repo owner/repo --json number,title,state,author,url
gh pr view 55 --repo owner/repo --json title,body,author,files,commits,reviews,reviewDecision
gh pr checks 55 --repo owner/repo
gh pr diff 55 --repo owner/repo
gh pr create --repo owner/repo --title "feat: title" --body-file /tmp/pr.md
gh pr merge 55 --repo owner/repo --squash
URLs work directly with commands such as gh pr view. Treat create, comment, review, merge, close, release, and workflow rerun operations as external mutations: perform them only when the user requested that action. Before submitting, show or verify the exact repository and target.
Issues
gh issue list --repo owner/repo --state open --json number,title,labels,url
gh issue view 42 --repo owner/repo --json title,body,comments,labels,state
gh issue create --repo owner/repo --title "Bug: ..." --body-file /tmp/issue.md
gh issue comment 42 --repo owner/repo --body-file /tmp/comment.md
gh issue close 42 --repo owner/repo --comment "Fixed in ..."
CI and runs
gh run list --repo owner/repo --limit 10
gh run view <run-id> --repo owner/repo --json status,conclusion,headSha,url
gh run view <run-id> --repo owner/repo --log-failed
gh run rerun <run-id> --repo owner/repo --failed
API
gh api repos/owner/repo/pulls/55 --jq '.title, .state, .user.login'
gh api repos/owner/repo/labels --jq '.[].name'
gh api --cache 1h repos/owner/repo --jq '{stars: .stargazers_count, forks: .forks_count}'
Prefer --json with --jq for structured output. Use --body-file for comments and bodies containing backticks, shell snippets, environment names, or user-provided text.
よくある質問
エージェントに私のGitHubのパスワードが必要ですか?
いいえ。GitHubのコマンドラインツールを使い、それは既にサインインされている必要があります。スキルは、トークンを求めないよう定めています。
プルリクエストを代わりにマージできますか?
はい。ただし、あなたが依頼したときだけです。GitHubへのマージやその他の変更には、あなたの指示が必要です。
ghツールがない場合は?
エージェントは必要なものを説明し、黙ってインストールはしません。
詳細
作者による元の説明
Use GitHub CLI for repositories, issues, pull requests, reviews, CI runs, releases, and structured GitHub API queries.
repo: EKKOLearnAI/ekko-studio
人気
- GitHubのスター
- 12k
- ランキング
- #11566
- ライセンス
- —
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
1password
12kエージェントが、1PasswordのCLIを使って、コマンドや設定ファイルに必要な秘密情報を、チャット、ログ、保存されたファイルに表示せずに取得できるよう支援します。
apple-notes
12kエージェントが、memoコマンドラインツールを使って、Macのメモ(Apple Notes)を作成、検索、読み取り、編集、移動、削除できるよう支援します。
apple-reminders
12kエージェントが、remindctlツールを使って、Macのリマインダーとリマインダーのリストを一覧表示、作成、編集、完了、削除できるよう支援します。
document-to-action-items
12kエージェントが、文書、会議の書き起こし、メモを、タスク、担当者、期限、決定事項の明確な表に変換できるよう支援します。
似ているスキル
openclaw-update
394k既存のOpenClaw Gatewayを更新するようエージェントを支援します。インストール方法に合った更新方法を選び、セッションを動かし続けます。
diagnose-gateway
394k設定、チャンネル、ポートを確認して、OpenClaw Gatewayが失敗している理由を、何も変更せずに突き止めるようエージェントを支援します。
crabbox-apps
394k一時的なクラウドマシン上でアプリを開いて実行し、そのビューをチャットのサイドパネルに表示するようエージェントを支援します。