Follow up

From bendrucker/claude · View interactive version

Follow up is an AI agent skill from the GitHub repository bendrucker/claude. Follow up as the reviewer on a PR/MR you reviewed: did the author's fixes actually grasp each concern you raised, or just go through the motions? Finds silently resolved or mechanically-fixed threads and returns a graded re-review call. Use when you left review comments and want to verify the author

How to use this skill

Skill file

Review Follow-Up

Follow up on my review of: $ARGUMENTS

You are the reviewer. The question is not "did the author reply?" but "did the fix actually grasp each concern, or go through the motions?" Status is a signal. The code is the verdict. Report any mismatch between the two (resolved but not fixed, unresolved but fixed) as a finding.

All diff and file reading happens in Explore sub-agents. Your main session holds only the structured verdicts they return, never raw diffs, keeping my development context free.

Context

Workflow

Resolve Target

If $ARGUMENTS carries a URL or identifier, use it. If it's empty, detect the current branch's open PR/MR. Pick the platform from git remote get-url origin, then:

Both resolve the current branch with no positional argument. Ask me for a URL only if detection comes up empty. A closed or merged PR still resolves, so surface the state for me to confirm before proceeding.

For GitLab, load the gitlab:merge-request skill for MR tooling and API patterns.

Sync to the Latest Pushed State

Your assessment must reflect what the author actually pushed. The worktree-behind-origin trap: judging a local worktree that is N commits behind origin makes clean fixes look unaddressed. Never assess local state without syncing.

Establish the review baseline: the commit/version at which you last reviewed, plus current head. The fix assessment diffs that range, not the whole MR.

Fetch Threads

Gather all resolvable discussion threads that I started (both resolved and unresolved). Retain each thread's original comment body and location. The sub-agents need the concern's intent, not its status.

GitHub

Use the github:pr-comments skill's script with --role reviewer --include-resolved to get every thread you started, resolved and unresolved, each with its full comment chain so silent resolves are visible. Do not pass --since. Follow-up needs the whole history.

If a query ever needs hand-authoring (fetching reviewThreads is the usual case), write it to a .graphql file with the Write tool and pass gh api graphql -F query=@query.graphql. Capital -F reads the query from a file, which keeps a long multi-line query out of the command line.

GitLab

Use the gitlab:merge-request skill's discussions script, which that skill documents. Resolve your username first, then fetch the resolvable threads you started, resolved and unresolved, with every note: discussions.ts list <iid> --resolvable --author <username> --format raw. You need each thread's original body, its location, and the author's later replies, which the default first-note summary drops.

Classify Threads

Bucket each thread by resolution status and whether the author replied, treating the bucket as a signal, not a verdict. A system-generated note (a version or diff note, not a human comment) is not a substantive reply. Don't count it as the author engaging with the concern. The fetch step's skill covers how these look on each platform.

Assess Fixes

The core step. Dispatch read-only Explore sub-agents (Agent tool) to read the post-review diff and judge each fix. Group threads by the file they sit on and dispatch one Explore agent per file. When a single file carries many threads, fall back to per-thread agents. Cap parallelism at roughly 6-8 concurrent.

Give each agent:

Each agent reads that file's post-review diff once and returns a compact structured verdict per thread. No raw diffs come back, only these fields:

Spell out these assessment lenses in each agent's prompt:

Quick Pass for New Issues

Have the same per-file agents flag problems the fixes introduced that aren't tied to any thread. Surface these separately from the thread verdicts.

Verify Author Claims

If the author claims they tested, validated, or ran something, check for evidence: relevant commits, test changes, MR-body checkboxes that are checked. Flag unsubstantiated claims rather than taking them at face value.

Present: Attention-Ranked Report

Lead with what needs my eyes. Don't emit a uniform full-detail row per thread.

Needs Your Attention

Flagged thread verdicts (focus = true), new issues, and unverified claims. Each one concise and code-grounded, with its confidence. Include any status-vs-reality mismatch.

Cleanly Addressed

Collapse solid fixes to a count plus one-liners. Don't expand them.

Recommendation

A graded call:

Execute Actions

After I decide on next steps, use platform-appropriate commands:

GitHub
Draft a Pending Review

Often the end goal is a set of draft inline comments I submit myself from the GitHub UI. Create a pending review: write a payload.json with commit_id, a top-level body, and a comments[] array, then gh api --method POST repos/{owner}/{repo}/pulls/{n}/reviews --input payload.json. Each comment object carries path, line, side (RIGHT), and body. Omit the event key entirely. Its absence is what keeps the review pending for me to finish and submit from the GitHub UI.

GitLab

Approve, resolve or unresolve threads, and comment via the gitlab:merge-request skill.

Guardrails

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.