github-code-review

Analyze local commits and GitHub PRs with structured inline feedback.

11|Updated May 17, 2026
One-click install
npx skills add https://github.com/StarryCod/cogitum --skill github-code-review-starrycod
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-code-review
Source: https://github.com/StarryCod/cogitum/tree/main/cogitum/data/skills/github/github-code-review
Command: npx skills add https://github.com/StarryCod/cogitum --skill github-code-review-starrycod

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Traditional PR reviews can be slow and error-prone; this skill provides a structured, repeatable workflow for reviewing local changes and GitHub PRs with clear inline comments, checklists, and formal reviews.

Core Features & Use Cases

  • Local changes review: compares diffs, scans for common issues, and outputs a structured Code Review Summary to speed decision-making.
  • GitHub PR review: fetches PR metadata, lists changed files, and enables inline comments and formal reviews via gh or REST APIs.
  • Formal review workflow: supports approve, request-changes, or comment actions with consolidated feedback for PRs.
  • Use Case: a maintainer receiving a PR can quickly perform a local diff analysis and then provide targeted inline feedback to authors.

Quick Start

Review the current branch against main locally and push a set of inline comments to the corresponding GitHub PR.

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 GitHub PR reviews with inline comments?

To automate GitHub PR reviews, this skill fetches PR metadata and changed files to publish inline comments and formal reviews via the gh CLI or REST API. It provides a structured, repeatable workflow for maintainers.

What is the best way to review local git diffs before pushing?

The best way to review local git diffs is to analyze local commits against a base branch, scan for common issues, and output a structured Code Review Summary. This speeds up decision-making before publishing feedback to GitHub.

Do I need the gh CLI to publish formal GitHub PR reviews?

You do not strictly need the gh CLI to publish formal GitHub PR reviews, as this skill supports both the gh CLI and the REST API. However, valid GitHub authentication is required to submit approve, request-changes, or comment actions.

Can I request changes on a pull request using an automated code review workflow?

Yes, you can request changes on a pull request using this automated code review workflow. It supports formal review actions including approve, request-changes, and comment, consolidating feedback for PR authors.

How does diff analysis work for local commits in a Git repository?

Diff analysis for local commits compares changes across your Git repository, scans the differences for common issues, and generates a structured summary. This provides clear guidance to maintainers for faster decision-making.