code-review

Review code diffs for correctness, style, and security issues.

Updated Mar 11, 2026
One-click install
npx skills add https://github.com/geoffbelknap/agency-hub --skill code-review-geoffbelknap
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review
Source: https://github.com/geoffbelknap/agency-hub/tree/main/skills/code-review
Command: npx skills add https://github.com/geoffbelknap/agency-hub --skill code-review-geoffbelknap

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the review of code changes to identify correctness, style, and security issues, reducing manual review time and repeated defects.

Core Features & Use Cases

  • Understand changes: Analyze diffs to grasp the intent and impact of modifications.
  • Check correctness: Validate logic, edge cases, and alignment with tests.
  • Check security & style: Detect potential vulnerabilities and enforce coding standards.
  • Use Case: When a pull request is opened, generate a structured, prioritized report listing findings, severity, and suggested fixes.

Quick Start

Review the latest diff and generate a concise, actionable defect list.

Frequently Asked Questions about code-review

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

FAQPage Schema
How do I automate code review for pull requests?

Automate code review by analyzing pull request diffs to identify correctness, style, and security issues. The process generates a structured report containing file locations, severity levels, descriptions, and remediation guidance to reduce manual review time.

What is static analysis for code quality and how does it work?

Static analysis for code quality examines diffs without executing code to detect potential vulnerabilities and enforce coding standards. It validates logic, checks edge cases, verifies test alignment, and delivers a prioritized defect list with suggested fixes.

Can I use automated code review for enterprise-grade codebases across multiple languages?

Automated code review applies to enterprise-grade codebases across multiple programming languages. It analyzes modifications to understand intent and impact, checking for security vulnerabilities and style issues regardless of the specific language used.

What's the best way to check pull request security and style before merging?

Check pull request security and style by analyzing diffs to detect potential vulnerabilities and enforce coding standards. Generate a structured, prioritized report listing findings with severity levels and suggested fixes to ensure code quality before merging.

How do I generate a structured defect report from a code diff?

Generate a structured defect report from a code diff by analyzing the modifications for correctness, security, and style issues. The resulting report includes file locations, severity rankings, descriptions, and actionable remediation guidance for each finding.

Why does automated code review miss logic errors in edge cases?

Automated code review may miss complex logic errors in edge cases if tests lack sufficient coverage. While it validates logic and checks alignment with tests, deeply contextual business logic defects often require human verification alongside the automated security and style checks.