1. Habit
  2. Skills
  3. Code Review and Quality skill
Addy Osmani · 70K installsAnthropic · Claude Code · Learning JavaScript Design Patterns

Code Review and Quality skill
Runs by itself, pull request opened.

Every PR reviewed before merge.

Install the Code Review and Quality skill and make it a habit: follow https://gethabit.dev/skills/addyosmani/code-review-and-quality.md

  1. 1Copy
  2. 2Paste into Claude Code, Codex or Cursor
  3. 3It runs by itself

70K installs109K starsMIT licenceSource on GitHub ↗

Code Review and Quality

by Addy Osmani · 70K installs

The skill

The code review and quality skill gives your agent a five-axis review for correctness, readability, architecture, security and performance, with severity labels and test checks, for teams who review code from people or agents.

Only when you ask.

The habit

Every PR reviewed before merge.

↻ Runs by itselfpull request opened

How the habit works.
You don't have to.

Three questionsWhen does it start? How does it check its work? What does it remember?

One run, step by step.
Then it stops.

Stop ruleStops after one pull request per run.

  1. 01

    Understand intent

    Your agent reads what the change should do and which task it serves.

  2. 02

    Review tests first

    It inverts one new condition, runs the suite and restores the file to see if tests catch it.

  3. 03

    Five-axis pass

    It walks each file for correctness, readability, architecture, security and performance, using security-and-hardening and performance-optimization for depth.

  4. 04

    Label findings

    It marks each one Critical, required, Nit, Optional or FYI, most important first.

  5. 05

    Check dependencies

    For upgrades it reads the changelog, the lockfile diff and npm audit.

  6. 06

    Ask about dead code

    It lists code that is now unused and asks you before anything is removed.

  7. 07

    Verify

    Tests and build must pass, and a person makes the final merge call.

What it may do.
Nothing more.

Safe by defaultIt writes only in its own folder and asks you before anything goes out.

Is it for you?
Use it when it fits.

Quick checkRead both lists. If the left one sounds like you, the Code Review and Quality skill helps.

Use it when

  • ✓ Before you merge a pull request
  • ✓ After another agent wrote code
  • ✓ After a bug fix with a regression test

Skip it when

  • – The change is a full file deletion only
  • – You need a deep security audit alone

Questions

Code Review and Quality skill, answered.

Will it block a PR that is not perfect?

No. The skill approves a change when it clearly improves code health.

Why flip a condition?

If the suite stays green after the flip, a test case is missing, and the review names it.

How do I install the Code Review and Quality skill?

Copy the prompt at the top into your agent. It installs the skill from addyosmani/agent-skills and sets up the habit. Or run npx skills add addyosmani/agent-skills --skill code-review-and-quality.

Is the Code Review and Quality skill free?

Yes. It is published under MIT. Habit is free too.

Code Review and Quality. Now as a habit.

Install the Code Review and Quality skill and make it a habit: follow https://gethabit.dev/skills/addyosmani/code-review-and-quality.md

  • Free
  • No account
  • Undo in one line

All Addy Osmani skills →More code skills →

Works in

  • Claude Code
  • Codex
  • Cursor
  • ChatGPT
  • Claude app

Made by Addy Osmani, published under MIT. Habit links to the original and never changes it. Is this your skill?

Copying didn't work here. Select the line and copy it by hand.