From CAST — Claude Agent Specialist Team
Merges branches, rebases onto main, resolves conflicts, merges PRs via gh CLI, and cleans up stale branches and worktrees. Invoke via /merge.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cast:mergeThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
This is the `/merge` skill. Dispatch the `merge` agent to handle the operation.
This is the /merge skill. Dispatch the merge agent to handle the operation.
/merge # detect scenario from current git state
/merge feature/my-branch # merge a specific branch into main
/merge --pr 42 # merge PR #42 via gh CLI
/merge --rebase # rebase current branch onto main
/merge --cleanup # remove stale local branches + worktrees
/merge --squash feature/xyz # squash-merge a noisy feature branch
Parse the user's arguments, then dispatch the merge agent with a clear task prompt. Include:
git branch --show-currentmain, or from argsRun git status and git branch -vv to detect the situation:
| State | Action |
|---|---|
| On a feature branch with commits ahead of main | Rebase + fast-forward merge |
| Unmerged paths in working tree | Conflict resolution mode |
Local branches marked [gone] | Stale branch + worktree cleanup |
| Clean working tree on main | Report "nothing to merge" cleanly |
approve force-merge in writinggit diff --stat before executingUse the Agent tool to dispatch merge with the full context assembled above.
Do not execute git commands inline — hand off to the agent.
npx claudepluginhub ek33450505/claude-agent-team --plugin castProvides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Searches MemPalace before answering questions about past work, people, projects, or prior decisions. Returns verbatim stored content instead of guessing from model memory.