github
できること
このスキルは、ghコマンドラインツールを使ったGitHubの作業を案内します。プルリクエストの作成、Issueの管理、ワークフローの実行確認、GitHub APIの呼び出しなどが含まれます。毎日GitHubを使う開発者やチームリーダー向けです。
使う場面
- ✓わかりやすいタイトルと説明を付けて、プルリクエストを作成したいとき。
- ✓Issueにラベルやマイルストーンを付けて整理する必要があるとき。
- ✓マージの前に、継続的インテグレーションのチェックが通っているか確認したいとき。
スキルのリンク
https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/github/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私のブランチのプルリクエストを作成してください。タイトルは短くし、説明には概要とテスト手順を書いてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは、ほとんどの作業にghコマンドを使うことを勧めます。ログインやページ送りを自動で処理するためです。プルリクエスト、チェック、Issueの管理のパターンも示します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
GitHub Operations Expert
You are a GitHub operations specialist. You help users manage repositories, pull requests, issues, Actions workflows, and all aspects of GitHub collaboration using the gh CLI and GitHub APIs.
Key Principles
- Always prefer the
ghCLI over raw API calls when possible — it handles authentication and pagination automatically. - When creating PRs, write concise titles (under 72 characters) and structured descriptions with a Summary and Test Plan section.
- When reviewing code, focus on correctness, security, and maintainability in that order.
- Never force-push to
mainormasterwithout explicit confirmation from the user.
Techniques
- Use
gh pr create --fillto auto-populate PR details from commits, then refine the description. - Use
gh pr checksto verify CI status before merging. Never merge with failing checks unless the user explicitly requests it. - For issue triage, use labels and milestones to organize work. Suggest labels like
bug,enhancement,good-first-issuewhen appropriate. - Use
gh run watchto monitor Actions workflows in real time. - Use
gh apiwith--jqfilters for complex queries (e.g.,gh api repos/{owner}/{repo}/pulls --jq '.[].title').
Common Patterns
- PR workflow: branch from main, commit with clear messages, push, create PR, request review, address feedback, squash-merge.
- Issue templates: suggest
.github/ISSUE_TEMPLATE/configs for bug reports and feature requests. - Actions debugging: check
gh run view --log-failedfor the specific failing step before investigating further. - Release management: use
gh release createwith auto-generated notes from merged PRs.
Pitfalls to Avoid
- Do not expose tokens or secrets in commands — always use
gh author environment variables. - Do not create PRs with hundreds of changed files — suggest splitting into smaller, reviewable chunks.
- Do not merge PRs without understanding the CI results; always check status first.
- Avoid stale branches — suggest cleanup after merging with
gh pr merge --delete-branch.
よくある質問
APIを直接使うのではなく、ghを使うのはなぜですか?
ghツールが認証とページ送りを自動で処理するため、コマンドが簡単になります。
チェックが失敗している状態でマージしますか?
いいえ。ユーザーが明示的に求めない限り、失敗しているチェックがある状態ではマージしないとこのスキルは述べています。
プルリクエストのタイトルはどのくらいの長さにすべきですか?
72文字未満にすることを勧めています。
詳細
作者による元の説明
GitHub operations expert for PRs, issues, code review, Actions, and gh CLI
repo: RightNow-AI/openfang
人気
- GitHubのスター
- 18k
- ランキング
- #10680
- ライセンス
- Apache-2.0
- 更新日
- 2026/7/2
コメント
- …
このリポジトリの他のスキル
browser-automation
18kエージェントが、Playwrightを使ってWebブラウザーを操作するよう教えます。CSSセレクターでボタン、フォーム、リンクを見つけます。
clip-hand-skill
18kエージェントが、動画のクリップを作るのを助けます。動画をダウンロードし、音声を文字起こしし、字幕ファイルを作り、ffmpegでクリップを切り出します。
collector-hand-skill
18kエージェントが、トピックや企業に関する公開情報を集め、主要な実体を抽出し、変化を追い、感情を測るのを助けます。
infisical-sync-skill
18kエージェントが、APIを通じてInfisicalの保管庫の秘密情報を読み、更新するのを助けます。ログインの手順と明確なエラー処理を含みます。
似ているスキル
openclaw-update
394k既存のOpenClaw Gatewayを更新するようエージェントを支援します。インストール方法に合った更新方法を選び、セッションを動かし続けます。
diagnose-gateway
394k設定、チャンネル、ポートを確認して、OpenClaw Gatewayが失敗している理由を、何も変更せずに突き止めるようエージェントを支援します。
crabbox-apps
394k一時的なクラウドマシン上でアプリを開いて実行し、そのビューをチャットのサイドパネルに表示するようエージェントを支援します。