Code Review and Quality skill
Review correctness, readability, architecture, security and performance with evidence-backed findings.
Community · Addy Osmani| Author | Addy Osmani |
|---|---|
| Licence | MIT |
| Source | addyosmani/agent-skills · SKILL.md on GitHub |
| Project website | skills.addy.ie |
| Works in | Claude Code · Codex, Gemini CLI, Cursor, Copilot |
| Read from the source on |
The code-review-and-quality skill reviews a change across five engineering axes.
It reads intent and tests, checks callers and guards, separates existing defects from regressions and orders findings by importance. A zero-finding review is allowed; it should not invent a defect to fill a report.
From the skill's SKILL.md: # Code Review and Quality
What it does
- Identify the intended behavior and exact reviewed revision.
- Inspect tests and implementation across the five axes.
- Report supported findings with severity and verification limits.
What you get
- A structured review, required versus optional findings and an evidence summary.
When to use it
- Review a diff, pull request, dependency upgrade or completed change.
When not to use it
- Treating review approval as automatic merge authority or claiming checks ran on an unverified revision.
What it needs
- A code-capable agent, diff and project context; local testing needs the correct checkout and project tooling. Separate reviewers are optional.
Files in the skill
| File or folder | What it is for |
|---|---|
SKILL.md | Five-axis review, structural remedies, dependency review and evidence checks. |
Licence as found in the repository on 2026-11-23: MIT.
Example prompts
Type one of these after installing; naming the skill makes sure it is used.
- Review this diff for concrete correctness and security regressions.
- Separate required defects from optional style feedback.
- Check whether this dependency upgrade changes behavior and test coverage.
How to install code-review-and-quality
Review the intended checkout
Retain the clone for root security/performance references. Before local probes, identify the reviewed ref and preserve unrelated edits. A proposed mutation test must be isolated and restored.
No review service, source-control integration or test infrastructure is bundled.
A skill is a folder with a SKILL.md file. You install it once; the agent reads its short description at the start of each session and loads the full instructions only when a request matches. Pick the place you use:
Claude Code: from the plugin marketplace
- Start Claude Code in a terminal with
claude. - Add the marketplace (once per computer):
/plugin marketplace add addyosmani/agent-skills - Install the plugin. Claude Code opens its details first: check what it will add (skills, hooks, MCP servers), then choose whether it is for you, for everyone on this repository, or for you in this repository only.
/plugin install agent-skills@addy-agent-skills - Type / and look for
/agent-skills:code-review-and-quality, or simply ask for the task.
From your shell instead of a session:
claude plugin marketplace add addyosmani/agent-skills
claude plugin install agent-skills@addy-agent-skillsThe plugin installs as a whole, so other skills come with it, including accessibility-engineering, api-and-interface-design, browser-testing-with-devtools, ci-cd-and-automation, code-simplification, constraint-driven-development, context-engineering, debugging-and-error-recovery, deprecation-and-migration, documentation-and-adrs, doubt-driven-development, frontend-ui-engineering, git-workflow-and-versioning, idea-refine, incremental-implementation, interview-me, observability-and-instrumentation, performance-optimization, planning-and-task-breakdown, security-and-hardening, shipping-and-launch, source-driven-development, spec-driven-development, test-driven-development, using-agent-skills.
Claude Code: copy the folder into your skills folder
Put the skill's folder in ~/.claude/skills/ to use it in every project on this computer, or in .claude/skills/ inside a repository to share it with everyone who works there (commit it).
git clone --depth 1 https://github.com/addyosmani/agent-skills.git
mkdir -p ~/.claude/skills
cp -R agent-skills/skills/code-review-and-quality ~/.claude/skills/Claude Code notices new or changed skills in these folders during the session. If the skills folder did not exist when the session started, run /reload-skills once. Then type /code-review-and-quality or just describe the task.
On Windows, run the commands in Git Bash or WSL, or copy the folder into the same place with File Explorer.
Codex, Gemini CLI, Cursor and GitHub Copilot
These agents read the same SKILL.md folders. The one folder all four accept inside a project is .agents/skills/, so this copies the skill there:
git clone --depth 1 https://github.com/addyosmani/agent-skills.git
mkdir -p .agents/skills
cp -R agent-skills/skills/code-review-and-quality .agents/skills/| Agent | Project folder | Your user folder | Notes |
|---|---|---|---|
| OpenAI Codex | .agents/skills/ | ~/.agents/skills/ | Type $ or run /skills to pick a skill; Codex also chooses one when your task matches. |
| Gemini CLI | .agents/skills/.gemini/skills/ | ~/.agents/skills/~/.gemini/skills/ | Or install from Git with gemini skills install <git URL> --path <folder> --consent. Google replaced Gemini CLI with Antigravity CLI for free-tier and Google One users on 18 June 2026; Antigravity uses .agents/skills/ in a project and ~/.gemini/config/skills/ for you. |
| Cursor | .agents/skills/.cursor/skills/ | ~/.agents/skills/~/.cursor/skills/ | Type / in Agent chat to pick a skill. Cursor also reads Claude Code's .claude/skills/ folders. |
| GitHub Copilot | .github/skills/.agents/skills/.claude/skills/ | ~/.copilot/skills/~/.agents/skills/ | Works in Copilot CLI, the cloud agent, and agent mode in VS Code, Visual Studio and JetBrains (IDE support depends on the version). Or run gh skill install OWNER/REPOSITORY SKILL (public preview, GitHub CLI 2.90.0 or later). |
Sources for these steps
Checked against each vendor's documentation on 2026-11-14:
Give an actionable remedy
Explain the concrete failure or structural regression and the change that would address it. Keep critical correctness and security issues ahead of cosmetic suggestions.
Verify test sensitivity
The source suggests an isolated mutation probe to check whether a test detects changed behavior. Preserve the original file and restore it; do not mutate a shared dirty checkout casually.
Questions about code-review-and-quality
Must every review find a problem?
No. Findings must survive checks against the callers, guards and tests.
Does a green suite prove quality?
No. Tests do not settle architecture, readability, security or whether the right behavior is covered.
Why check the revision?
Uncommitted edits or a different branch can produce evidence for code outside the reviewed change.
Does it automatically merge the PR?
No. The output is review feedback; merging follows the repository's authority and release process.
More AI skills
Related skills
Incremental Implementation skill
Community · Addy OsmaniImplement one complete, verifiable slice at a time while keeping unrelated work out of scope.Test-Driven Development skill (Addy Osmani)
Community · Addy OsmaniUse repository-specific red, green and refactor steps to prove behavior and reproduce bugs.Shipping and Launch skill
Community · Addy OsmaniPrepare a staged release with monitoring, feature flags, success criteria and rollback steps.Antfu skill
Community · Anthony FuApply Anthony Fu's JavaScript and TypeScript tooling preferences to a compatible project.Antfu Create PR skill
Community · Anthony FuPrepare an evidence-backed GitHub pull request with the correct diff range and review context.Daymade Skill Creator
Community · daymadeCreate and improve skills while preserving source ownership, capabilities and evidence boundaries.