code-review

Review code diffs for quality, bugs, security, and test coverage.

9|8|Updated Jun 28, 2024
One-click install
npx skills add https://github.com/MetaMask/ocap-kernel --skill code-review-metamask
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review
Source: https://github.com/MetaMask/ocap-kernel/tree/main/.claude/skills/code-review
Command: npx skills add https://github.com/MetaMask/ocap-kernel --skill code-review-metamask

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps reviewers provide clear, actionable feedback on code changes, ensuring quality and maintainability in software projects.

Core Features & Use Cases

  • Code quality review: Evaluate readability, style, and adherence to guidelines.
  • Bug and risk detection: Identify potential defects, edge cases, and security concerns.
  • Test and maintainability focus: Suggest test coverage improvements and refactoring opportunities.
  • Use Case: A teammate submits a PR; you use this Skill to generate structured, constructive feedback to accelerate merging.

Quick Start

To review a PR, provide the PR diff or link and request a concise, actionable review focusing on quality, correctness, security, and testing.

Frequently Asked Questions about code-review

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

FAQPage Schema
How do I provide constructive code reviews for GitHub pull requests?

To provide constructive code reviews on GitHub pull requests, supply the PR diff to generate structured feedback focusing on style adherence, correctness, performance, security, and test coverage.

What should a code quality review cover to ensure maintainability?

A code quality review should cover readability, style adherence, potential bugs, security concerns, and test coverage improvements to ensure long-term maintainability of the software project.

Can I use automated code review feedback for local code changes and patches?

Yes, you can use automated code review feedback for local code changes and patches by providing the diff to evaluate correctness, identify edge cases, and suggest refactoring opportunities.

What is the best way to detect security concerns and bugs during code review?

The best way to detect security concerns and bugs during code review is to enforce evaluation criteria that systematically check for potential defects, performance issues, and edge cases across feature branches.

Does this code review approach work with any version control system?

Yes, this code review approach works with any version control system (VCS) workflow, including GitHub PRs, feature branches, patches, and local changes, providing actionable feedback regardless of the platform.

How do I get actionable feedback on test coverage and refactoring opportunities?

To get actionable feedback on test coverage and refactoring opportunities, submit the code diff for review to receive suggestions for improvements and identify potential maintainability issues.