← ClaudeAtlas

workflow-address-feedbacklisted

Use when a PR owner wants to address review feedback — fetches outstanding threads and general comments, presents a per-item triage (ADDRESSED / CLARIFIED / DEFERRED), applies fixes via the Edit tool, commits via workflow-commit-and-pr, posts replies via the GitHub API, resolves addressed threads via GraphQL resolveReviewThread (those without a thread are never resolved), and syncs stale PR metadata when drift is detected.
lugassawan/swe-workbench · ★ 3 · Code & Development · score 72
Install: claude install-skill lugassawan/swe-workbench
# Workflow: Address Feedback **Announce at start:** "I'm using the workflow-address-feedback skill to address review feedback on PR #N." ## When to invoke - The user runs `/swe-workbench:address-feedback <N>`. - A PR owner wants to systematically work through review threads. - Phrases: "address the feedback on PR 123", "help me resolve review comments", "triage and fix the review threads on #456". ## When NOT to invoke - The reviewer side of the loop → use `swe-workbench:workflow-pr-review` or `swe-workbench:workflow-pr-review-followup`. - The user just wants to reply to a single comment without the full triage flow. - The PR is closed/merged. ## Composition This skill orchestrates: - `swe-workbench:ticket-context` — prepended context when PR references a ticket. - `swe-workbench:workflow-commit-and-pr` — invoked after all ADDRESSED fixes are applied to commit and push. ## Phase flow ### Phase 1 — Pre-flight + fetch ```bash _RT="${CLAUDE_PLUGIN_ROOT:-$(git rev-parse --show-toplevel)}" [ -f "$_RT/runtime/clean-state-files.sh" ] || { echo "swe-workbench runtime scripts not found under $_RT/runtime — set CLAUDE_PLUGIN_ROOT and retry." >&2 exit 1 } JSON="/tmp/swe-workbench-address-feedback/${PR}.json" eval "$("$_RT/runtime/preflight-pr.sh" "$PR" "$JSON")" CURRENT_USER=$(gh api /user -q .login) PR_BRANCH=$(jq -r .headRefName "$JSON") ``` `preflight-pr.sh` handles `gh auth status`, fetches the PR JSON to `$JSON`, and emits `BASE`, `HEAD_SHA`, `AUTHOR_LOGIN`, `OWNER`, `R