code-review

Review code diffs and pull request URLs for security, performance, and correctness issues.

23.4k|2.8k|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/anthropics/knowledge-work-plugins --skill code-review-anthropics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review
Source: https://github.com/anthropics/knowledge-work-plugins/tree/main/engineering/skills/code-review
Command: npx skills add https://github.com/anthropics/knowledge-work-plugins --skill code-review-anthropics

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the process of reviewing code changes, identifying potential issues related to security, performance, correctness, and maintainability, thereby improving overall code quality and reducing bugs.

Core Features & Use Cases

  • Comprehensive Code Analysis: Analyzes code for a wide range of issues including security vulnerabilities (SQL injection, XSS), performance bottlenecks (N+1 queries), correctness errors (edge cases, race conditions), and maintainability concerns.
  • Structured Feedback: Provides actionable suggestions and identifies critical issues with clear explanations and code examples.
  • Use Case: A developer can submit a pull request URL to the /code-review command, and the Skill will provide a detailed report on potential issues before merging, ensuring higher quality code.

Quick Start

Use the code-review skill to review the code at the provided pull request URL.

Frequently Asked Questions about code-review

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

FAQPage Schema
How do I review code changes for security vulnerabilities and performance bottlenecks?

Code review analyzes code diffs, pull request URLs, or file paths to identify security vulnerabilities like SQL injection and XSS, performance bottlenecks like N+1 queries, and correctness errors, providing actionable feedback and suggestions.

What is the best way to automate checking for maintainability and correctness in pull requests?

Automated code review provides structured feedback on maintainability concerns and correctness errors such as edge cases and race conditions, generating a detailed report with clear explanations and code examples before merging.

Can I use automated code review to find edge cases and race conditions in my code diff?

Yes, automated code review can find edge cases and race conditions by analyzing your code diff, pull request URL, or file paths to ensure adherence to best practices and improve overall code quality.

Does code review work with any programming language or platform for identifying bugs?

Code review requires analysis of code diffs, PR URLs, or file paths to provide actionable feedback on vulnerabilities, optimizing code, and ensuring adherence to best practices across software development workflows.

What are the limitations of using automated code review for software development workflows?

Automated code review requires analysis of code diffs, PR URLs, or file paths to provide actionable feedback, meaning it cannot review code without access to the specific changes or the repository location.