sourcery-review-loop

Automate iterative Sourcery AI review comment resolution on GitHub PRs.

3|2|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/wzh4464/claude-skills --skill sourcery-review-loop
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sourcery-review-loop
Source: https://github.com/wzh4464/claude-skills/tree/main/sourcery-review-loop
Command: npx skills add https://github.com/wzh4464/claude-skills --skill sourcery-review-loop

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Address Sourcery AI review comments on a GitHub PR, automating the repetitive cycle of triage, fix, build, and re-review to accelerate merging.

Core Features & Use Cases

  • Fetch unaddressed Sourcery comments from a PR and group fixes by file.
  • Apply automated or guided code changes, run build and tests, and push commits.
  • Trigger and poll for new Sourcery reviews until final approval for multi-comment PRs.

Quick Start

Loop through Sourcery comments on a PR until all issues are resolved and the PR is approved.

Frequently Asked Questions about sourcery-review-loop

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

FAQPage Schema
How do I automate fixing Sourcery AI code review comments on a GitHub pull request?

To automate fixing Sourcery AI code review comments on a GitHub pull request, this Skill fetches unaddressed comments, applies code fixes, builds and tests, pushes commits, and polls for new reviews until final approval.

What is the best way to handle iterative Sourcery reviews until a PR passes?

The best way to handle iterative Sourcery reviews until a PR passes is to loop through comments, group fixes by file, push changes, trigger a new Sourcery review, and poll for results until approval with no new inline comments.

Can I enforce specific commit message patterns when automatically resolving Sourcery comments?

Yes, you can enforce specific commit message patterns when automatically resolving Sourcery comments, as the workflow supports enforcing commit message patterns while pushing changes to your GitHub PR.

Does the automated Sourcery review loop stop if new inline comments are generated?

No, the automated Sourcery review loop does not stop if new inline comments are generated; it supports looping with new comments and only stops when the review indicates approval with no new inline comments.

How do I group and apply code changes for multiple Sourcery AI review comments?

To group and apply code changes for multiple Sourcery AI review comments, the workflow groups fixes by file, applies automated or guided code changes, runs build and tests, and pushes the commits to trigger a new review.

What triggers the polling phase for new Sourcery reviews on a GitHub PR?

Pushing commits with code fixes triggers the polling phase for new Sourcery reviews on a GitHub PR, where the system polls for results and continues looping until the review indicates final approval.