github-code-review

Review git diffs and GitHub pull requests with structured feedback.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers and reviewers catch bugs, security issues, and quality regressions by analyzing git diffs and GitHub pull requests and producing structured, actionable review feedback before merge.

Core Features & Use Cases

  • Local pre-push review: analyze staged changes or branch diffs and produce a prioritized review summary to address issues before pushing.
  • GitHub PR review and comments: fetch PR metadata, view diffs, check out PR branches locally, and submit inline comments or formal reviews using gh or the GitHub REST API.
  • Checklist-driven evaluation and templates: apply correctness, security, testing, performance, and documentation checks and publish a clear top-level summary plus inline comments using the provided review output template.

Quick Start

Review pull request 123 on GitHub and produce a structured review highlighting critical issues, warnings, and suggestions.

Frequently Asked Questions about github-code-review

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

FAQPage Schema
How do I review a GitHub pull request and post inline comments automatically?

To review a GitHub pull request, fetch PR metadata and diffs via gh or the GitHub REST API, analyze the changes, and submit inline comments or formal reviews directly to the PR.

Can I run a local code review on staged git changes before pushing to remote?

Yes, you can run a local pre-push code review on staged changes or branch diffs to produce a prioritized review summary and address bugs before pushing to the remote repository.

What do I need to authenticate and submit automated PR reviews via the GitHub API?

You need a local git repository and optional GitHub authentication via the gh CLI tool or a GITHUB_TOKEN environment variable to submit automated PR reviews through the GitHub REST API.

What's the best way to catch security issues and bugs in git diffs before merge?

The best way to catch bugs and security issues in git diffs is applying checklist-driven evaluation covering correctness, security, testing, and performance to produce structured, actionable feedback before merge.

Does this code review workflow support checking out pull request branches locally?

Yes, the PR review workflow supports checking out pull request branches locally, allowing you to fetch PR metadata, view diffs, and perform manual or automated review checks before submitting feedback.