PR Green Sweep

Review green pull requests, resolve review threads with current-head evidence, merge authorized PRs, and reconcile local branches. Use when the user requests PR closeout, scoped GitHub, CodeRabbit, Codex, or CI finding repairs, or until-green monitoring.

9 stars 4 forksGit & Code Review

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add jscraik/Agent-Skills --skill pr-green-sweep
Manual install
git clone --depth 1 https://github.com/jscraik/Agent-Skills.git /tmp/Agent-Skills
mkdir -p ~/.claude/skills
cp -r /tmp/Agent-Skills/Skills/agent-ops/pr-green-sweep ~/.claude/skills/pr-green-sweep

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# PR Green Sweep

Collect findings, confirm the cause, repair within each PR's scope, and verify
the result. Use an evidence-backed action queue; a required external failure
blocks its PR's merge while independent repairs continue.

## When To Use

- The user asks to monitor, fix, or keep rotating through open PRs until green.
- Open PRs need GitHub plugin/gh truth, CodeRabbit review fixes, CircleCI log
  triage, Context7 docs checks, merge, or cleanup.
- The user wants merged PR branches and worktrees pruned after merge proof.
- The user asks to review green PRs, resolve threads, merge them, and reconcile
  local branches in one foreground closeout.

### Modes

- `review-fix` is the default for named PR review-thread or CI repairs. Finish
  authorized foreground work; report `heartbeat_status: not_requested`.
  Monitoring, merge, and cleanup are not implied by a request to fix findings.
- `green-closeout` applies to requested foreground review, thread resolution,
  merge, and local reconciliation. Carry the named operations through their
  evidence gates without duplicate confirmation; report `heartbeat_status:
  not_requested`. A request to reconcile branches authorizes inspection and
  safe updates, not blanket branch or worktree deletion.
- `monitor-closeout` applies when the user requests recurring continuation.
  Reuse or create one heartbeat with target PRs, notification intent, and a
  scope-specific stop rule. A blocked monitor blocks scheduled continuation
Read the full skill on GitHub

Details

Skill name
pr-green-sweep
Path
Skills/agent-ops/pr-green-sweep/SKILL.md
License
Apache-2.0
Repo updated
16 November 2026

FAQ

What does the PR Green Sweep skill do?

Review green pull requests, resolve review threads with current-head evidence, merge authorized PRs, and reconcile local branches. Use when the user requests PR closeout, scoped GitHub, CodeRabbit, Codex, or CI finding repairs, or until-green monitoring.

How do I install the PR Green Sweep skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add jscraik/Agent-Skills --skill pr-green-sweep. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is PR Green Sweep popular?

It lives in jscraik/Agent-Skills, which has 9 GitHub stars and 4 forks.

Related skills

Browse the most popular Claude skills, all git & code review skills, or write your own with the skills generator.