code-review

Analyzes pull request diffs and classifies defects by category and severity.

Updated Feb 3, 2026
One-click install
npx skills add https://github.com/dhruvinrsoni/agentskills-garden --skill code-review-dhruvinrsoni
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review
Source: https://github.com/dhruvinrsoni/agentskills-garden/tree/main/skills/40-quality/code-review
Command: npx skills add https://github.com/dhruvinrsoni/agentskills-garden --skill code-review-dhruvinrsoni

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the code review process, ensuring code quality, consistency, and knowledge sharing by providing structured feedback on pull requests.

Core Features & Use Cases

  • Automated PR Checks: Verifies PR readiness, including title, description, size, and CI status.
  • Detailed Code Analysis: Performs structural reviews, identifying issues related to naming, single responsibility, DRY principles, error handling, and logging.
  • Defect Classification & Severity: Categorizes findings (Bug, Risk, Design, Style, Docs) and assigns severity (Critical, Major, Minor, Nit).
  • Actionable Feedback: Composes respectful and actionable comments with clear suggestions.
  • Use Case: When a developer submits a pull request, this Skill automatically checks its structure and content, provides detailed feedback on potential issues, and suggests improvements, ensuring only high-quality code is merged.

Quick Start

Use the code-review skill to analyze the provided pull request diff and provide feedback.

Frequently Asked Questions about code-review

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

FAQPage Schema
How do I perform a structured code review on a pull request?

To perform a structured code review, analyze the pull request diff and metadata to identify naming, single responsibility, and DRY principle issues. This process verifies CI status, categorizes defects by severity, and provides actionable feedback to ensure high-quality code merges.

What is defect classification in software development?

Defect classification in software development categorizes code issues into Bug, Risk, Design, Style, or Docs categories. By assigning severity levels like Critical, Major, Minor, or Nit, it helps prioritize fixes and maintain code quality during pull request reviews.

Can I automate PR checks for title, description, and CI status?

Yes, you can automate PR checks for title, description, size, and CI status. Automated checks evaluate pull request readiness and structural conventions before performing detailed code analysis, ensuring only high-quality code is merged into the project.

What's the best way to analyze code diffs for best practices and consistency?

The best way to analyze code diffs for consistency is to evaluate changes against project conventions, focusing on error handling, logging, and DRY principles. This approach identifies structural issues and provides clear, respectful suggestions for improvement.

Does automated code review work without external dependencies?

Yes, automated code review works without external dependencies. It performs structural analysis directly on the provided pull request diffs and metadata, classifying defects and generating a review verdict based entirely on the input code changes and project conventions.

When do I need to classify defects by category and severity?

You need to classify defects by category and severity when evaluating pull requests to ensure code quality. Categorizing findings as Bug, Risk, Design, Style, or Docs with severity levels helps developers prioritize actionable feedback and resolve critical issues before merging.