一键导入
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