원클릭으로
github-code-review
Review PRs on GitHub: read diffs, leave inline comments, approve or request changes.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Review PRs on GitHub: read diffs, leave inline comments, approve or request changes.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Karpathy-inspired guidelines: Think before coding, Simplicity first, Surgical changes, Goal-driven execution
Use when you have a written implementation plan to execute in a separate session with review checkpoints
Write an actionable markdown plan before implementation. Bite-sized tasks, exact paths, complete code.
Write clear Conventional Commits. Imperative subject, explain why not what, one logical change per commit.
Optimize based on measurement, never guesswork. Profile first, fix the real bottleneck, verify the win.
Refactor code without changing behavior. Small steps, green tests after every change, no mixing with feature work.
| name | github-code-review |
| description | Review PRs on GitHub: read diffs, leave inline comments, approve or request changes. |
Review open PRs with gh or curl, leave inline comments, approve or request changes.
Always start with local review:
# Staged changes
git diff --staged --stat
git diff --staged
# Changes vs main
git diff main...HEAD --stat
git diff main...HEAD
gh pr view $PR_NUMBER --json title,body,state,author,labels
gh pr diff $PR_NUMBER
Without gh:
OWNER=$(git remote get-url origin | sed -E 's|.*github\.com[:/]||; s|\.git$||' | cut -d/ -f1)
REPO=$(git remote get-url origin | sed -E 's|.*github\.com[:/]||; s|\.git$||' | cut -d/ -f2)
curl -H "Authorization: token $GITHUB_TOKEN" \
"https://api.github.com/repos/$OWNER/$REPO/pulls/$PR_NUMBER"
gh pr review $PR_NUMBER --comment --body "Specific issue on line 42: ..."
Without gh:
curl -H "Authorization: token $GITHUB_TOKEN" \
"https://api.github.com/repos/$OWNER/$REPO/pulls/$PR_NUMBER/reviews" \
-d '{"body":"Review summary","event":"COMMENT","comments":[{"path":"file.go","position":5,"body":"Issue description"}]}'
# Approve
gh pr review $PR_NUMBER --approve
# Request changes
gh pr review $PR_NUMBER --request-changes --body "Issues found: ..."
## PR #N Review: [title]
**Summary:** 1-2 sentence summary of changes
**Issues Found:**
- [ ] Critical: description (file.go:42)
- [ ] Minor: description (file.go:78)
**Verdict:** APPROVE / REQUEST_CHANGES / COMMENT