com um clique
pr-review
Review pull requests with conversational, actionable feedback
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Review pull requests with conversational, actionable feedback
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Analyze GitHub issues, assess complexity, and suggest an implementation approach
Security review of code changes focusing on OWASP top 10 and Tekton-specific risks
Find good issues to work on by scanning repos for approachable tasks
Generate daily standup notes from TekAgent activity, git history, and pending PRs
| name | pr-review |
| description | Review pull requests with conversational, actionable feedback |
| user_invocable | true |
| always_enabled | true |
When asked to review a PR, follow these steps:
Use the gh CLI to fetch PR metadata and diff:
gh pr view <number> --repo <repo> --json title,body,author,labels,url,changedFiles,commits
gh pr diff <number> --repo <repo>
If the PR references an issue, fetch the issue to verify the changes actually address it:
gh issue view <issue_number> --repo <repo> --json title,body,labels
Before diving into line-level comments, produce a brief file-by-file walkthrough:
Assign a size label based on the diff:
Include estimated review time (5 min / 15 min / 30+ min).
Look at the diff for real problems:
Run a dedicated security check on the diff, separate from the general review:
If security issues are found, flag them with high confidence and clear impact.
Don't just review the diff in isolation:
If the PR links to an issue or ticket:
For tektoncd/* repositories:
Before posting a comment, gauge your confidence:
Never post low-confidence comments. Noise erodes trust.
Write review comments the way you'd type them in Slack, not the way you'd write a doc:
Bad: "Medium — Error Handling: The makeHttpClient function replaces http.DefaultTransport. This could cause issues with other middleware. Prefer wrapping the transport."
Good: "small concern with this line — replacing http.DefaultTransport directly means anything else that wraps it (instrumentation, a test helper, a proxy wrapper) gets silently overridden. might be worth wrapping the existing transport instead of replacing it."
IMPORTANT: Never submit or approve a review. Only create pending review comments. The user will go to the GitHub UI to submit the review themselves.
Line comments (preferred for specific issues):
Get the latest commit SHA:
gh pr view <number> --repo <repo> --json headRefOid --jq .headRefOid
Write the comment body to a temp file (avoids escaping issues):
cat > /tmp/review_comment.md << 'EOF'
your comment here — follow the tone guidelines above
EOF
Post as a pending review comment on a specific line:
gh api -X POST /repos/<owner>/<repo>/pulls/<number>/comments \
-f body="$(cat /tmp/review_comment.md)" \
-f commit_id="<sha>" \
-f path="<file_path>" \
-F line=<line_number> \
-f side="RIGHT"
Tell the user the review is pending and they can submit from the GitHub UI.
General comments (for things that don't map to a specific line):
gh pr comment <number> --repo <repo> --body "$(cat /tmp/comment.md)"cat > /tmp/comment.md << 'EOF' (quoted EOF prevents shell expansion)When giving an overall review summary in chat (not a GitHub comment), include: