com um clique
code-review
Review GitHub Pull Requests with technology-aware reference guides
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 GitHub Pull Requests with technology-aware reference guides
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
Safe Rails console interaction over tmux. Reads project code (models, services, policies, data flow) to build intelligent Rails console commands, then executes via tmux-relay. Trigger when interacting with a Rails console pane — debugging, investigating data, running queries, performing tasks, or any controlled operation that needs codebase context.
Interactive shell helper via tmux-relay. Helps users perform tasks on remote servers through SSH sessions — run commands, inspect logs, manage services, check system state. No codebase exploration needed. Trigger when the user wants to interact with a shell pane for server operations.
Collaborative brainstorm for architecture decisions, feature design, or any problem with multiple viable approaches. Read-only — no code changes.
Lightweight design-and-implement skill for small-to-medium tasks. Collapses brainstorm + plan + build into one session.
Write a technical design document for a feature, system, or architecture change. Read-only — no code changes.
Turn a design document from brainstorm into a concrete implementation plan. Read-only — no code changes.
| name | code-review |
| description | Review GitHub Pull Requests with technology-aware reference guides |
| user-invocable | true |
| disable-model-invocation | true |
| allowed-tools | Read, Grep, Glob, Bash(gh:*, git:*) |
Review a GitHub Pull Request with structured, technology-aware analysis.
This skill accepts one argument: a PR number (e.g., 123) or a PR URL (e.g., https://github.com/owner/repo/pull/123).
Run the following commands to gather context:
gh pr view <number> — Get PR title, description, author, and base branch.gh pr diff <number> — Get the full diff against the base branch.gh pr diff <number> --name-only — Get the list of changed file names.If the diff is very large (>1000 lines), summarize by file first, then review in batches grouped by module or directory. Output findings incrementally per batch.
Scan the changed file names and diff content to determine which technologies are present. Use the detection table below to decide which reference guides to load.
Detection Table:
| Signal | Technology | Reference File |
|---|---|---|
| Always | Common | references/common.md |
Changed files with .jsx, .tsx extensions | React | references/react.md |
Changed files with .rb extension | Ruby | references/ruby.md |
Rules:
references/common.md.Read each matched reference file from the references/ directory. These contain the review checklists and anti-patterns to check against.
Review every changed file against all loaded reference guides. If context around a change is unclear from the diff alone, read the full source file to understand the surrounding code before flagging issues.
For each issue found:
Focus on real issues that affect correctness, security, performance, or maintainability. Do not flag stylistic preferences or nitpicks unless they indicate a deeper problem.
Severity Definitions:
| Level | Name | Description | Action |
|---|---|---|---|
| P0 | Critical | Security vulnerability, data loss risk, correctness bug | Must block merge |
| P1 | High | Logic error, significant design violation, performance regression | Should fix before merge |
| P2 | Medium | Code smell, maintainability concern, missing edge case handling | Fix in this PR or create follow-up |
| P3 | Low | Style, naming, minor suggestion | Optional improvement |
Structure the review as follows:
## Code Review: PR #<number> — <title>
**Files reviewed**: X files, Y lines changed
**Technologies detected**: [Common, React, ...]
**References loaded**: [common.md, react.md, ...]
**Overall assessment**: APPROVE | REQUEST_CHANGES | COMMENT
---
## Findings
### P0 — Critical
(none or list)
### P1 — High
- **[file:line]** Brief title
- Description of issue
- Suggested fix
### P2 — Medium
...
### P3 — Low
...
---
## Additional Suggestions
(optional improvements, not blocking)
## Summary
Brief overall assessment and key takeaways.
## Limitations
- Areas not fully reviewed (e.g., config files, generated code)
- Context that was unavailable
Guidelines: