github-code-review

Automates GitHub pull request and local commit code reviews via gh CLI or REST API.

Updated Apr 29, 2026
One-click install
npx skills add https://github.com/fikriaf/agentos --skill github-code-review-fikriaf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-code-review
Source: https://github.com/fikriaf/agentos/tree/main/src/agentos/skills/github/github-code-review
Command: npx skills add https://github.com/fikriaf/agentos --skill github-code-review-fikriaf

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, git, curl, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines code reviews by analyzing git diffs, leaving inline comments on PRs, and performing thorough pre-push review, enhancing code quality and collaboration.

Core Features & Use Cases

  • Git Diff Analysis: Inspect local changes and PR diffs for common issues like SQL injection, plaintext passwords, and merge conflicts.
  • PR Review Automation: Automate the process of reviewing PRs by analyzing code changes, leaving inline comments, and submitting formal reviews.
  • Pre-Push Review: Analyze local changes before pushing to ensure code quality and security before merging.

Quick Start

Run the github-code-review skill to review all changes against the main branch before pushing.

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 reviews on GitHub pull requests?

You can automate code reviews by analyzing git diffs for security and quality issues, leaving inline comments on PRs, and submitting formal reviews directly through the gh CLI or GitHub REST API.

Can I analyze local git commits before pushing to a remote repository?

Yes, you can perform a pre-push review to analyze local git changes against the main branch, ensuring code quality and identifying issues like SQL injection before merging.

Do I need GitHub authentication to leave inline comments on pull requests?

Yes, GitHub authentication is required to leave inline comments and submit formal reviews, operating via the gh CLI or git combined with the GitHub REST API.

What specific code issues can git diff analysis detect in a pull request?

Git diff analysis inspects code changes to detect common issues including SQL injection vulnerabilities, plaintext passwords, and merge conflicts within your pull requests.