/develoop:gh-autoreview-resolvefrom Develoop
Runs a bounded GitHub automated-review loop for a pull request: marks it ready, waits for review responses, validates and addresses threads, and optionally merges.
Ships in Develoop. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Move one specified pull request from draft through a conservative automated-review loop. Keep the PR's original implementation goal authoritative; do not turn review follow-up into an open-ended audit.
Read references/agent-harnesses.md before
choosing GitHub, waiting, or user-interaction tools. The @codex review
mention in this workflow addresses GitHub's configured Codex reviewer; it does
not require the agent executing this skill to be Codex. Do not post the mention
unless the repository actually uses that reviewer.
gh auth status, the repository, PR number, local checkout, and unrelated working-tree changes before mutations.scripts/inspect_review_state.py <PR> --repo OWNER/REPO for one normalized, fully paginated baseline. Treat its GraphQL reviewThreads result as the source of truth for unresolved work. The inspector first reads gh api rate_limit, preserves 200 GraphQL points plus a five-point next-query buffer by default, and reports every query's cost, remaining, used, and reset_at values.OWNER/REPO#PR. When waiting is required, give the loop to one --watch process and let other agents or tasks reuse its result instead of polling independently. The watcher enforces this on the same host with an advisory process lock in a user-private directory; it refuses symlinks or non-regular lock files and releases ownership automatically on process exit. Operators must preserve the same single-observer contract across hosts.Do not merge unless the user explicitly requested it. If merge was requested but the strategy is neither stated nor reliably discoverable, ask rather than guess.
If the PR is a draft, record the UTC time and full head OID immediately before the ready transition. Retain the OID so the ready-triggered review can be tied to unchanged code even though GitHub does not attach a Review head: marker to that implicit request.
Then run gh pr ready <PR> --repo OWNER/REPO and inspect with --after <ISO_TIME> using the recorded transition time so old bot activity is not mistaken for the new review. If the PR is already ready, do not repeat the transition; reuse its recorded trigger evidence when available, and never substitute a later observation time for the ready time.
Confirm review start from an eyes reaction on the PR or the active @codex review... comment. If feedback or a pass response arrives before eyes is sampled, accept that as a completed start race.
If no start signal appears after a reasonable bounded wait, confirm there is no active request, then post exactly one @codex review comment. Include the current full head OID on its own Review head: line so a later reaction can be tied to that exact code. Never post another request while eyes is present.
When the user supplied a review target, request it narrowly and keep the head marker:
@codex review
Review head: `<full head OID>`
Focus on <specific contract, regression, or risk>.
Avoid leading the reviewer toward a predetermined implementation or inviting a repository-wide audit.
Use inspect_review_state.py <PR> --repo OWNER/REPO --watch --after <ISO_TIME> for a bounded wait. It takes one authoritative snapshot, then uses a lightweight transition fingerprint instead of repeatedly loading every thread and check. An unchanged fingerprint backs off from 60 to 120 to 240 seconds and then caps at 300 seconds, with jitter. A transition resets the backoff and triggers another fully paginated snapshot; even without a detected transition, the watcher forces an authoritative refresh every 10 minutes. Defaults cap a watcher at 20 minutes, 40 GraphQL requests, 20 pages per connection, and 90 seconds of actual GraphQL execution. Each gh request receives the remaining execution/deadline timeout. Adjust a ceiling only for a concrete PR-size or latency reason.
Do not run a separate shell polling loop around the inspector. Keep the user informed during longer waits while the one watcher owns observation.
eyes > 0: review is still running; keep waiting.thumbs_up > 0: no-issue pass tied to the current head, unless unresolved threads still exist.ignored_thumbs_up > 0: a thumbs-up was observed without a matching explicit Review head: anchor. This is not automatically invalid. Accept it as the initial ready-triggered pass when the connector reaction occurred after the recorded ready time, the head recorded before ready still equals the current head, pagination is complete, and no unresolved thread exists. Otherwise do not treat it as a current-head pass. Absence of the marker alone does not require another @codex review comment; request an anchored review only when current-head applicability remains materially uncertain or a focused re-review is independently warranted.outcome: passed: accept either thumbs-up or an explicit connector response such as “Didn't find any major issues,” provided the response applies to the current head.outcome: review_feedback: inspect every unresolved thread.outcome: review_response: inspect the response and thread state; do not assume pass or failure.outcome: not_started_or_pending: allow short propagation time, then diagnose configuration or request state without posting duplicates.outcome: pagination_incomplete or pagination_incomplete: true: stop. The inspector already followed cursors until an explicit ceiling or a missing/repeated cursor prevented progress. Read pagination.unfinished, raise a justified ceiling if safe, and resume only after checking the reported cursor and quota.outcome: rate_limited: this is an operational pause, not review failure. The inspector reads included response headers, so honor retry_after_seconds for secondary limits or wait until the reported reset_at; do not immediately retry.outcome: preflight_unavailable: the inspector could not establish the GraphQL budget and failed closed before issuing a GraphQL query. Restore gh api rate_limit access before retrying.outcome: budget_exhausted: stop the observer and inspect its request, page, or execution-time ceiling before deciding whether one bounded rerun is justified.observer.outcome: watch_timeout: the review is still non-terminal. Report the current state and decide whether another bounded observation window is warranted.observer.outcome: observer_active: reuse the existing observer. Do not start another watcher for the same PR.Check that the review applies to the current head. A stale or outdated anchor is evidence to reassess, not a reason to edit blindly. Never report passed, ready, or zero unresolved threads unless pagination.complete is true.
For each unresolved thread:
Do not silently resolve a substantive thread and do not equate reviewer priority labels with proven validity.
Use one initial review and, after in-scope fixes, normally one explicit focused verification re-review. When those fixes stay within the original development scope and that pass leaves no concrete regression concern, finish the loop.
Do not treat that focused re-review as an absolute one-round cap. If a valid finding's fix changes a sensitive boundary or creates or leaves a concrete in-scope regression risk, request further focused re-review as needed. Before every additional round, require all of the following:
Do not request another round merely to obtain stronger reassurance or a different reaction. After each response, reassess the evidence and stop as soon as no concrete regression concern remains. Stop or split follow-up when any of these occurs:
When stopping:
gh-create-issue using the current agent host's skill syntax. Research primary evidence, check for duplicates, create an implementation-ready English follow-up issue, comment its link and why it is separated, then stop this review line.Before declaring the loop complete, verify the exact final head, required checks, no active eyes request, and zero unresolved review threads. A pass response is sufficient; do not manufacture extra review rounds merely to obtain a different reaction shape.
Also verify pagination.complete: true and rate_limit.status: ok. Partial data may contain useful feedback, but it is never terminal success.
If merge was requested:
--rebase, --squash, or --merge.If merge was not requested, stop at the verified ready-to-merge state.
At closeout, account for any temporary checkout, observer or scratch output created for this review. Use workspace-cleanup when available to verify ownership and preserve evidence before any authorized removal.
Run from this skill directory:
python scripts/inspect_review_state.py 123 --repo owner/repository
python scripts/inspect_review_state.py https://github.com/owner/repository/pull/123 --after 2026-07-23T00:00:00Z
python scripts/inspect_review_state.py 123 --repo owner/repository --watch --after 2026-07-23T00:00:00Z
gh api rate_limit --jq '.resources.graphql'
The inspector fetches top-level comments without nested reactions, identifies the latest active anchored review request, and then fetches reactions only for that comment. It follows cursors for PR reactions, comments, reviews, threads, active-request reactions, check contexts, and nested thread comments. It collects every check context twice and requires the two snapshots to match so a change outside the lightweight last-20 suffix cannot produce false completion. Missing or non-advancing cursors fail closed with the exact unfinished connection.
Use --self-test to validate the script's state classifier without GitHub access. Use --reserve, --query-cost-buffer, --max-requests, --max-pages, --max-seconds, or the watch timing flags only when the defaults do not fit a verified repository constraint.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
6 skills in this plugin
/cleanup-slopsFind and simplify implicit state machines across a repository or a specified pull request without regressing behavior. Use for requests such as "find all of the implicit state machines in my app" or a cleanup pass that removes redundant state and consolidates scattered transitions for readability and maintenance./gh-create-issueCreate high-quality GitHub issues or issue drafts from repository evidence, user intent, and external documentation. Use when the user asks an agent to create, draft, file, open, or prepare an implementation issue, bug report, feature request, follow-up issue, or GitHub issue with researched facts, scope, non-goals, suggested direction, acceptance criteria, and validation notes./Other plugins' skills for the same job
npx claudepluginhub comfuture/agent-skills --plugin develoop