Spectre fix pr

From sxs-collaboration/spectre · View interactive version

Spectre fix pr is an AI agent skill from the GitHub repository sxs-collaboration/spectre. Run the fetch script to retrieve PR metadata, review comments, and changed

How to use this skill

Skill file

Run the fetch script to retrieve PR metadata, review comments, and changed

files:

python3 \
  "$(git rev-parse --show-toplevel)/.skills/scripts/FetchPrComments.py" \
  <number> [--repo owner/repo]

(for SpECTRE, upstream is sxs-collaboration/spectre).

After fetching the PR data:

  1. Summarize the review before starting work: list the total number of

threads, how many are unresolved, and the files affected.

  1. Prioritize UNRESOLVED threads -- these are the comments that still need

to be addressed. Start with unresolved, non-outdated threads first.

  1. Group by file -- work through comments file-by-file rather than jumping

around, since multiple threads often apply to the same file.

  1. Use the diff hunk context -- each inline comment includes the surrounding

diff hunk so you can understand exactly what code the reviewer is referring

to.

  1. Check OUTDATED threads -- these refer to code that has since changed.

Verify whether the concern still applies before making changes.

  1. Skip resolved threads unless the user specifically asks about them.
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.