一键导入
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 职业分类
Vercel AI SDK 5 patterns. Trigger: When building AI chat features - breaking changes from v4.
Docker patterns, Dockerfile, multi-stage builds, Compose, dev/prod. Trigger: When writing Dockerfiles, docker-compose, or container configuration.
Creates Jira epics for large features following Prowler's standard format. Trigger: When user asks to create an epic, large feature, or multi-task initiative.
Creates Jira tasks following Prowler's standard format. Trigger: When user asks to create a Jira task, ticket, or issue.
MySQL patterns, schema design, indexing, query optimization with Prisma. Trigger: When designing MySQL schemas, optimizing queries, or configuring MySQL.
NestJS 11 patterns, modules, decorators, guards, pipes, CQRS. Trigger: When writing NestJS backend code - controllers, services, modules, DTOs.
| 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.0"} |
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