address-feedbacklisted
Install: claude install-skill mistakenot/auto-stack
# Address Feedback
Work through all open PR review threads: fix code, reply, resolve.
> Part of the task planning workflow. See [references/workflow-overview.md](references/workflow-overview.md) for the full pipeline.
## Input
Optional PR number or URL. If omitted, detect from current branch.
## Process
### Step 1: Find PR
```bash
gh pr view --json number,title,headRefName,baseRefName
gh repo view --json nameWithOwner
```
Extract `$OWNER`, `$REPO`, `$NUMBER` from the output. If no open PR on this branch, tell the user and stop.
### Step 2: Fetch unresolved threads
```bash
gh api graphql -f query='
{
repository(owner: "$OWNER", name: "$REPO") {
pullRequest(number: $NUMBER) {
reviewThreads(first: 50) {
nodes {
id
isResolved
comments(first: 10) {
nodes {
databaseId
body
path
line
author { login }
createdAt
}
}
}
}
}
}
}'
```
Filter to `isResolved: false` only.
### Step 3: Assess each thread
For each unresolved thread, classify:
- **Valid, fix needed**: real bug, missing edge case, convention violation, or clear improvement. Fix the code.
- **Valid, no code change**: question or concern addressed by explanation (e.g. "why did you do X?").
- **Invalid / already addressed**: concern doesn't apply, suggested change would make things worse, or already fixed. Explain why.
### Step 4: F