# code-review

Performs a thorough code review covering correctness, security, performance, and style

Skill by Builder.io. Category: Code quality.

## Install

Project (for this project only):

```sh
npx skills add builderio/builder-agent-skills --skill code-review
```

Works with: Claude Code, Codex CLI, Cursor, Antigravity, Copilot CLI, opencode.

Global (for every project on this machine):

```sh
npx skills add builderio/builder-agent-skills --skill code-review -g
```

Works with: Claude Code, Codex CLI, Cursor, Antigravity, Copilot CLI, opencode.

## Tags

- Runs on your computer: It runs as a program on your machine, with your access.
- Runs shell commands: Its steps run shell commands in your terminal.

## Security audits

- Gen Agent Trust Hub: Pass
- Socket: Pass
- Snyk: Pass

Installs: 1. Installs counted by skills.sh. [Open on skills.sh](https://www.skills.sh/builderio/builder-agent-skills/code-review)

## Source

[Open the source](https://github.com/builderio/builder-agent-skills/tree/HEAD/code-review). Checked 2026-10-10. This summary may contain AI-generated text, so it can be wrong. Check the source before you rely on it.

## SKILL.md

````markdown
---
name: code-review
description: Performs a thorough code review covering correctness, security, performance, and style
allowed-tools: read grep glob bash
disable-model-invocation: true
---

Review the provided code or diff and produce a structured report.

Check for:

1. **Correctness** — logic errors, edge cases, off-by-one errors, null/undefined handling
2. **Security** — injection vulnerabilities, improper auth, exposed secrets, OWASP Top 10
3. **Performance** — unnecessary re-renders, N+1 queries, blocking I/O, memory leaks
4. **Maintainability** — naming clarity, function length, duplication, complexity
5. **Tests** — missing coverage for new logic, test quality
6. Run /improve-diff to find Issues

Format output as:

- **Summary**: 2-3 sentence overview
- **Issues**: grouped by severity (critical / major / minor / nit)
- **Suggestions**: optional improvements

Be direct. Don't praise trivial things.
Use the ask tool to find which fixes the user wants to implement
````

- Previous: [web-prototype](https://syn4pse.dev/terminal/builderio-web-prototype.md)
- Next: [axiom](https://syn4pse.dev/terminal/axiom.md)
- [Terminal](https://syn4pse.dev/terminal.md)
- [Suggest a change](mailto:terminal@syn4pse.dev?subject=Terminal%20suggestion)
