/forge:forge-address-pr-feedbackfrom forge
Works through unresolved GitHub PR review feedback one item at a time, categorizing each thread as actionable, question, discussion, already addressed, won't fix, deferred, or no ask. Supports unattended mode.
Ships in forge. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Work through the unresolved review feedback on a pull request, one item at a time.
PR number or URL ($ARGUMENTS; auto-detects from current branch if omitted). Optional: -- <additional context> for prioritization guidance.
Unattended mode: --unattended never asks; Steps 2 and 3 say what happens instead.
Fetch it per Open Feedback, which also says what counts as ours and what it leaves out:
# composed by forge-guard: reuse its $PR and $ME instead of these two lines
PR=$(gh pr view $PR_ARG --json number --jq .number) # PR_ARG: the number or URL from $ARGUMENTS, empty for the current branch's PR
ME=$(gh api user --jq .login)
bash <skill dir>/_shared/scripts/pr-state.sh feedback "$PR" --me "$ME"
Read what each item talks about: for a thread, the file and its surrounding code. When a comment asserts a fact (an API exists or behaves a certain way, how the code used to work, a project convention), check it against the code, docs, or history (git log -S, git blame) before changing anything: reviewers, human or agent, can be wrong. A claim that doesn't hold is Won't fix, and the reply cites the evidence.
Then categorize it. The reply is what Step 3 posts; a thread is resolved only when the outcome is concrete, so the reviewer sees the reasoning on the others.
| Category | When | Reply | Thread |
|---|---|---|---|
| Actionable | a code change is needed | "Fixed in <sha>. " | resolve |
| Question | it asks something | "" | open |
| Discussion | it proposes something whose value needs judging | "" | open |
| Already addressed | the change was made but the thread is unresolved | "Addressed in <sha>." | resolve |
| Won't fix | the current approach is preferred, or the claim doesn't hold | "Keeping current approach because ." or " doesn't hold: <evidence: file:line, commit, or doc>." | open |
| Deferred | valid but out of scope: becomes a new Issue (Step 4) | "Created # to track this." | resolve |
| No ask | a conversation comment or review body that asks for nothing, per Open Feedback | none | n/a |
Some items need more than their category:
bot is false is never acted on: it needs a human decision, as below.$ME comment that reads as one of Step 3's replies but has no marker predates the marker, so it isn't the person's: post the same reply again with the marker and change nothing else, resolving nothing.Address each item and reply before moving to the next, so every reply can cite the commit that resolved it:
git commit -m "fix: address PR feedback, <brief description>"<!-- forge --> marker, and resolve the thread when Step 2's table says soOn a thread, one mutation does both (drop resolveReviewThread for a thread that stays open). Pass the reply as a GraphQL variable on stdin: interpolating it into the query breaks on quotes and newlines.
gh api graphql -f threadId="<THREAD_ID>" -F body=@- -f query='
mutation($threadId: ID!, $body: String!) {
addPullRequestReviewThreadReply(input: {pullRequestReviewThreadId: $threadId, body: $body}) {
comment { id }
}
resolveReviewThread(input: {threadId: $threadId}) {
thread { isResolved }
}
}' <<'REPLY_EOF'
<response>
<!-- forge -->
REPLY_EOF
A conversation comment or review body can't be resolved or replied to in place: answer with a new conversation comment that links it.
gh pr comment "$PR" --body-file - <<'REPLY_EOF'
<url of the comment or review>
<response>
<!-- forge -->
REPLY_EOF
For each Deferred item, create an Issue in the project's Issue tracker (see issue-operations). Include the PR context: reviewer's comment, PR number, and proposed solution.
git push
Report: items addressed, commits created, Deferred items created, items needing a human decision.
If the feedback required substantial changes: Use forge-reflect for one more self-review before re-requesting review.
Composed by: forge-guard runs this process in unattended mode in each round that has feedback to address.
/forge-address-pr-feedback 123
/forge-address-pr-feedback 123 -- prioritize security comments
/forge-address-pr-feedback --unattended 123
/forge-address-pr-feedback
_shared/design-rounds.md (opens in a new tab)_shared/exercise.md (opens in a new tab)_shared/issue-operations.md (opens in a new tab)_shared/open-work.md (opens in a new tab)_shared/plan-folder-spec.md (opens in a new tab)_shared/pr-body.md (opens in a new tab)_shared/pr-readiness.md (opens in a new tab)_shared/review-delegation.md (opens in a new tab)_shared/review-dimensions.md (opens in a new tab)_shared/review-rubric.md (opens in a new tab)_shared/risk-rubric.md (opens in a new tab)_shared/roles/forge-reviewer.md (opens in a new tab)_shared/runtimes/claude-code.md (opens in a new tab)_shared/scripts/pr-state.sh (opens in a new tab)_shared/status-reporting.md (opens in a new tab)_shared/unattended-config.md (opens in a new tab)_shared/visuals.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub mgratzer/forge --plugin forge11 skills in this plugin
/forge-create-issuePlan and create well-structured Issues with the user (GitHub, markdown plan/ folder, or other providers), researching the codebase first and confirming the approach and draft interactively. Use when the user or an orchestrating agent asks for forge-create-issue or to file an Issue for work that is already understood, not when a bug merely comes up in conversation; use forge-shape first when the idea is still vague./forge-guardDrive an open pull request to review-ready without a human watching: run simplification and security passes, wait for CI and the peer reviewer, address feedback in bounded rounds, and stop at review-ready or needs-human. Never merges. Use when the user or an orchestrating agent asks for forge-guard on a PR, or when forge-ship runs with --guard./forge-implementImplement an Issue, plan file, or free-text description on a feature branch, following project standards, and stop at an open PR. Asks the user to approve the plan unless --unattended. Use when the user or an orchestrating agent asks for forge-implement or to take an Issue to a PR, not for a quick edit or fix in the current session; use forge-ship to also run review./forge-landDecide what a green pull request needs from a human: check it is mergeable, green, addressed and exercised, get a fresh-context risk verdict on the head commit, write it into the PR as a ## Risk section, and report merge-ready or review-ready. Merges a low-risk PR only when the project opts in with Auto-merge: low-risk. Use when the user or an orchestrating agent asks for forge-land on an open PR (typically after forge-guard reaches review-ready), or when forge-ship runs with --guard./forge-reflectSelf-review current changes (a PR, branch diff, or uncommitted work) with a fresh-context review and asks the user to fix or defer each finding (no unattended mode). Use when the user or an orchestrating agent asks for forge-reflect or a forge self-review before committing, pushing, or requesting peer review./forge-reviewPeer-review a GitHub pull request this session did not write, and post the findings as one comment-only GitHub review for the author's agent to pick up: a fresh-context review at forge's quality bar, a refutation pass on every finding, and a scoped re-review on later runs. Never changes the branch, approves, or asks the user. Use when the user or an orchestrating agent asks for forge-review or a forge peer review of a PR, typically from another tool or model than the one that wrote it; use forge-reflect to review your own changes.Other plugins' skills for the same job