跳到正文
TakoAPI
返回技能列表

pr-review-loop

由 cemoso 提供

Web & Frontend Development
526下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Autonomous PR review loop with Greptile.

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

User asks: pr review owner/repo#42

智能体
  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

输出

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

前置要求

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

安装

clawhub install cemoso/pr-review-loop

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接