Skip to content
Back to skills

Github Pr Ai Review Followup

ASecurity

Use when the user wants to follow up on GitHub Copilot or Codex review feedback on a pull request, including AI review threads that may need code fixes, explanations, or resolution.

  • 2 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added November 11, 2026
testinggorailsgit

Security analysis

A100/100

Scanned November 26, 2026

npx -y skills add daisukekobayashi/dotfiles --skill github-pr-ai-review-followup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Github Pr Ai Review Followup?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Github Pr Ai Review Followup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/daisukekobayashi-github-pr-ai-review-followup/badge)](https://www.skillsdirectory.com/skills/daisukekobayashi-github-pr-ai-review-followup)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: github-pr-ai-review-followup
description: Use when the user wants to follow up on GitHub Copilot or Codex review feedback on a pull request, including AI review threads that may need code fixes, explanations, or resolution.
---

# GitHub PR AI Review Follow-Up

## Scope

This skill covers GitHub Copilot and Codex review feedback and the decision record for each AI review thread. It is not for human review sweeps, generic bot spam, unattended GitHub writeback, PR publishing, or merge handling.

## Phase Selection

Use two phases: **Prepare** for inspection, local fixes, verification, and a
writeback preview; **Writeback** for approved GitHub replies and resolutions.
Run Prepare by default. A caller can request Prepare only even when writeback
is already authorized; authorization does not bypass publication prerequisites.
Run Writeback only when requested or approved and its prerequisites below hold.
For a Writeback-only handoff, consume the prepared record without reapplying fixes.
This skill does not commit or push; the user or an orchestration skill owns publication.

## Prepare

1. Resolve the current-repo PR from a provided number/URL or the current branch; ask if ambiguous.
2. Fetch PR metadata and AI review comments with the GitHub plugin.
3. When inline context, resolution state, stale/outdated state, or GitHub writeback matters, follow `github:gh-address-comments`; flat comment reads are insufficient.
4. Select the feedback to process.
   - With a verified review handoff from the Codex review cycle, re-read the
     current PR head and the supplied review, comment, and thread evidence
     before classifying feedback or making fixes, including on resume.
     Confirm that the repository and PR, full head SHA, review's Codex
     authorship and reviewed commit, and the accepted IDs and their
     relationships still match, including any inline item's original commit.
     Use read-only REST or GraphQL reads if the
     connector omits required fields. If the handoff cannot be validated,
     stop and report the missing or changed evidence. Process only the
     feedback in the validated handoff.
   - For delivery Prepare, require the coordinator's checked
     [hosted fix verification binding](../delivery-common/references/report-handoff.md#hosted-fix-verification-evidence)
     to the current PR, reviewed head and worktree before editing or
     running verification. Return a missing or mismatched binding to the caller.
   - Without a cycle handoff, identify the latest Copilot or Codex review
     feedback. If the source is ambiguous, say so instead of guessing.
   - Apply any earlier dispositions or assessment defaults from the caller.
     An item already dispositioned is a `duplicate` of that item unless new
     evidence changes the assessment.
5. Split feedback into actionable, explanation-only, pre-existing, stale/resolved/duplicate/non-actionable, and ambiguous/conflicting/risky items. Classify `pre-existing` under [Triage classes](../delivery-common/references/local-review.md#triage-classes); for a PR, the merge-base is that of its head and base branch.
6. Apply only the worthwhile local fixes. Skip speculative churn, style-only noise, and anything likely to cause regression. Defer minor and pre-existing items by default; a `material` item under [Triage classes](../delivery-common/references/local-review.md#triage-classes) is never minor. When fixing an item, fix other instances of the same bug class in the PR diff in the same round.
7. Run the smallest relevant required checks for local fixes and record their
   results. If a required check fails or cannot run, report the cause and
   leave the fixes unpublished. When the delivery caller supplies a brief for
   [hosted fix verification evidence](../delivery-common/references/report-handoff.md#hosted-fix-verification-evidence),
   write the actual Prepare checks to the assigned strict report. Give the
   caller the input identity and report reference for checking before reuse.
8. Assign a disposition to every selected AI feedback item, even when no code changed.
   Also give every item a triage class under
   [Triage classes](../delivery-common/references/local-review.md#triage-classes),
   whatever its disposition.
9. Return a prepared record with the repository/PR, inspected head commit,
   review/comment/thread IDs, per-item disposition, triage class (step 8),
   reviewer label (`none` when the reviewer gives none, `unknown` when it
   cannot be read), and supporting evidence,
   changed files, required verification result, proposed replies, resolve candidates,
   open items, and any publication still needed. Mark dispositions based on
   local changes as pending publication, including `stale` or `duplicate` when
   their justification depends on those changes. Draft replies under
   [Public replies](#public-replies).
10. For Prepare-only calls, stop here without GitHub writes. Otherwise enter
    Writeback only if authorized and all prerequisites are satisfied.

## Dispositions

- `applied`: Addressed by local code or tests. Draft a short response and mark as a resolve candidate.
- `explained`: Needs explanation, not code. Resolve only if the explanation fully closes the point.
- `skipped`: Intentionally not applied. Include the technical reason. Leave open if reasonable disagreement remains.
- `pre-existing`: Its triage class is `pre-existing`. Draft a note proposing separate follow-up and leave open unless the user approves resolving it.
- `stale`: No longer applies to the current diff. Draft a stale note and mark as a resolve candidate.
- `duplicate`: Covered elsewhere. Reference the covering item and mark as a resolve candidate.
- `needs-human-decision`: Ambiguous, conflicting, policy-sensitive, or risky. Draft the question or tradeoff and leave open.

## Writeback

1. Require a prepared record identifying the exact PR and feedback items.
   If it is missing, reconstruct the feedback context from read-only evidence
   or report what is missing. For delivery fixes the settled verification
   evidence and its binding come from the caller's recorded handoff, including
   on direct Writeback. A Writeback-only request does not authorize new local fixes.
2. For any item whose reply or resolution depends on local fixes, require
   successful relevant required verification and confirmation that the fixes
   are in the remote PR head. For delivery fixes, use the settled record and
   recheck its [hosted fix verification evidence](../delivery-common/references/report-handoff.md#hosted-fix-verification-evidence)
   against the recorded hash and published-head binding. Continue legacy
   pending Writeback only under that section's positively verified legacy
   route. Use the replies settled with the applicable verified record and
   check them again under [Public replies](#public-replies). If required
   verification, the applicable evidence, or publication cannot be confirmed,
   leave those items pending and report the reason. An optional delivery
   verification failure, timeout, or skip stays in the record and does not gate
   Writeback. Explanation-only items need no new commit when their evidence
   already holds in the published PR.
3. Re-read the remote PR head and target thread/comment state. If intervening
   changes invalidate a prepared disposition or reply, return that item to
   Prepare. Skip already-completed replies/resolutions on resume.
4. Check each final outgoing body under [Public replies](#public-replies)
   immediately before sending, including on direct, standalone, and legacy
   Writeback. Perform only authorized replies and resolutions using the rules
   below, then verify and report their actual outcomes. Preserve per-item
   partial success so a retry does not repeat successful writes.

- Approval to inspect or fix AI review feedback is not approval to write to GitHub.
- Prefer the specific review thread or comment. Use a top-level PR comment only when no thread target exists.
- Resolve only unresolved, thread-aware review threads whose disposition clearly closes the feedback: usually `applied`, `stale`, or `duplicate`.
- Do not resolve `needs-human-decision`. Do not resolve `skipped` unless the skip reason fully answers the feedback and the user approved resolving it.
- After writeback, verify the resulting thread state when possible.

### Public replies

Keep complete commands, results, diagnostics, inputs and evidence in private
records. Use a short explanation of the public code outcome and, where
relevant, a minimized verification result supported by the checked record.
For example, say `Required checks passed` when they passed. With unknown
classification, report only the known outcome. Leave out raw tool output,
private artifacts, paths, URLs, identifiers, keys and sensitive data from the
verification summary. Check the entire outgoing body for private details
and unsupported claims, including earlier proposed text. Omit unsafe detail
or leave the affected item pending with its thread unresolved if a safe,
accurate reply cannot be sent under the existing authorization.

Comment shapes:
- `Addressed. Updated <public behavior>. Verification: <safe outcome summary>.`
- `Not changed. Reason: <technical reason>. Leaving open for maintainer decision.`
- `Stale after the latest changes. This no longer applies to the current diff.`

## Guardrails

- Do not reply on GitHub, resolve threads, or submit a review unless the user explicitly asks for that write action or approves the writeback preview.
- Do not treat flat PR comments as a full representation of thread state when thread context matters.
- Do not resolve a thread unless thread-aware data confirms the target and current resolution state.
- Do not assume every Copilot or Codex suggestion should be applied.
- Do not assume cross-repository PRs. This skill is current-repo only.
- If auth, rate limits, or missing PR context block review inspection, stop and report the blocker.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in testing →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.