بنقرة واحدة
merge
Use when the user wants to merge the current branch to master — merges via GitHub PR
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Use when the user wants to merge the current branch to master — merges via GitHub PR
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Use when the user wants to do a QA session or report multiple bugs — interactive session where bugs are reported conversationally and agents fix them in parallel
Use when executing implementation plans with independent tasks — orchestration pattern for worktree isolation, TDD discipline, and two-stage review. Referenced by execute-plan, fixit, and bugbash.
Use when the user reports a bug or issue that can be fixed without blocking their current work — backgrounds an agent in a worktree to fix and merge back without breaking stride
Use after implementing changes in an OpenSpec project to review implementation against the active change's deltas — auto-fixes confident issues, parks questions for the user
Install the anutron (claude-skills) kit into the current project — symlinks or copies skills, registers hooks, compiles CLAUDE.md from snippets.
Uninstall the anutron (claude-skills) kit from the current project — reverses everything /anutron-install did.
| name | merge |
| allowed-tools | Bash(git add:*), Bash(git commit:*), Bash(git checkout:*), Bash(git pull:*), Bash(git push:*), Bash(git branch:*), Bash(git fetch:*), Bash(git log:*), Bash(git diff:*), Bash(git reset:*), Bash(git rebase:*), mcp__plugin_github_github__list_pull_requests, mcp__plugin_github_github__create_pull_request, mcp__plugin_github_github__update_pull_request, mcp__plugin_github_github__merge_pull_request |
| description | Use when the user wants to merge the current branch to master — merges via GitHub PR |
| tags | ["pr"] |
git branch --show-current 2>/dev/null || echo '(not in a git repo)'git status --short 2>/dev/null || echo '(not in a git repo)'git remote -v 2>/dev/null | head -10git log upstream/master..HEAD --oneline 2>/dev/null | head -50git log origin/master..HEAD --oneline 2>/dev/null | head -50git diff upstream/master..HEAD --stat 2>/dev/null | head -50git diff origin/master..HEAD --stat 2>/dev/null | head -50Merge the current branch into master via GitHub PR merge. This preserves PR association so the commit on master links back to the PR.
Important: An existing open PR is NOT required. If no PR exists, one will be created. If there are uncommitted changes, they will be committed first. The only requirement is that the branch has something to merge (commits diverging from master).
Determine the target remote (CRITICAL -- use this for all subsequent steps):
git remoteupstream remote exists, set TARGET=upstream{TARGET} below must use the determined remoteCommit any uncommitted changes:
Store the current branch name:
Analyze all commits and changes:
{TARGET}/masterRebase on {TARGET}/master:
git fetch {TARGET}git rebase {TARGET}/masterForce-push the rebased branch to {TARGET}:
git push {TARGET} <branch-name> --force-with-leaseEnsure a PR exists with a good title and description:
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>mcp__plugin_github_github__list_pull_requests (with head set to <owner>:<branch>, state: "open") to check if a PR already existsmcp__plugin_github_github__update_pull_request (set title and body)mcp__plugin_github_github__create_pull_request (base: master)Squash merge via GitHub:
mcp__plugin_github_github__merge_pull_request with merge_method: "squash" and the title/body as commit messagemcp__plugin_github_github__merge_pull_request with merge_method: "rebase"Update local master:
git checkout mastergit pull {TARGET} masterReport the result:
Execute all steps in sequence. If any step fails, stop and report the error.