code-review

Analyze repository branch changes to detect bugs and security vulnerabilities.

10|2|Updated Jul 10, 2017
One-click install
npx skills add https://github.com/sinfin/folio --skill code-review-sinfin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review
Source: https://github.com/sinfin/folio/tree/main/.skills/code-review
Command: npx skills add https://github.com/sinfin/folio --skill code-review-sinfin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the process of reviewing code changes in a branch, providing immediate feedback on issues, bugs, and potential improvements, thus maintaining code quality and adhering to project standards.

Core Features & Use Cases

  • Branch Review: Automates the review of code changes in the current local branch or an explicit diff.
  • Issue Detection: Identifies bugs, regressions, security issues, data integrity problems, performance risks, and more.
  • Customizable Rules: Allows the use of AGENTS.md and skill files to define specific rules and guidelines for review.
  • Efficient Workflow: Streamlines the review process, reducing the time spent on manual code inspection.

Quick Start

Run the 'code-review' skill to review the latest changes in your branch against 'origin/master'.

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 changes in a branch against origin/master?

Automating code review for branch changes involves analyzing the diff against origin/master to identify bugs, security vulnerabilities, and coding standards violations. This process requires repository access and defined review rules to generate immediate feedback.

What types of issues can automated branch review detect?

Automated branch review detects bugs, regressions, security issues, data integrity problems, and performance risks. It analyzes code changes in the repository branch to ensure adherence to project standards and maintain overall code quality.

How can I define custom rules for reviewing code changes?

You can define custom rules for reviewing code changes by using AGENTS.md and skill files. These files allow you to specify specific guidelines and standards that the automated review process will enforce against the repository branch.

Does automated code review work with an explicit diff instead of a local branch?

Automated code review supports both local branch changes and explicit diffs. It analyzes the provided changes to report issues, bugs, and potential improvements, streamlining the workflow and reducing time spent on manual code inspection.

What do I need to set up before running an automated code review?

Before running an automated code review, you need repository access and knowledge of applicable code review rules. Defining specific guidelines in AGENTS.md ensures the review process adheres to your project standards.

When should I use automated code review instead of manual code inspection?

Automated code review should be used to streamline the review process and reduce time spent on manual inspection. It provides immediate feedback on branch changes, helping maintain code quality and adherence to standards efficiently.