원클릭으로
pr-review
Reviews GitHub PRs and leaves human, direct comments. Trigger: When user asks to review a PR, check a PR, or gives a PR URL.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Reviews GitHub PRs and leaves human, direct comments. Trigger: When user asks to review a PR, check a PR, or gives a PR URL.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Design or review REST APIs, define endpoints, request/response schemas, or evaluate API contracts. Use when the user is designing a new API, reviewing an existing one, or asking about HTTP conventions.
Perform a structured code review. Use when the user asks to review code, check a PR, audit a file, or validate an implementation against best practices.
Systematically investigate and fix bugs, errors, or unexpected behavior. Use when the user reports a bug, shares an error/stacktrace, or asks why something isn't working.
Write or improve technical documentation. Use when the user asks to document code, write a README, generate API docs, write a technical spec, or explain how something works for other engineers.
Improve the internal structure of code without changing its behavior. Use when the user asks to clean up, refactor, simplify, or reduce complexity in existing code.
Review code or configuration for security vulnerabilities. Use when the user asks to audit security, check for vulnerabilities, review auth logic, or validate input handling.
| name | pr-review |
| description | Reviews GitHub PRs and leaves human, direct comments. Trigger: When user asks to review a PR, check a PR, or gives a PR URL. |
| license | Apache-2.0 |
| metadata | {"author":"gentleman-programming","version":"1.1","scope":["root"],"auto_invoke":"Reviewing GitHub Pull Requests"} |
Use this skill when:
Be a helpful colleague, not a robot.
You're reviewing code like a senior dev who actually CARES about the codebase and the author's growth. Not a linter. Not a checklist machine.
# Get PR metadata
gh pr view {number} --json title,body,files,additions,deletions,author,state,baseRefName,headRefName
# Get the diff (exclude lockfiles - they're noise)
gh pr diff {number} -- ':(exclude)**/pnpm-lock.yaml' ':(exclude)**/package-lock.json' ':(exclude)**/yarn.lock'
If the diff is huge, fetch specific files from the PR branch:
gh api "repos/{owner}/{repo}/contents/{path}?ref={branch}" --jq '.content' | base64 -d
Only comment on things that MATTER:
| Category | When to Comment |
|---|---|
| CRITICAL | Will break in production, security issue, data loss |
| NEEDS REVIEW | Might be wrong, need author to confirm intent |
| QUESTION | Curious about a choice, not necessarily wrong |
DO NOT comment on:
NEVER assume. If you're not sure about something:
# Check official docs
# Search for the API/convention being used
# Verify the claim before saying "this is wrong"
Example: If someone uses a new API signature, CHECK if that's the new standard before flagging it.
Write like you're talking to a colleague on Slack. Not a formal code review template.
BAD (robotic):
Issue: The function export does not conform to Next.js 16 proxy.ts specification.
Recommendation: Modify the export to use named export pattern.
Severity: Critical
GOOD (human):
Hey! Looking at the proxy.ts export - according to Next.js 16 docs, the function needs to be named `proxy`, not an anonymous default. Should be something like:
export const proxy = auth((req) => { ... })
Can you double check this works correctly? I'm seeing conflicting info about whether next-auth handles this automatically.
Keep it simple:
If you have several things to discuss, put them ALL in one comment. Don't spam the PR with 10 separate comments.
Hey! Did a review. Found a few things worth discussing:
**1. First thing**
{explanation}
**2. Second thing**
{explanation}
Let me know if any of these need clarification!
gh pr comment {number} --body "Your comment here"
For inline comments on specific files/lines, use the review API:
gh api repos/{owner}/{repo}/pulls/{number}/comments -f body="comment" -f path="file.ts" -f line=42 -f side="RIGHT"
After reviewing, summarize for the user:
Listo, dejé el comentario en el PR: {url}
Los puntos principales:
1. {brief summary of critical/review items}
2. {another point}
A ver qué responde el autor.
pr, pull request, review, github, code review, gh