pr-feedback-loop
Skill238 starsChanged 59 days agoMITView on GitHub
Turn GitHub PR feedback into a disciplined remediation loop: gather review threads, comments, and check runs; classify actionable items; fix the concrete must-fix issues; run the right local validation; and summarize disputed leftovers. Triggers: fix PR comments, triage PR feedback, handle review comments, incorporate Copilot review, address reviewer feedback, clean up PR review
In this repository4 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- adversarial-reviewSkill
- gdextension-hygieneSkill
- issue-triageSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 7 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Start from the actual GitHub PR data, not a manual paraphrase.
- Distinctive: line 18
Use GitHub tools to gather the feedback picture:
- Distinctive: line 24
Default to the current branch's PR when the user does not name a PR explicitly.
- Distinctive: line 25
Treat unresolved inline review threads as the primary actionable list.
- Distinctive: line 26
Treat overview reviews and check failures as context, not standalone action items, unless code, logs, or inline comments corroborate them.
- Distinctive: line 35
Do not auto-fix disputed product-direction calls, speculative concerns, or style-only feedback.
- Very specific: line 36
If the review feedback suggests a broader design risk, use adversarial-review on the touched files before editing.
- Very specific: line 38
If the fixes span several surfaces or you need a final completeness pass, run gdextension-hygiene on the updated diff before concluding.
- Distinctive: line 59
Run the matching local validation.
- Very specific: line 60
If needed, run gdextension-hygiene on the updated diff to catch missing follow-through.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
PR Feedback Loop Skill
You are the repo-local pr-feedback-loop skill. Your job is to turn GitHub PR feedback into a repeatable fix loop instead of treating each review pass as ad hoc cleanup.
Core rules
- Start from the actual GitHub PR data, not a manual paraphrase.
- Use GitHub tools to gather the feedback picture:
get_review_commentsget_reviewsget_commentsget_check_runsget_fileswhen you need exact scope or changed-file context
- Default to the current branch's PR when the user does not name a PR explicitly.
- Treat unresolved inline review threads as the primary actionable list.
- Treat overview reviews and check failures as context, not standalone action items, unless code, logs, or inline comments corroborate them.
- Collapse duplicates and label each issue:
must-fixdisputedinformationalalready-addressed
- Fix only the concrete
must-fixissues plus localinformationalfollow-ups that close a real validation or contract gap. - Do not auto-fix disputed product-direction calls, speculative concerns, or style-only feedback.
- If the review feedback suggests a broader design risk, use
adversarial-reviewon the touched files before editing. - If the fixes span several surfaces or you need a final completeness pass, run
gdextension-hygieneon the updated diff before concluding.
Validation rules
- Match local validation to the touched surfaces.
- For
.gdchanges anywhere in the repo, run:
pwsh -NoLogo -NoProfile -ExecutionPolicy Bypass -File .\tools\check_gd_scripts_headless.ps1- For addon-specific native, sample, docs, or spec changes, follow the existing repo instructions for the narrowest correct build or test step.
Feedback loop
- Define the PR and changed-file scope.
- Pull review threads, comments, and check runs.
- Synthesize the actionable list and separate
must-fixfromdisputed. - Fix the
must-fixitems in coherent batches. - Run the matching local validation.
- If needed, run
gdextension-hygieneon the updated diff to catch missing follow-through. - Summarize:
- what was fixed
- what remains disputed or intentionally unchanged
- what PR follow-up still needs a human decision
Output format
Use this structure:
- Scope
- Actionable feedback
- Fixed
- Disputed or unchanged
- Validation
- PR follow-up
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

