ralph-loop

Automate iterative pull request review and autofix cycles until approval.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/lucascaro/hivesmith --skill ralph-loop-lucascaro
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ralph-loop
Source: https://github.com/lucascaro/hivesmith/tree/main/skills/ralph-loop
Command: npx skills add https://github.com/lucascaro/hivesmith --skill ralph-loop-lucascaro

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the process of iteratively reviewing and fixing Pull Requests until they meet approval criteria, reducing manual oversight.

Core Features & Use Cases

  • Automated PR Review Loop: Iteratively reviews a PR, applies autofixes, and re-reviews to ensure all findings are addressed.
  • PR Convergence Management: Coordinates multiple review steps, handles unresolved threads, and escalates when needed.
  • Use Case: For teams maintaining high-quality code, quickly driving a PR to complete review status and preparing it for merging without manual intervention.

Quick Start

Use the ralph-loop skill to drive PR #123 to convergence by running the loop repeatedly until approval.

Frequently Asked Questions about ralph-loop

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

FAQPage Schema
How do I automate pull request reviews and autofixes?

Automating pull request reviews involves running an iterative loop that evaluates a PR, applies autofixes to findings, and re-reviews the code until it meets approval criteria with minimal human input.

What is PR convergence management in code review automation?

PR convergence management coordinates multiple automated review steps, handles unresolved review threads, and escalates conditions when needed to drive a pull request to a complete and mergeable state.

Can I use automation to resolve all unresolved PR review threads?

Yes, automated review loop cycles handle unresolved threads by applying autofixes and re-reviewing the PR iteratively, escalating only when manual intervention is required to reach convergence.

What's the best way to prepare a high-quality PR for merging without manual intervention?

The best way to prepare a high-quality PR for merging is to run an automated review and autofix loop repeatedly until the PR achieves full review status and approval convergence.

When should I escalate findings during an automated PR review loop?

You should escalate findings during an automated PR review loop when the cycle cannot automatically resolve an issue or thread, requiring human input to proceed toward merge approval.