← ClaudeAtlas

sde-resolvelisted

Work through the review comments on a pull request end to end — fetch every unresolved thread and failing check, give each a verdict (agree, disagree with evidence, or ask), apply the agreed fixes as commits, push, reply on every thread, resolve the ones that are done, and re-request review. Use when asked to address, resolve, respond to, or act on PR feedback, review comments, or requested changes.
tomtommyyuan/automated-sde-skill · ★ 0 · Code & Development · score 70
Install: claude install-skill tomtommyyuan/automated-sde-skill
# /sde-resolve — act on the review A review is a list of claims about your change. This skill checks each claim against the code, fixes what is right, argues what is wrong with evidence, asks what is unclear, and leaves the PR with nothing silently ignored. It commits, pushes and replies on its own. Arguments: `$ARGUMENTS` ## Preflight Branch: !`git branch --show-current 2>/dev/null || echo "(detached)"` PR: !`gh pr view --json number,url,state,headRefName,baseRefName,reviewDecision 2>/dev/null || echo "none for this branch"` ## Step 1 — Locate - A number or URL → that PR. Not checked out → `gh pr checkout <n>`. A URL for a repo with no local clone → say so and stop. - No argument → the PR for the current branch. None → one line, stop. - Closed or merged → nothing to resolve; say so. Profile: `.claude/sde.json` (detect per `~/.claude/skills/sde-pr/references/repo-profile.md` when missing) for the gate commands and `resolveThreads`. ## Step 2 — Collect every open item ```bash NWO=$(gh repo view --json nameWithOwner -q .nameWithOwner) gh api graphql -F owner="${NWO%/*}" -F repo="${NWO#*/}" -F pr=<n> -f query=' query($owner:String!,$repo:String!,$pr:Int!){ repository(owner:$owner,name:$repo){ pullRequest(number:$pr){ reviewThreads(first:100){ nodes{ id isResolved isOutdated path line startLine comments(first:30){ nodes{ id databaseId body author{login} createdAt url } } } } } } }' ``` Keep threads with `isResolved == false`. Add: - review bodies tha