code-review

Review local diffs and GitHub Pull Requests for correctness, security, performance, and maintainability.

Updated Feb 21, 2024
One-click install
npx skills add https://github.com/zhongjis/nix-config --skill code-review-zhongjis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review
Source: https://github.com/zhongjis/nix-config/tree/main/modules/home-manager/features/ai-tools/common/skills/general/code-review
Command: npx skills add https://github.com/zhongjis/nix-config --skill code-review-zhongjis

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides a structured and systematic approach to reviewing code changes, ensuring higher quality, security, and maintainability while fostering professional growth among developers.

Core Features & Use Cases

  • Comprehensive Code Evaluation: Analyzes local diffs and GitHub PRs using established best practices.
  • Actionable Feedback: Delivers severity-ranked findings, confidence scores, and professional, constructive criticism.
  • Use Case: When submitting a new feature, you can ask this Skill to perform a thorough code review, identifying potential bugs, security vulnerabilities, and areas for improvement before merging.

Quick Start

Use the code-review skill to review the current git diff.

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 security and performance issues?

You can review a local git diff for correctness and security by running an automated code review process. This Skill analyzes local uncommitted changes, provides professional constructive criticism, and assigns confidence scores to help improve code maintainability before committing.

Can I review local git diffs before submitting a pull request?

Yes, you can review local git diffs before submitting a pull request by analyzing your uncommitted changes. This Skill supports git diff workflows, identifying potential bugs and security vulnerabilities while providing actionable feedback to enhance code quality.

Does this code review tool work with jj version control diffs?

Yes, this code review tool works with jj version control diffs alongside standard git workflows. It analyzes jj diff outputs to evaluate code correctness, security, performance, and maintainability, providing severity-ranked findings for your changes.

What is the best way to automate code quality assurance for GitHub PRs?

To perform automated code quality assurance on GitHub PRs, integrate a code review process into your gh CLI workflow. This Skill evaluates pull requests for correctness and security, generating severity-ranked findings and confidence scores for professional feedback.

Do I need the gh CLI installed to review GitHub Pull Requests?

Yes, you need the gh CLI installed to review GitHub Pull Requests using this Skill. It relies on the gh CLI workflow to fetch PR data and text processing tools to analyze the diffs for security and performance issues.