code-review

Automate GitHub PR approvals, change requests, and comments via gh CLI.

Updated Oct 20, 2025
One-click install
npx skills add https://github.com/Nice-Wolf-Studio/agent-github-skills --skill code-review-nice-wolf-studio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review
Source: https://github.com/Nice-Wolf-Studio/agent-github-skills/tree/main/skills/code-review
Command: npx skills add https://github.com/Nice-Wolf-Studio/agent-github-skills --skill code-review-nice-wolf-studio

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill streamlines GitHub code review tasks by enabling approvals, requests for changes, and comments via the gh CLI, reducing manual steps and ensuring consistent reviews.

Core Features & Use Cases

  • Approve Pull Requests: Quickly approve PRs with optional inline comments.
  • Request Changes: Provide structured feedback and track required changes.
  • Comment on Pull Requests: Add general comments or targeted feedback on code.
  • View & Manage Reviews: Inspect existing reviews and dismiss outdated feedback as needed.

Quick Start

Use the code-review skill to approve a PR: gh pr review 123 --approve --repo owner/repo-name You can also add a comment: gh pr review 123 --comment --repo owner/repo-name --body "Looks good overall; consider minor changes."

Frequently Asked Questions about code-review

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

FAQPage Schema
How do I approve a pull request using gh CLI?

To approve a pull request via gh CLI, execute gh pr review 123 --approve --repo owner/repo-name. This streamlines the code review workflow by automating approvals through the GitHub command line interface.

Can I add inline comments when requesting changes on a GitHub pull request?

Yes, you can add inline comments and structured feedback when requesting changes on a pull request. Use the gh pr review command with the --request-changes flag to provide targeted code review feedback via the gh CLI.

Do I need GitHub authentication to automate code review workflows?

Yes, GitHub authentication is required to automate code review workflows. The skill uses gh CLI to manage approvals, comments, and change requests, which requires valid authentication credentials to interact with your repositories.

What is the best way to manage pull request reviews across multiple repositories?

Using gh CLI to script the review lifecycle is the best way to manage pull requests across multiple repositories. The code-review skill enables consistent approvals, comments, and change requests across various repository workflows.

How do I view and dismiss outdated pull request reviews via command line?

You can view and dismiss outdated pull request reviews using gh pr view and gh pr review commands. This allows you to inspect existing GitHub feedback and manage the review lifecycle directly from the command line interface.

Why use gh CLI for code reviews instead of the GitHub web interface?

Using gh CLI for code reviews reduces manual steps and ensures consistent reviews across repositories. It enables scripted or manual processes to automate approvals, change requests, and inline comments, streamlining the overall review lifecycle.