con un clic
merge-pr
Wait for PR CI checks to complete, then execute merge.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Wait for PR CI checks to complete, then execute merge.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Load a GitHub Issue, create a branch, and develop an implementation plan.
Read hachimoku JSONL output and respond to review feedback.
Review and respond to PR review comments.
Create a new worktree for an Issue.
Commit changes, push to remote, and create a PR in a single workflow.
Ensure complete compliance with code quality standards. Use before commit, before PR creation, or when quality issues are detected.
| name | merge-pr |
| description | Wait for PR CI checks to complete, then execute merge. |
Wait for PR CI checks to complete, then execute merge.
/merge-pr <pr-number> [--merge|--rebase]
| Argument | Type | Required | Description |
|---|---|---|---|
pr-number | integer | Yes | GitHub PR number |
--merge | flag | No | Create a merge commit |
--rebase | flag | No | Rebase merge |
Default: --squash (squash commits into one)
When the user invokes /merge-pr <number>, use the bundled pr-merger agent to execute the complete workflow.
Use the Task tool to launch the pr-merger agent from .claude/agents/pr-merger.md:
Task tool with subagent_type: "pr-merger"
Pass the PR number and any merge strategy flags as the prompt (e.g., "123", "456 --merge", "789 --rebase").
The agent will handle:
✅ PR #100 merged successfully
Merge method: squash
Base branch: <default-branch>
Remote branch: deleted
Local branch: deleted
Worktree: deleted (if applicable)
❌ Failed to merge PR #100
Cause: [specific cause]
Resolution: [suggestion]
| エラー | 対応 |
|---|---|
| PR not found | PR #N not found |
| PR already merged | PR #N is already merged |
| PR closed | PR #N is closed |
| Has conflicts | コンフリクト解消手順を表示 |
| CI failed | 失敗したチェックを表示、確認を求める |
| Merge blocked | ブロック理由を表示(ブランチ保護等) |