Openclaw-superpowers pull-request-feedback-loop
Handles PR review feedback by fetching comments, grouping issues, fixing one group at a time, and verifying before replies.
install
source · Clone the upstream repo
git clone https://github.com/ArchieIndian/openclaw-superpowers
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ArchieIndian/openclaw-superpowers "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/core/pull-request-feedback-loop" ~/.claude/skills/archieindian-openclaw-superpowers-pull-request-feedback-loop && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ArchieIndian/openclaw-superpowers "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/core/pull-request-feedback-loop" ~/.openclaw/skills/archieindian-openclaw-superpowers-pull-request-feedback-loop && rm -rf "$T"
manifest:
skills/core/pull-request-feedback-loop/SKILL.mdsource content
Pull Request Feedback Loop
PR feedback is a queue of review obligations, not a pile of comments. Use this skill when a user asks you to address PR comments, requested changes, failed checks tied to review feedback, or stale review threads.
When to Use
- A PR has unresolved review comments or requested changes
- The user asks you to "address review feedback" or "fix PR comments"
- You need to reconcile code changes, replies, and verification
Do not use this for ordinary local refactors with no review thread.
Process
-
Identify the PR.
- Prefer the PR number or URL from the user.
- If missing, run
orgh pr status
.gh pr view --json number,url,headRefName
-
Fetch review context.
- Run
.gh pr view <pr> --comments - If needed, run
for review threads or inline comments.gh api - Capture author, file, line, status, and requested change.
- Run
-
Group comments by issue.
- Merge duplicate comments that point at the same underlying fix.
- Separate behavior bugs, test gaps, naming/docs cleanup, and questions.
- Mark comments that need clarification before code changes.
-
Fix one group at a time.
- Inspect the referenced code before editing.
- Make the smallest coherent change for that group.
- Avoid bundling unrelated cleanup into review fixes.
-
Verify before replying.
- Run the narrowest relevant test or check for each group.
- If no test can run, explain the exact reason and inspect manually.
- Do not claim a thread is resolved until verification passes or is explicitly waived.
-
Prepare replies.
- Summarize what changed and how it was verified.
- Keep replies short and factual.
- Do not submit replies automatically unless the user asked you to.
Output
Report:
- Groups handled
- Files changed
- Verification run
- Threads ready for reply
- Threads needing user or reviewer clarification
Guardrails
- Do not force-push, delete branches, or dismiss reviews without explicit permission.
- Do not mark comments resolved only because code was edited.
- Do not ignore a comment because it looks small; either address it or explain why it is not applicable.