Agent Workspaces
Skill
/merge
作業ブランチを main にマージして push し、ブランチと worktree を片付ける
Claude Code
$ npx -y skills add K9i-0/ccpocket --skill merge --agent claude-code
Codex
$ npx skills add K9i-0/ccpocket --skill merge -a codex -y
Cursor
$ npx skills add K9i-0/ccpocket --skill merge -a cursor -y
Gemini CLI
$ npx skills add K9i-0/ccpocket --skill merge -a gemini-cli -y
GitHub Copilot
$ npx skills add K9i-0/ccpocket --skill merge -a github-copilot -y
OpenCode
$ npx skills add K9i-0/ccpocket --skill merge -a opencode -y
Windsurf
$ npx skills add K9i-0/ccpocket --skill merge -a windsurf -y
SKILL.md
merge.SKILL.mdname: merge description: 作業ブランチを main にマージして push し、ブランチと worktree を片付ける allowed-tools: Bash(git:*)
ブランチマージ
作業ブランチを main に `--no-ff` でマージし、push して片付ける。
方針
- 検証は必須にしない。マージ直前に足りないと判断したものだけ確認する(例: 未検証の変更、main との競合解消後の該当テスト)。作業中に通った検証は繰り返さない。
- 共有の作業ディレクトリが他のブランチを checkout している場合は、そのブランチを切り替えない。main 用の一時 worktree でマージする。
手順
git fetch origin git status --short # 今回の作業の未コミット変更があればコミットする
git worktree add ../<repo>-merge main # main を checkout できる場所があればそこを使う cd ../<repo>-merge git merge --ff-only origin/main git merge --no-ff <branch> git push origin main
- コンフリクトは両側の意図を確認して解消し、影響範囲だけ検証する。判断できない場合だけユーザーに確認する。
- 後片付け: `git worktree remove` で一時 worktree と `<branch>` の worktree を削除し、`git branch -d <branch>` でブランチを消す。
- 最後に `git log --oneline -3` でマージ結果を報告する。
Ships withccpocket
Your agents. In your pocket. Codex and Claude, with a chat UI made for your phone. Start a task, approve the next step, and review the result. Pick up the same work on your tablet or Mac.
1.1k18 skills2 agents2 MCP
Other skills on ccpocket.
More skills from other plugins.
Auto-invoked
10x
Personalized audit that teaches the advanced Paradev (formerly Superset) features the user isn't using yet (automations, parallel…
ao-actions
Direct actions on one Orchestrator session or PR: stop or interrupt, resume, merge a PR, start a review, screenshot a session's…
capabilities
Your capability catalog — read this at boot. Lists the temporal date-range skills and the external integrations (reached via the…
Questions about merge.
- Which coding agents can use merge?
- merge installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

