ワンクリックで
github-cli
Use the GitHub CLI (gh) for PRs, issues, reviews, and repo operations. Authenticated via GH_TOKEN env var or local gh auth.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use the GitHub CLI (gh) for PRs, issues, reviews, and repo operations. Authenticated via GH_TOKEN env var or local gh auth.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use the GitHub CLI (gh) for PRs, issues, reviews, and repo operations. Authenticated via GH_TOKEN env var or local gh auth.
Pull real production data into a dev or Codex cloud environment — ad hoc via the Neon MCP tools (sanitize before inserting locally), or the persistent sanitized baseline via the Railway seed bucket. Use when local/seeded data isn't enough — e.g. debugging against realistic conversations, reproducing a data-dependent bug, testing UI with real-shaped data.
Pull real production data into a dev or Claude Code cloud environment — ad hoc via the Neon MCP tools (sanitize before inserting locally), or the persistent sanitized baseline via the Railway seed bucket. Use when local/seeded data isn't enough — e.g. debugging against realistic conversations, reproducing a data-dependent bug, testing UI with real-shaped data.
| name | github-cli |
| description | Use the GitHub CLI (gh) for PRs, issues, reviews, and repo operations. Authenticated via GH_TOKEN env var or local gh auth. |
The GitHub CLI (gh) is available and authenticated. Use it for GitHub operations.
Auth: Works via GH_TOKEN env var (Claude Code Web) or local gh auth login (local CLI).
gh pr list
gh pr list --head <branch> # by source branch
gh pr list --base <branch> # by target branch
gh pr view # current branch
gh pr view <number> # specific PR
gh pr view <number> --comments # with comments
gh api graphql \
-F owner='EmilioEsposito' -F name='portfolio' -F number=<number> \
-f query='
query($owner:String!,$name:String!,$number:Int!){
repository(owner:$owner,name:$name){
pullRequest(number:$number){
reviewThreads(first:100){
nodes{
path
line
isResolved
comments(first:50){
nodes{
author{login}
createdAt
body
}
}
}
}
}
}
}' \
--jq '
.data.repository.pullRequest.reviewThreads.nodes[]
| "FILE: " + (.path // "unknown")
+ " LINE: " + ( (.line|tostring) // "unknown" )
+ " RESOLVED: " + (.isResolved|tostring)
+ "\n"
+ ( .comments.nodes[]
| " ["+.author.login+"] " + .body )
+ "\n"
'
gh pr checks <number>
gh issue list
gh issue list --label "bug"
gh issue list --assignee @me
gh issue view <number>
gh release list
gh repo view
gh search code "pattern" --repo EmilioEsposito/portfolio
gh api repos/EmilioEsposito/portfolio/pulls/<number>/comments