Skip to content
Development
Skill

/watch-pr

Watch a PR until CI is green and its reviews are answered.

From plugin
skills
928 skills

Claude Code

$ npx -y skills add sherifabdlnaby/skills --skill watch-pr --agent claude-code

SKILL.md

watch-pr.SKILL.md
name: watch-pr
description: Watch a PR until CI is green and its reviews are answered.
license: MIT
argument-hint: "[PR number or URL] [duration|forever] [humans] (defaults to current branch's PR, 30m)"
disable-model-invocation: true
metadata:
  author: sherifabdlnaby
  version: "0.2.0"

watch-pr

Load the **git** skill, then read its watch and review-responses references before acting. `<git-skill-dir>` below is the base directory the harness printed when the git skill loaded.

Goal: get the PR to green with every review answered, without blocking your turn. Fix CI failures, address bot reviews, answer human comments per review-responses, and escalate only what needs my input while you keep making progress on everything else. Block waiting on me only once CI is green and every bot review is addressed.

The sibling skills narrow this: `watch-pr-ci` (CI only) and `watch-pr-comments` (reviews only).

Target PR

`$ARGUMENTS` may name the PR (number or URL). If empty, resolve the PR for the current branch:

gh pr view --json number,url,headRefName,state,isDraft

Start

1. **Draft PR:** run `flick` once, alongside the watch, not before it. Chase beyond that (hold it open, flick again) only if I told you this repo has a review bot; me naming the bot counts. 2. **Existing review threads:** unresolved threads already on the PR are not news to the watch. Fetch them per review-responses [Batching](../../git/references/review-responses.md#batching) and address them first.

The watch

python3 <git-skill-dir>/scripts/pr-watch.py watch --pr <N> --repo <OWNER/REPO> --watcher <id> --until quiet --max-total <s>

Run it through the cheap sub-agent the watch reference describes. React per the verdict: `EVENT` means act and relaunch, `STALE` means one ⚠️ line for me and relaunch, `QUIET` means relaunch, `DONE` means digest and stop.

Time Budget

`$ARGUMENTS` may include a duration (`30m`, `1h`, `2h`, …) or `forever` / `indefinitely`.

  • **Duration** -> `--max-total <seconds>`. Default **30m** when neither a duration nor `forever` is given.
  • **`forever`** -> no `--max-total`, and for this skill `--until closed`, so settling does not end it;

the siblings keep their own `--until`.

Human comments

Human reviews and comments are answered per review-responses: fix what is clearly right, push back on what is not, and bring the real trade-offs to me instead of deciding them. With `humans` in `$ARGUMENTS`, decide those too and post the reply as Agent Decided.

Read more
@sherifabdlnaby
Ships withskills

🍣 Hand-rolled AI Skills distilled from my everyday experience. Git & Mise (...and others).

Stars on GitHub

Momentum

stars in total
9
Star history of sherifabdlnaby/skills on GitHub, a chart by star-history.com

Other skills on skills.

cicd-fy

cicd-fy

Use when setting up, shaping, or auditing a project's CI/CD: a build/test/scan pipeline, a release pipeline, or publishing an…

coding

coding

The user's coding and docs conventions and taste. Load FIRST, at the start of any task that touches code or docs.

git

git

Load when planning or about to git commit, branch, push, rebase, resolve a merge conflict, open PR, stack PRs (even when gh-stack…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2d252k
@facebook@facebookInstall Skill

Questions about watch-pr.

Which coding agents can use watch-pr?
watch-pr installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.