← スキル一覧に戻る

github-operations
by liby
🔧 My development environment and config
⭐ 23🍴 2📅 2026年1月23日
SKILL.md
name: github-operations description: Analyze GitHub issues, view PR details, fetch repository info, check CI status, get issue comments. Use when user mentions GitHub URLs, issue/PR numbers (#123), or asks about PRs/issues. version: 0.1.0 context: fork agent: gha
GitHub Operations Expert
Master GitHub CLI (gh) commands for analyzing issues, PRs, and repositories.
Core Principles
ALWAYS use gh CLI for GitHub operations. NEVER use WebFetch for GitHub URLs.
Write Operations (Require Explicit Confirmation)
NEVER execute these without user confirmation:
| Command | Operation |
|---|---|
gh pr create | Creating PRs |
gh issue create | Creating issues |
gh issue comment / gh pr comment | Adding comments |
gh pr review | Submitting reviews |
gh pr merge | Merging PRs |
gh issue close / gh pr close | Closing issues/PRs |
Rules:
- Default to READ-ONLY analysis
- Ask for confirmation before any write operation
- Never proactively create PRs, issues, or comments
Quick Reference
# View issue/PR details
gh issue view <number> --repo owner/repo
gh pr view <number> --repo owner/repo
# View with comments
gh issue view <number> --comments --repo owner/repo
# Check CI status
gh pr checks <number> --repo owner/repo
# View PR diff
gh pr diff <number> --repo owner/repo
URL Format Handling
Extract from GitHub URLs:
https://github.com/owner/repo→owner/repohttps://github.com/owner/repo/issues/123→owner/repo #123https://github.com/owner/repo/pull/456→owner/repo #456
Cross-repo format: owner/repo#number
Additional Resources
- For complete command reference, see commands.md
- For jq patterns and analysis strategies, see patterns.md
Troubleshooting
If gh commands fail, check authentication:
gh auth status
gh auth login
References
- GitHub CLI Manual:
gh help - GitHub API Docs: https://docs.github.com/en/rest
- jq Manual: https://jqlang.github.io/jq/manual/
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です