github-code-review

Review local git diffs and GitHub pull requests for code issues.

Updated Mar 12, 2026
One-click install
npx skills add https://github.com/GarrettRoi/open-manus --skill github-code-review-garrettroi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-code-review
Source: https://github.com/GarrettRoi/open-manus/tree/main/skills/github/github-code-review
Command: npx skills add https://github.com/GarrettRoi/open-manus --skill github-code-review-garrettroi

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 changes, whether they are local pre-push changes or open pull requests on GitHub, ensuring code quality and identifying potential issues before they are merged.

Core Features & Use Cases

  • Local Code Review: Analyze staged or un-staged changes against a base branch, identifying common issues like debug statements, secrets, and merge conflicts.
  • Pull Request Review: Fetch PR details, checkout branches locally, and provide inline comments or formal review submissions (approve, request changes).
  • Use Case: Before pushing a new feature, ask the agent to perform a pre-push review to catch any critical errors or security vulnerabilities. For an open PR, ask the agent to review it and leave inline comments for the author.

Quick Start

Ask the agent to review the current local changes against the main branch.

Frequently Asked Questions about github-code-review

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

FAQPage Schema
How do I automate code review for a GitHub pull request?

Automating code review for a GitHub pull request works by fetching PR details via the GitHub CLI and REST API, checking out branches locally, and submitting inline comments or formal approvals. It analyzes correctness, security, and performance issues.

Can I review local git diffs for security vulnerabilities before pushing?

Yes, reviewing local git diffs for security vulnerabilities works by analyzing staged or un-staged changes against a base branch. It identifies potential secrets, debug statements, and merge conflicts before you push code.

What issues are checked during an automated pull request review?

An automated pull request review checks code for correctness, security, quality, testing, performance, and documentation issues. It scans local git diffs and GitHub PRs to identify problems before merging.

Does this code review skill require the GitHub CLI to submit PR reviews?

Yes, submitting formal PR reviews requires the GitHub CLI and REST API for interactions. It integrates with these tools to fetch PR details, checkout branches locally, and provide inline comments or review submissions.

What is the best way to catch potential secrets in local git changes?

The best way to catch potential secrets in local git changes is performing a pre-push review against a base branch. It analyzes both staged and un-staged diffs to identify secrets, debug statements, and merge conflicts.

Can I submit formal review approvals or request changes directly on GitHub?

Yes, you can submit formal review approvals or request changes directly on GitHub. The skill integrates with the GitHub REST API to provide inline comments and formal review submissions for open pull requests.