ワンクリックで
gh-fix-review-comments
End-to-end GitHub PR review-comment fix loop: fetch context, patch, validate, commit/push, reply, resolve.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
End-to-end GitHub PR review-comment fix loop: fetch context, patch, validate, commit/push, reply, resolve.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Create, repair, validate, visually QA, and package Codex-compatible v2 animated pets from character art, generated images, company or prospect brand cues, or visual references. Use for any new Codex pet, custom mascot, non-pixel pet style, brand-inspired pet, existing-pet repair, or 8x11 spritesheet workflow requiring all 9 standard animation rows, 16 look directions, deterministic assembly, QA artifacts, and spriteVersionNumber 2 packaging.
Rewrite current branch into N semantic commits with a legacy backup branch and optional rebase onto origin/main.
Merge origin/main into current branch while preserving branch intent, context, and ownership decisions.
Chain branch onboarding, code-health, and non-test analysis into a branch-scoped remediation plan.
Summarize current branch diff from fork point with intent, scope, risks, and context for follow-on work.
Audit codebase architecture: module dependencies, layering, circular imports, ownership, and structural decay.
| name | gh-fix-review-comments |
| description | End-to-end GitHub PR review-comment fix loop: fetch context, patch, validate, commit/push, reply, resolve. |
Use this skill for end-to-end PR review closure. The first goal is to fully understand the current branch's work context; review comments are interpreted only after the branch intent, PR scope, diff, and existing verification contract are reconstructed. Invocation authorizes normal review-fix side effects: local edits, verification, commit, push, inline replies, and thread resolution.
command -v gh, git rev-parse --is-inside-work-tree, and GH_FORCE_TTY=0 GIT_TERMINAL_PROMPT=0 GH_PAGER=cat gh auth status.gh command with GH_FORCE_TTY=0 GIT_TERMINAL_PROMPT=0 GH_PAGER=cat.gh auth is missing or expired, stop and ask the user to run gh auth login; do not fake GitHub writes.Complete this gate before building the review-comment work queue.
gh pr view --json number,url,title,body,headRefName,baseRefName,headRepositoryOwner,headRepository,baseRepository.collect_branch_info.py --base <base> --format json.git log --oneline <base>..HEAD, git diff --stat <base>...HEAD, and the changed-file list.scripts/fetch_comments.py; otherwise locate the bundled GitHub plugin script with find /Users/mrx-ksjung/.codex/plugins/cache/openai-curated/github -path '*/skills/gh-address-comments/scripts/fetch_comments.py' | head -1.code-fix, rationale-only, duplicate, or blocked.blocked with evidence.gh api repos/OWNER/REPO/pulls/PR/comments --paginate; REST node_id corresponds to the GraphQL comment id.gh api repos/OWNER/REPO/pulls/PR/comments/REST_ID/replies -f body='...'.resolveReviewThread:
gh api graphql -f query='mutation($thread:ID!){resolveReviewThread(input:{threadId:$thread}){thread{id isResolved}}}' -f thread=THREAD_IDunresolved_threads=0.반영했습니다.
- 맥락: <branch intent / affected subsystem>
- 변경: <what changed or why no code change was needed>
- 검증: `<command>` 통과
- 커밋: <short_sha>
Never claim branch context, a fix, a push, or resolution that has not actually been verified.
gh api TTY/pager issue: retry once with the required non-interactive env prefix.node_id, then by path/line/body only as a last resort.