code-review

Reviews code for bugs, style, and design issues via GitHub PR or local diff.

Updated Mar 17, 2023
One-click install
npx skills add https://github.com/IainMcl/dotfiles --skill code-review-iainmcl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review
Source: https://github.com/IainMcl/dotfiles/tree/main/claude/skills/code-review
Command: npx skills add https://github.com/IainMcl/dotfiles --skill code-review-iainmcl

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of reviewing code for potential bugs, style inconsistencies, and design flaws, improving overall code quality and maintainability.

Core Features & Use Cases

  • Automated Code Analysis: Analyzes code changes for bugs, security vulnerabilities, design issues, and style guide adherence.
  • Two Review Modes: Supports both GitHub Pull Request (PR) reviews and local diff reviews.
  • Use Case: When a new feature is submitted as a PR, this Skill can be used to provide an initial automated review, flagging critical issues before a human reviewer steps in.

Quick Start

Use the code-review skill to review the latest changes in the current branch.

Frequently Asked Questions about code-review

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

FAQPage Schema
How do I review a GitHub Pull Request for bugs and security vulnerabilities?

You can review local code changes by running `git diff` to generate a diff, which this Skill then analyzes for bugs, security vulnerabilities, and design flaws across different programming languages.

Can I use this code review tool with local git diff instead of GitHub?

Yes, this Skill supports local diff review mode by analyzing `git diff` output, allowing you to catch bugs and style inconsistencies without needing a GitHub Pull Request.

What specific code issues does this automated review focus on?

This automated code review focuses on identifying critical bugs, security vulnerabilities, design flaws, edge cases, and clarity issues while skipping formatting and minor suggestions.

Does automated code review work across different programming languages?

Yes, this Skill reviews code for bugs, style, and design issues across different programming languages, providing automated analysis regardless of the specific language used.

When should I use an automated code review instead of manual debugging?

Use automated code review when a new feature is submitted as a PR to provide an initial analysis flagging critical issues, serving as a preliminary step before a human reviewer steps in.