skills/forge-address-pr-feedback/SKILL.md
Analyze and address unresolved feedback on a GitHub pull request. Use when the user has received PR review comments and wants to systematically address each piece of feedback, or when the user mentions PR feedback, review comments, or addressing reviewer concerns.
npx skillsauth add mgratzer/forge forge-address-pr-feedbackInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Systematically address unresolved review feedback on a pull request.
PR number or URL (auto-detects from current branch if omitted). Optional: -- <additional context> for prioritization guidance.
Use GraphQL — the REST API does NOT expose isResolved status on review threads.
gh api graphql -f query='
query {
repository(owner: "<OWNER>", name: "<REPO>") {
pullRequest(number: <PR_NUMBER>) {
reviewThreads(first: 100) {
nodes {
isResolved
isOutdated
path
line
id
comments(first: 10) {
nodes {
id
body
author { login }
url
}
}
}
}
}
}
}'
Filter for unresolved threads: select(.isResolved == false).
For each unresolved thread, read the file and surrounding context, then categorize:
Address each thread immediately, then reply before moving to the next. Do not batch.
For each thread:
git commit -m "fix: address PR feedback — <brief description>"gh api graphql -f query='
mutation {
addPullRequestReviewThreadReply(input: {
pullRequestReviewThreadId: "<THREAD_ID>"
body: "<response>"
}) {
comment { id }
}
}'
Reply format by category:
<sha>. <what changed>"<sha>."For valid out-of-scope improvements, 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: feedback items addressed, commits created, follow-up issues created, items needing human decision.
If the feedback required substantial changes: Use forge-reflect for one more self-review before re-requesting review.
/forge-address-pr-feedback 123
/forge-address-pr-feedback 123 -- prioritize security comments
/forge-address-pr-feedback
tools
End-to-end implementation and self-review in a single invocation. Implements from an Issue, plan file, or free-text description, then runs a lean fresh-context review. Use when the user wants to implement and review without manual handoff between skills.
development
Shape a vague idea into a clear plan through codebase investigation and convergent one-at-a-time questioning. Use when the user has a rough idea or problem that needs specifying before issue creation.
development
Set up or update a project's context infrastructure for agentic engineering — AGENTS.md as lean hot memory, docs/ as earned warm memory, with signal-to-noise scoring for existing guidance. Use when starting a new project, retrofitting an existing codebase, or auditing current guidance quality.
tools
Review current changes with a lean review flow. Works on a PR, branch diff, or uncommitted changes. Tiny low-risk diffs stay inline; larger or riskier changes use fresh-context review. Use when the user wants to self-review before committing, pushing, or requesting peer review.