一键导入
pr-address
Address PR review comments and CI failures end-to-end — run pr-review, fix failing CI, deal-review, git-commit, autosquash rebase, and push in sequence
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Address PR review comments and CI failures end-to-end — run pr-review, fix failing CI, deal-review, git-commit, autosquash rebase, and push in sequence
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create a Claude Code rule, skill, or agent — global (~/.claude) or project-local (.claude)
Code review using OpenAI Codex CLI with project context (rules, diff, conventions)
Multi-perspective code review from base branch with 3 independent reviewer agents
Analyze working tree changes, map to existing commits, and create fixup commits for autosquash
Analyze working tree changes, plan logically minimal NEW atomic commits per hunk (no fixup), and execute them
Review every commit message since base branch and add reword fixups where the message needs improvement (non-interactive)
| name | pr-address |
| disable-model-invocation | true |
| description | Address PR review comments and CI failures end-to-end — run pr-review, fix failing CI, deal-review, git-commit, autosquash rebase, and push in sequence |
| argument-hint | [context] |
context (optional): Guidance forwarded to /deal-review on which findings
to address and how (e.g., "1, 2 は対応、3 は不要", "全部対応").The user's invocation of this skill IS the explicit intent for the whole
chain: implementing fixes, committing, rewriting local history with
autosquash, and pushing. Do NOT ask for approval between steps. The git
safety rules still apply (explicit staging, backups, no git add -A,
no git stash).
Run the following steps strictly in order. Steps 1, 3, and 4 invoke an existing skill via the Skill tool — do NOT re-implement their logic here.
Invoke the Skill tool with skill: pr-review. This fetches and displays
the unresolved PR review comments.
Check the PR's CI status:
gh pr checks
If any check is failing:
gh run view <run-id> --log-failed (get run IDs from
gh pr checks / gh run list --branch <branch>).If checks are still pending, do not wait for them — note it in the final report and continue.
Early exit: if there are no unresolved review comments (Step 1) AND
no failing CI checks AND git status --short is clean, report that
there is nothing to address in Japanese and STOP.
Skip this step if Step 1 found no unresolved comments.
Invoke the Skill tool with skill: deal-review, passing this skill's
context argument through as-is. This implements fixes, replies to
threads, and resolves them.
If git status --short shows no changes, skip to Step 5.
Invoke the Skill tool with skill: git-commit. Pass a short context
summarizing what the changes address (PR review findings and/or the CI
failure that was fixed). This creates fixup and/or new commits.
Only needed when Step 4 created fixup! commits
(check git log --oneline origin/<base>..HEAD); otherwise skip to
Step 6.
git symbolic-ref refs/remotes/origin/HEAD | perl -pe 's@^refs/remotes/origin/@@'
(fallback: main).git backup "before autosquash" (or
git branch backup/$(date +%s) HEAD).GIT_SEQUENCE_EDITOR=: GIT_EDITOR=true git rebase -i --autosquash origin/<base>main/master) — report
and STOP.git push --force-with-leasegit push (add -u origin <branch> if no upstream is set).Summarize in Japanese:
git log --oneline origin/<base>..HEAD)