Git.Merge
Description
--- description: Merge the current branch's PR, switch to the default branch, and clean up all merged/gone local and remote branches. Use when you want to merge a PR and clean up branches. argument-hint: [pr-number] (optional — auto-detected from current branch if omitted) --- ## User Input ```text $ARGUMENTS ``` ## Task Merge the current branch's PR and clean up all stale branches. ### Step 1 — Detect context ```bash git rev-parse --abbrev-ref HEAD # current branch gh repo view --json d
Installation
Installs to ~/.claude/commands/salimomrani-forgekit-git.merge.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/salimomrani/forgekit/HEAD/.claude/commands/git.merge.md -o ~/.claude/commands/salimomrani-forgekit-git.merge.md Restart Claude Code, or start a new session, for it to be picked up.
Full documentation available on GitHub
View Source RepositoryRelated Skills
Epic Sync
Sync epic issue bodies, labels, and local coordination snapshots from GitHub.
Git 使用 Git Worktrees
创建孤立的 Git worktrees,带有智能目录选择与安全验证。
Git Claude skills github
[Building agent skills blog](https://www.anthropic.com/engineering/equipping-agents-for-the-real-world-with-ag
Git #148
, [#161](https://github.com/affaan-m/everything-claude-code/pull/161))
Git GitHub MCP
| Token | Repos, issues, PRs, workflows |
Git GitHub MCP Server
Official first-party server to read repos, manage issues/PRs, and automate workflows.
Git