code-review-and-quality
Conducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another agent, or a human. Use when you need to assess code quality across multiple dimensions before it enters the main branch.
Author
Category
Development ToolsInstall
Hot:21
Download and extract to your skills directory
Copy command and send to AI Agent for auto-install:
Download and install this skill https://openskills.cc/api/download?slug=addyosmani-skills-code-review-and-quality&locale=en&source=copy
Code Review and Quality — Multidimensional Code Quality Assessment Skill
Skill Overview
The Code Review and Quality skill provides a systematic five-axis code review framework to help developers comprehensively assess correctness, readability, architecture, security, and performance before merging, thereby establishing effective code quality gates.
Applicable Scenarios
1. Pre-Merge Code Review
Conduct a systematic review before submitting a Pull Request or merging code to ensure that all changes undergo quality checks. This skill provides a clear review process and evaluation criteria to help teams establish consistent code review standards.
2. Review of AI-Generated Code
When using AI tools such as Claude or GPT to generate code, more rigorous review is required. AI-generated code may appear correct while containing hidden risks. This skill provides targeted review points and a multi-model collaborative review approach.
3. Review of Refactoring and Bug Fixes
Refactoring and bug fixes often introduce new problems. This skill reviews not only the fix itself, but also checks for architectural issues, performance bottlenecks, and security vulnerabilities, while identifying dead code that can be removed.
Core Features
Five-Axis Code Review Framework
Comprehensively evaluate code quality across five dimensions:
Structured Recommendations and Fixes
When code issues are found, provide not only the location of the problem but also specific refactoring recommendations:
Change Size and Dependency Management
Provide best-practice guidance for PR size and dependency review processes:
Frequently Asked Questions
What should be checked during a code review?
A code review should cover five dimensions: correctness (whether the code implements the requirements and handles edge cases), readability (whether naming is clear and the logic is simple), architecture (whether the code is properly decomposed without overengineering), security (input validation, access control, and the absence of injection vulnerabilities), and performance (no N+1 queries or unbounded loops). Do not check only whether the tests pass; tests are necessary but not sufficient.
How should disagreements in code reviews be handled?
When resolving disagreements in code reviews, follow a hierarchy: technical facts and data take precedence over opinions and preferences; style guides are the ultimate authority on style issues; software design must be based on engineering principles rather than personal preferences; if a change does not reduce overall code health, maintaining consistency across the codebase is acceptable. Do not accept “we’ll clean it up later”—experience shows that deferred cleanup rarely happens.
How should code review severity be labeled?
Use clear labels to distinguish issue priority:
This allows authors to distinguish mandatory fixes from optional suggestions and improves review efficiency.