一键导入
github-cli-code-review
Use GitHub CLI (gh) to fetch PR details, review comments, and threads for the current branch before addressing code review feedback.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use GitHub CLI (gh) to fetch PR details, review comments, and threads for the current branch before addressing code review feedback.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Use Beads (bd) with sync-branch workflow for task tracking across two-clone setup.
Use semantic code search to understand architecture before editing or refactoring.
Use structured sequential thinking for multi-step debugging, architecture decisions, or ambiguous problem framing.
基于 SOC 职业分类
| name | github-cli-code-review |
| description | Use GitHub CLI (gh) to fetch PR details, review comments, and threads for the current branch before addressing code review feedback. |
When addressing code review comments, do not rely on user-provided summaries. Use gh to pull the authoritative review threads for the PR associated with the current branch.
Assume git authentication is available via SSH and does not block access.
Use this skill when you need to:
gh# Confirm we’re in a git repo and on the expected branch
git status
# Find the PR associated with the current branch
gh pr view --json number,title,url,headRefName,baseRefName,author
# Get the full set of review threads (includes unresolved/resolved state)
gh pr view --json reviewThreads
# Quick human-readable view
gh pr view
# List PR comments (timeline entries)
gh pr view --comments
gh pr view --json ... and then parse, because it includes thread resolution state.gh pr list --head <branch> --json number,title,url and pick the one matching the current head branch.gh fails.