AGENT SKILL

pr-feedback

Fetches PR review feedback and inline comments, categorizes them, and presents options to the user. Use when the user asks to get, read, address, or fix review comments on a pull request.

License 许可
MIT
最近更新
2026-10-08
Stars
★ 11
Forks
3

01 前言 Front Matter

name
pr-feedback
description
Fetches PR review feedback and inline comments, categorizes them, and presents options to the user. Use when the user asks to get, read, address, or fix review comments on a pull request.

03 SKILL.md 正文

PR Review Feedback

Fetch PR review feedback and inline comments, categorize them, and present options to fix.

Process

1. Determine the PR Number

Auto-detect from the current branch:

gh pr view --json number -q .number

If that fails (detached HEAD, no tracking branch), ask the user for the PR number or URL.

2. Fetch All Feedback

Use the bundled script to fetch reviews, inline comments, and issue-level comments in one shot:

bash .agents/skills/pr-feedback/fetch-pr-feedback.sh <number> [--repo owner/repo]
  • Omit <number> to auto-detect from the current branch.
  • Use --repo when the PR is in a different repo than the current directory.

The script returns JSON with three arrays:

  • reviews — top-level review summaries (non-empty bodies only)
  • inline_comments — unresolved thread comments with upvotes/downvotes arrays (usernames who reacted), outdated flag, and diffHunk on the first comment in each thread
  • comments — issue-level comments

3. Summarize and Present to the User

Read all the feedback, use your judgment to group related items, and present a numbered list of things to address. Keep each item to one line. Put the most impactful items first.

Use upvotes, downvotes, and the PR author's own replies to determine priority:

  • Upvoted by the PR author: This signals agreement — recommend fixing it.
  • Author replied agreeing (e.g. "good point", "I'll fix", "makes sense"): Same as an upvote — recommend fixing it.
  • Upvoted by other reviewers (not the author): Signals community agreement the issue matters — lean toward recommending.
  • No signal from the author: Present as a suggestion but don't assume it should be fixed.
  • Author replied disagreeing or explaining: Present for context but mark as "discussed — likely skip".
  • Outdated comments: Group separately at the end — these may have been addressed by subsequent pushes.

When presenting the list, annotate items you recommend fixing (based on the signals above) so the user can quickly confirm "all recommended" or cherry-pick.

4. Fix What the User Selects

Address only the confirmed items. After fixing, briefly note what changed — one line per item.

Rules

  • Always auto-detect the PR number before asking the user.
  • Never fix anything before presenting the list and getting user confirmation.
  • If the output is too large to parse in one shot, focus on non-outdated comments first.

04 同仓库更多 Skills

lza6
lza6/Armor-piercing-system-prompts

ci-cd-and-automation

Automates CI/CD pipeline setup. Use when setting up or modifying build and deployment pipelines. Use when you need to automate quality gates, configure test runners in CI, or establish deployment strategies.

★ 11
lza6
lza6/Armor-piercing-system-prompts

chrome-devtools

Uses Chrome DevTools via MCP for efficient debugging, troubleshooting and browser automation. Use when debugging web pages, automating browser interactions, analyzing performance, or inspecting network requests. This skill does not apply to `--slim` mode (MCP configuration).

★ 11
lza6
lza6/Armor-piercing-system-prompts

chrome-cdp

Drive a real Chrome via the Chrome DevTools Protocol (CDP). Ensures a debuggable Chrome is running (launching it if needed) so the agent can navigate, read page content, inspect the DOM, run JavaScript, and take screenshots — without the user typing any launch command. Includes a first-class "review a live running app" flow: point Chrome at the app under development and inspect/screenshot the REAL page (what a static-artifact tool cannot do). Backed by Glimpse and the chrome-devtools MCP server. Use when asked to "use chrome", "open chrome", "drive my browser", "read the page in chrome", "review the running app", "screenshot the app", or "/chrome-cdp".

★ 11
lza6
lza6/Armor-piercing-system-prompts

check-identity-pack

Run an AFP 100-point or AUSTRAC safe-harbour identity check over a set of documents, and report exactly what's missing. Use when the user asks to check identity documents, verify someone's ID for onboarding, or assess whether a document pack satisfies Australian identity requirements.

★ 11
lza6
lza6/Armor-piercing-system-prompts

changelog

Auto-generates a changelog from git commits, sprint data, and design documents. Produces both internal and player-facing versions.

★ 11
lza6
lza6/Armor-piercing-system-prompts

cellxgene-census

Query the CZ CELLxGENE Census programmatically for versioned public single-cell and spatial transcriptomics data. Use when you need population-scale cell metadata, gene expression slices, Census summary counts, source H5AD URIs/downloads, embeddings, spatial Census data, or reference atlas comparisons across organisms, tissues, diseases, assays, and cell types. For analyzing your own local single-cell data use scanpy, anndata, or scvi-tools.

★ 11