ai-factory.review

Review Git staged changes and GitHub pull requests for bugs and security issues.

Updated Feb 17, 2024
One-click install
npx skills add https://github.com/leha-creator/youth_bot --skill ai-factory-review-leha-creator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-factory.review
Source: https://github.com/leha-creator/youth_bot/tree/main/.cursor/skills/review
Command: npx skills add https://github.com/leha-creator/youth_bot --skill ai-factory-review-leha-creator

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the process of code review, identifying potential bugs, security vulnerabilities, performance issues, and deviations from best practices.

Core Features & Use Cases

  • Staged Changes Review: Analyzes code that has been staged for commit.
  • Pull Request Review: Reviews all changes within a specified pull request.
  • Comprehensive Checklist: Covers correctness, security, performance, best practices, and testing.
  • Use Case: Before merging a new feature, use this Skill to ensure the code is robust, secure, and adheres to project standards.

Quick Start

Review the code changes currently staged in the repository.

Frequently Asked Questions about ai-factory.review

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

FAQPage Schema
How do I review staged Git changes for bugs and security vulnerabilities?

Review staged Git changes by analyzing the code diff to identify bugs, security vulnerabilities, and performance bottlenecks before committing. This automated code review checks correctness and best practices using integrated CLI tools.

Can I review a GitHub pull request for performance bottlenecks and best practices?

Review a GitHub pull request for performance bottlenecks and best practices by analyzing all changes within the specified PR. The review uses the integrated gh CLI tool to fetch and evaluate the code against a comprehensive checklist.

What is automated code review and what issues does it identify?

Automated code review is the process of programmatically analyzing code changes to identify potential bugs, security vulnerabilities, performance issues, and deviations from best practices before merging.

Does the code review support analyzing unstaged changes in Git?

The code review supports analyzing unstaged changes in Git, alongside staged changes and GitHub pull requests, to evaluate correctness, security, performance, and testing adherence using integrated CLI tools.

Do I need the gh CLI tool to review code on a GitHub pull request?

You need the gh CLI tool to review code on a GitHub pull request, as the analysis relies on integrated CLI tools like gh and git to fetch changes and evaluate them against best practices.

What should I check before merging a new feature branch?

Before merging a new feature branch, check for bugs, security vulnerabilities, performance bottlenecks, and adherence to best practices using an automated code review on your staged changes or pull request.