ワンクリックで
fix-pr
Read review comments from a PR, fix each issue, resolve threads, validate
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Read review comments from a PR, fix each issue, resolve threads, validate
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | fix-pr |
| description | Read review comments from a PR, fix each issue, resolve threads, validate |
| disable-model-invocation | true |
| argument-hint | [PR number] |
PR: $ARGUMENTS. Repo: haalfi/integration-showcase.
For all GitHub API calls: use github-pat first, fall back to MCP_DOCKER for reads only.
Check out the PR branch. Fetch all comment sources (owner: "haalfi", repo: "integration-showcase"):
| # | Tool | Method | Returns |
|---|---|---|---|
| 1 | pull_request_read | get_review_comments | Inline thread comments |
| 2 | pull_request_read | get_comments | Review-level comments |
| 3 | pull_request_read | get_reviews | Review body/summary |
| 4 | issue_read | get_comments | Top-level conversation |
If gh CLI available, fetch thread IDs for resolution:
gh api graphql -f query='query($owner:String!,$repo:String!,$number:Int!){repository(owner:$owner,name:$repo){pullRequest(number:$number){reviewThreads(last:100){nodes{id isResolved path line comments(first:10){nodes{body}}}}}}}' -f owner='haalfi' -f repo='integration-showcase' -F number=$ARGUMENTS
Build work list. Skip resolved, outdated, bot comments. Verify each claim against the code.
Read each file in full. Make the fix. Verify against sdd/DESIGN.md if the change touches
envelope invariants or the remote-store boundary.
If gh available, batch-resolve fixed threads via GraphQL resolveReviewThread mutation.
Only resolve threads you fixed.
Run hatch run lint then hatch run test. Fix failures, re-run until clean.
Stage, commit (fix: address PR #$ARGUMENTS review), push. Report what was fixed/resolved/skipped.