code-review
Code review
code-review is Sentry's agent skill for reviewing pull requests by Sentry's engineering practices: runtime errors, performance, side effects, compatibility, security, design, tests and the tone of feedback.
Checked by CookiesForAI on : license and last change of the skill re-read from GitHub; install tested on in Claude Code 2.1.286 and Codex CLI 0.160.0.
Written by
Install Code review
Install this skill with the skills CLI
npx skills add getsentry/skills --skill code-reviewOr, for Claude Code, add Sentry's plugin marketplace
claude plugin marketplace add getsentry/skillsThen install the sentry-skills plugin, which holds all 28 skills
claude plugin install sentry-skills@sentry-skillsRestart Claude Code after installing the plugin. Sentry's README says its skills were written for Sentry employees, so some carry Sentry conventions.
Install tested
On , we ran npx skills add getsentry/skills --skill code-review -a claude-code codex --copy -y (skills CLI 1.7.1) in an empty project. It copied 1 file into each agent's skill folder (.claude/skills/code-review and .agents/skills/code-review), and Claude Code 2.1.286 and Codex CLI 0.160.0 then listed code-review as an available skill.
In Claude Code 2.1.286, after the install, the skill list showed only Sentry's code-review: Claude Code's built-in skill of the same name no longer appeared in that project. We did not test which one /code-review runs. Codex CLI 0.160.0 has no built-in code-review and listed Sentry's.
Or paste this into your coding agent: Install the agent skill code-review from github.com/getsentry/skills. Checked by CookiesForAI on : license and last change of the skill re-read from GitHub; install tested on in Claude Code 2.1.286 and Codex CLI 0.160.0.
A skill can include scripts that run on your computer, so read its source first.
What Code review does
code-review is an agent skill from Sentry that turns Sentry's published code review guidelines into a checklist for an agent. The agent looks for runtime errors, performance traps such as quadratic loops and N+1 queries, unintended side effects, breaking API changes without a migration path, heavy Django ORM queries and security issues such as injection, XSS, access control gaps and exposed secrets.
Beyond bugs, the code-review skill asks whether the change fits the existing architecture, whether tests cover the real requirements at the right level, and whether the change needs a senior reviewer: schema changes, API contract changes, new libraries, hot code paths and security-sensitive code all qualify. Feedback should be polite, specific and phrased as a question when the reviewer is unsure.
The skill is short, about 370 words, and its examples are Python with Django and TypeScript with React. It tells the agent to approve once only small issues are left and not to block a pull request over style, since the goal is lower risk rather than perfect code.
When to use Code review
- You want an agent to review a pull request with a consistent checklist.
- You want review comments that are specific and polite rather than vague.
- You need to know which changes deserve a second, senior reviewer.
- You work on a Django or React codebase and want common pitfalls flagged.
When to pick something else
- A security-focused review: use security-review from the same repository, or Trail of Bits' differential-review.
Which agents Code review works in
Sentry documents Code review for Claude Code, Cursor, Cline, GitHub Copilot. The open skills CLI also installs it into 78 agents, including Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode (we listed it with the CLI on ). See where each agent looks for skills.
We also list this company's other pages: Sentry product page and Sentry MCP server.
Code review license
Code review is published under Apache-2.0.
Related skills for code review and git
- Finishing a Development Branch: Finishing a Development Branch is an agent skill from Superpowers: when work is done, your agent runs the tests, offers to merge, open a pull request or keep the branch, then cleans up.
- GitHub address comments: gh-address-comments is OpenAI's agent skill for pull request review feedback: the agent fetches every comment and review thread on the open PR, numbers them, and fixes only the ones you pick.
- GitHub fix CI: gh-fix-ci is OpenAI's agent skill for failing pull request checks: the agent uses the GitHub CLI to find failing GitHub Actions runs, pulls the logs, summarizes the failure and proposes a fix plan.
- Receiving Code Review: Receiving Code Review is an agent skill from Superpowers: your agent checks review feedback against the code before acting, pushes back with reasons when it is wrong, and skips the flattery.
More from Sentry
- GitHub Actions security review: gha-security-review is Sentry's agent skill for auditing GitHub Actions workflows for attacks an outsider can run, such as pwn requests, expression injection and credential theft, with a concrete exploit for each finding.
- Iterate on PR: iterate-pr is Sentry's agent skill that keeps working on a GitHub pull request until CI passes and high and medium priority review comments are fixed, using bundled scripts and the gh CLI.
- Security review: security-review is Sentry's agent skill for reviewing code for exploitable vulnerabilities, such as injection, XSS, broken access control and weak crypto, and instructs the agent to investigate the code and report only high-confidence findings.