スキル一覧に戻る
mathiassoeholm

gh-cli

by mathiassoeholm

2🍴 1📅 2026年1月22日
GitHubで見るManusで実行

SKILL.md


name: gh-cli description: Use when interacting with GitHub - searching for repos/orgs/packages, exploring codebases, finding projects to use, querying branches/PRs/issues/releases/workflows, automating GitHub operations, or when users mention GitHub organizations or repositories

CRITICAL: You MUST use the Task tool with subagent_type: "general" to execute GitHub CLI commands. NEVER run gh commands directly in your bash session.

Example Task invocation:

Task(subagent_type="general", prompt="Use gh CLI to list branches: gh branch list --json name,updatedAt")

This preserves conversation context and isolates CLI output.


GitHub CLI (gh)

Command-line interface for GitHub. Use --json <fields> with --jq for scriptable output.

Quick Reference

TaskCommand
List my PRsgh pr list --author @me
View PRgh pr view <number>
Create PRgh pr create --fill
Checkout PRgh pr checkout <number>
List issuesgh issue list
View issuegh issue view <number>
Create issuegh issue create --title "..." --body "..."
Repo infogh repo view
Clone repogh repo clone <owner/repo>
List releasesgh release list
Workflow runsgh run list
View rungh run view <run-id>
Search reposgh search repos <query>
Search codegh search code <query>
API requestgh api <endpoint>
My statusgh status
Auth statusgh auth status

Core Commands

CommandDescription
gh repoManage repositories (create, clone, fork, view, delete, edit)
gh prManage pull requests (create, list, view, checkout, merge, close)
gh issueManage issues (create, list, view, edit, close, comment)
gh releaseManage releases (create, list, view, download, delete)
gh gistManage gists (create, list, view, edit, delete)
gh projectWork with GitHub Projects

GitHub Actions

CommandDescription
gh run listList recent workflow runs
gh run viewView a workflow run
gh run watchWatch a run until completion
gh run rerunRerun a workflow
gh workflow listList workflows
gh workflow runTrigger a workflow
gh cache listList Actions caches

Additional Commands

CommandDescription
gh searchSearch repos, issues, PRs, commits, code
gh apiMake authenticated API requests
gh authManage authentication (login, logout, status)
gh configManage configuration
gh secretManage repository/org secrets
gh variableManage Actions variables
gh labelManage issue labels
gh rulesetView repository rulesets

For detailed flags and examples, see pr-commands.md, issue-commands.md, repo-commands.md, actions-commands.md, and other-commands.md in this skill directory.

Output Flags

FlagDescription
--json <fields>Output JSON with specified fields
-q, --jq <expr>Filter JSON output with jq expression
-t, --templateFormat output with Go template
-w, --webOpen in browser

Global Flags

FlagDescription
-R, --repo OWNER/REPOSelect repository
--helpHelp for any command

スコア

総合スコア

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

レビュー

💬

レビュー機能は近日公開予定です