PR Review Loop

Automate Pull Request comment handling and code quality checks via GitHub API.

2|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/rafaelportugal/chama --skill pr-review-loop-rafaelportugal
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: PR Review Loop
Source: https://github.com/rafaelportugal/chama/tree/main/skills/review-loop
Command: npx skills add https://github.com/rafaelportugal/chama --skill pr-review-loop-rafaelportugal

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires github-api, and includes scripts (resource) components.

What problem does it solve?

The PR Review Loop Skill solves the problem of efficiently handling comments on Pull Requests (PRs), ensuring that code changes align with the Spec and maintain quality.

Core Features & Use Cases

  • PR Comment Handling: Automatically review and respond to PR comments, classifying them as A/B/C.
  • Spec Adherence: Ensures that only changes aligned with the Spec are made.
  • Quality Assurance: Introduces automated checks before merging PRs.
  • Use Case: Use this Skill to streamline the PR review process in your software development workflow, reducing manual effort and maintaining code quality.

Quick Start

Execute the PR Review Loop Skill on PR #123 to automate the handling of comments.

Frequently Asked Questions about PR Review Loop

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

FAQPage Schema
How do I automate GitHub PR review comments to ensure code quality?

Automate GitHub PR review comments by using a Skill that retrieves PR and linked issue comments via the GitHub API, classifies them, and performs automated checks for code quality and Spec adherence before merging.

What is the best way to handle Pull Request comments and maintain Spec adherence?

Handling Pull Request comments while maintaining Spec adherence is best done by automating the retrieval of PR and issue comments, classifying feedback, and enforcing automated code quality checks prior to a merge.

Does this PR review automation require access to linked GitHub issues?

Yes, this PR review automation requires access to linked GitHub issues. It operates within a GitHub environment and utilizes GitHub API retrieval for both PR comments and linked issue comments to ensure Spec alignment.

Can I use automated code quality checks before merging a Pull Request?

You can use automated code quality checks before merging a Pull Request by running a Skill that evaluates code changes against the Spec and automates the handling of PR comments to streamline the merge process.

How does the PR comment classification mechanism work for Spec alignment?

The PR comment classification mechanism works by automatically reviewing and responding to PR comments, classifying them as A, B, or C to prioritize feedback and ensure only changes aligned with the Spec are merged.

What are the limitations of automating PR handling without direct GitHub API access?

Automating PR handling without direct GitHub API access prevents the retrieval of PR and linked issue comments, halting the automated review process and making it impossible to perform Spec adherence and code quality checks.