code-review-github

Orchestrate GitHub Pull Request workflows for AI-driven code review.

186|10|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/initializ/forge --skill code-review-github
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review-github
Source: https://github.com/initializ/forge/tree/main/forge-skills/local/embedded/code-review-github
Command: npx skills add https://github.com/initializ/forge --skill code-review-github

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the GitHub Pull Request (PR) code review process by automating the listing of PRs, posting review comments, applying status labels, and optionally merging clean PRs, significantly reducing manual overhead for development teams.

Core Features & Use Cases

  • PR Listing & Filtering: Easily list open PRs and filter them by author or labels.
  • Automated Commenting: Post detailed inline review comments directly to GitHub based on code analysis findings.
  • Status Labeling: Automatically apply labels like review/approved or review/needs-changes based on review outcomes.
  • Guarded Auto-Merge: Securely merge PRs that meet predefined criteria and have explicit opt-in.
  • Use Case: Integrate this skill into your CI/CD pipeline to automatically review code changes, provide feedback directly on the PR, and merge approved changes without human intervention.

Quick Start

Use the code-review-github skill to list all open pull requests for the repository initializ/forge.

Frequently Asked Questions about code-review-github

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

FAQPage Schema
How do I automate GitHub pull request code reviews?

Automate GitHub pull request code reviews by orchestrating PR workflows to list open requests, post inline comments, apply status labels, and perform guarded auto-merging. This AI-driven process reduces manual overhead for development teams.

Can I use the gh CLI to post inline review comments on pull requests?

Yes, you can use the gh CLI to post detailed inline review comments directly to GitHub. The skill relies on the gh CLI and specific environment variables for authentication to securely interact with the GitHub API.

Does automated PR merging require explicit opt-in?

Yes, guarded auto-merging requires explicit opt-in and predefined criteria before securely merging pull requests. This ensures only approved changes are merged without human intervention while maintaining strict safety controls.

Why does the GitHub code review automation deny direct HTTP requests?

GitHub code review automation denies direct HTTP requests to ensure auditable and rate-limited interactions with the GitHub API. Strict egress controls guarantee all API interactions remain secure and compliant.

How do I filter open pull requests by author or labels?

Filter open pull requests by author or labels using the PR listing and filtering features. This allows development teams to easily organize and manage code review workflows directly within their CI pipeline.

What environment variables do I need for GitHub PR automation?

GitHub PR automation requires specific environment variables for authentication and configuration alongside the gh CLI. These variables ensure secure access to the GitHub API for posting comments and merging pull requests.