code-review-and-quality

Reviews code changes across correctness, readability, architecture, security, and performance before merge.

Updated Sep 15, 2026
One-click install
npx skills add https://github.com/Qiuyi-Hong/addyosmani-skills --skill code-review-and-quality-qiuyi-hong
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review-and-quality
Source: https://github.com/Qiuyi-Hong/addyosmani-skills/tree/main/skills/code-review-and-quality
Command: npx skills add https://github.com/Qiuyi-Hong/addyosmani-skills --skill code-review-and-quality-qiuyi-hong

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Code merged without structured review accumulates defects, security vulnerabilities, and architectural debt. This Skill enforces a consistent multi-axis review process so every change is evaluated against the same quality bar before entering the main branch. ## Core Features & Use Cases - Five-Axis Review: Evaluates every change for correctness, readability, architecture, security, and performance with concrete checklists per axis. - Severity-Labeled Feedback: Categorizes findings as Critical, Required, Nit, Optional, or FYI so authors know exactly what must be addressed before merge. - Change Sizing and Splitting Guidance: Defines reviewable change sizes (~100 lines good, ~1000 too large) and provides stacking, horizontal, and vertical splitting strategies. - Use Case: Before merging a pull request, run the review checklist to verify tests cover the change, no N+1 queries or injection risks exist, the diff stays within size limits, and the commit description stands alone in version control history. ## Quick Start Review this pull request across correctness, readability, architecture, security, and performance, and label each finding by severity.

Frequently Asked Questions about code-review-and-quality

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review a pull request before merging?

Review a pull request by first understanding its intent, then checking tests, then walking the implementation across five axes: correctness, readability, architecture, security, and performance. Label every finding by severity and finish with an approve or request-changes verdict.

What should a code review checklist include?

A code review checklist should cover context understanding, correctness against the spec, edge case and error handling, naming and readability, architectural fit, security checks like input validation and secrets, performance issues like N+1 queries, and verification that tests and builds pass.

How large should a pull request be for effective review?

A pull request around 100 changed lines is reviewable in one sitting, 300 lines is acceptable for a single logical change, and 1000 lines is too large and should be split. Split oversized changes by stacking, file groups, horizontal layers, or vertical feature slices.

How do I review AI-generated code differently?

AI-generated code needs more scrutiny, not less, because it is confident and plausible even when wrong. Verify it against the spec, check edge cases and error paths, and never rubber-stamp with LGTM without evidence of actual review.

How should I handle dependency upgrades in code review?

Review dependency upgrades by reading the changelog rather than trusting semver, upgrading one dependency per change, requiring a green test suite before and after, and reviewing the lockfile diff. Avoid bulk bump PRs that hide which package broke the build.

When should a code review request changes instead of approving?

Request changes when Critical issues exist, such as security vulnerabilities, data loss, or broken functionality, or when Required findings are unresolved. Approve when the change improves overall code health even if it is not perfect.