Skip to content
Agentmart
Submit a tool

consider-pr-feedback

Pull CI status and reviewer comments for a PR (current branch by default), help fix failing CI, summarize reviewer feedback, then ask the user which review…

Skill by erikreppel

IndexedMIT★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/erikreppel-consider-pr-feedback

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Pull CI status and reviewer comments for a PR (current branch by default), help fix failing CI, summarize reviewer feedback, then ask the user which review items to act on. Use when the user says "check PR feedback", "look at the comments", "address review feedback", "is CI passing", or after pushing changes to an open PR.

Use cases: devops

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/consider-pr-feedback

What's inside

Skill name
consider-pr-feedback
Description
Pull CI status and reviewer comments for a PR (current branch by default), help fix failing CI, summarize reviewer feedback, then ask the user which review items to act on. Use when the user says "check PR feedback", "look at the comments", "address review feedback", "is CI passing", or after pushing changes to an open PR.
License
MIT
Metadata
author: erikreppel · version: 1.0.0
Instructions
148 lines in SKILL.md · view on GitHub

Files (2)

  • README.md
  • SKILL.md

SKILL.md (first lines)

# Consider PR feedback

Walks one open pull request and answers two questions for the user:

1. Is CI green? If not, **what** failed and **why** — then offer to fix.
2. What feedback did reviewers leave that hasn't been addressed yet?
   Summarize each item, then **ask** which (if any) to implement. Do not
   start editing files until the user picks.

Argument: optionally a PR number or URL (`/consider-pr-feedback 42`). If
omitted, use the PR for the current branch.

Requires `gh` (GitHub CLI) authenticated for the repo or Github MCP.

Gather all information from CI and reviewer feedback before proposing fixes to the user.

## Step 1 — resolve the PR

If an argument was provided, use it. Otherwise resolve from the current
branch:

```bash
gh pr view --json number,url,headRefName,state,title,headRefOid
```

If there is no open PR for the branch, stop and tell the user — offer to
push + open one if they want.

Capture `number` and the `owner/repo` (from the URL) — every other call
needs them.

## Step 2 — check CI

Get a fast human view first:

```bash
gh pr checks            # exits non-zero if any required check is failing
```

For structured handling, use JSON. The valid fields are limited — the
`bucket` field is what you want (`pass` / `fail` / `pending` /
`skipping` / `cancel`); there is no `conclusion` field:

```bash
gh pr checks --json name,state,bucket,link
```

If all `bucket == "pass"`: state "CI is green" and continue to Step 3.

If any are `pending`: tell the user CI is still running, list which
checks, and stop. Don't proceed to "fix" something that may yet pass.

If any are `fail`: for each failure, derive the run ID from the `link`
(`.../actions/runs/<RUN_ID>/job/<JOB_ID>`) and pull failure logs:

```bash
gh run view <RUN_ID> --log-failed | tail -200
```

Read the failing-step output, identify the root cause, and **propose a
specific fix** — name the file, the change, and why. Then ask the user
if you should apply it. Fix CI before turning to reviewer feedback —
addressing comments on top of a broken build wastes a push.

## Step 3 — fetch reviewer feedback

There are **three** distinct feedback surfaces on a PR. Pull all three;
each holds things the others don't.

```bash
# (a) Formal reviews (approve / request-changes / comment + body)
gh pr view --json reviews

# (b) Inline review comments (threaded on specific diff lines)
gh api "repos/<OWNER>/<REPO>/pulls/<NUMBER>/comments" \
  --jq '.[] | {id, path, line, commit_id, user: .user.login, body}'

# (c) Top-level PR conversation (the "Conversation" tab discussion)
gh api "repos/<OWNER>/<REPO>/issues/<NUMBER>/comments" \
  --jq '.[] | {id, user: .user.login, body}'
```

### Filter what's still actionable

- **APPROVED reviews with no body** — skip; nothing to address.
- **Outdated inline comments** — if a comment's `commit_id` is not in
  the current PR head's history, the line has likely moved or been
  rewritten. Note it as "stale, verify manually" rather than treating
  it as live. Compare against the PR's current `headRefOid` from Step
  1, or `git log --oneline <commit_id>..HEAD` to see if it's an
  ancestor.
- **Same author multiple times** — keep all; later ones may supersede
  earlier ones, but the user is the judge.
- **Bot vs human** — don't filter by author. Bot review comments are
  often substantive and shouldn't be hidden.
- **Pending reviews are invisible** — a reviewer's comments do not
  appear on any of the three surfaces until they submit the review. If
  the user insists a comment exists and you can't see it, say so and
  ask them to submit the pending review.

## Step 4 — present and ask

Print a compact summary the user can scan:

```
PR #12 — Migrate web app to the new router
CI: ✓ all 5 checks passing

Reviewer feedback (2 items):

  [1] review from alice (COMMENTED) — 2026-05-27
      "Blocking: the same-origin backend migration is missing matching
       production proxy routes. The web client now calls /projects and
       /assets but the deployment doc only forwards /api/*."

  [2] inline comment on docs/deployment.md:29 from review-bot
      "This proxy rule no longer matches the web app's backend calls..."
```

From erikreppel/skills, MIT.

Signals

Stars
1
Forks
0
Open issues
1
Last commit (this folder)
Aug 2, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
1.0.0
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from erikreppel

Cite this page

consider-pr-feedback skill. Agent Mart. https://agentmart.dev/skills/erikreppel-consider-pr-feedback (last updated 2026-10-24)