Skip to content
TakoAPI
Back to skills

pr-review-loop

by cemoso

Web & Frontend Development
526Downloads reported by clawskills.sh
0Views
0 likesSign in to like this skill
—Not yet rated
Your rating

Brief

Autonomous PR review loop with Greptile.

Description

What This Skill Does

Runs an autonomous code review loop against a GitHub pull request using Greptile. The agent fetches review feedback, applies fixes, pushes changes, and re-triggers the review until the score reaches 4/5 or the round limit is hit. Architectural concerns and stalled reviews are escalated to a human.

Eliminates the manual loop of reading feedback, switching to an editor, committing fixes, and re-requesting review by handling all of it autonomously.

When to Use It

  • Auto-fixing Greptile review comments on a freshly opened PR
  • Merging a PR automatically once it passes the quality threshold
  • Iterating through multiple review rounds without manual intervention
  • Escalating design pattern or architecture concerns to a human
  • Tracking review progress across concurrent PRs in a repository

Example Workflow

INPUT

User asks: pr review owner/repo#42

AGENT
  1. 1

    Fetch the latest Greptile review and inline comments via GitHub API

  2. 2

    Parse the score from the review body

  3. 3

    Apply fixes to each referenced file and commit with a descriptive message listing each change

  4. 4

    Push the branch and comment '@greptileai review' to re-trigger the review

  5. 5

    Repeat until score is 4/5 or max rounds reached, then merge or escalate to human

OUTPUT

PR merged with all Greptile feedback addressed, or escalation message sent if architectural changes are required

Requirements

  • Greptile app installed and enabled on the GitHub repository
  • GitHub CLI (gh) installed and authenticated

Installation

clawhub install cemoso/pr-review-loop

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links