/merge
ブランチをメインにマージしてお掃除する
$ npx -y skills add K9i-0/ccpocket --skill merge --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/merge
Context preview
The summary Claude sees to decide when to auto-load this skill.
ブランチをメインにマージしてお掃除する
SKILL.md
merge.SKILL.mdname: merge description: ブランチをメインにマージしてお掃除する disable-model-invocation: true allowed-tools: Bash(git:*)
ブランチマージ & クリーンアップ
作業ブランチを main にマージし、不要になったブランチと worktree を削除する。
前提条件
- 作業ブランチで全ての変更がコミット済みであること
- 現在のブランチが main **でない**こと
手順
1. 事前確認
git branch --show-current
- 現在のブランチ名を記録する(= `<branch>` とする)
- `main` の場合はマージ対象がないため中断する
git status --short
- 未コミットの変更がある場合は中断し、先にコミットするよう促す
2. main に切り替え
git checkout main
3. マージ (--no-ff)
git merge --no-ff <branch>
- マージコンフリクトが発生した場合は中断してユーザーに報告する
4. 作業ブランチの削除
git branch -d <branch>
5. worktree のクリーンアップ
git worktree list
- `<branch>` に紐づく worktree がある場合のみ以下を実行:
git worktree remove <worktree-path>
- worktree ディレクトリが残っている場合は手動削除が必要な旨を通知する
6. 完了報告
最終状態を表示する:
git log --oneline -5 git branch git worktree list
CC Pocket is a mobile and desktop app for controlling Codex and Claude coding-agent sessions.
Other skills on ccpocket.
- /codex-guide
Codex の使い方、CLI/app/IDE、rules・hooks・AGENTS.md・skills・subagents・config などを案内する。Codex や OpenAI 製品の仕様を答える前に必ず公式ドキュメントを確認し、rules/approval は `codex execpolicy check` で実検証すること。
Open skill - /flutter-ui-design
Flutter UI実装のアーキテクチャ規約・コンポーネント分割・状態管理ガイド(Bloc/Cubit版)
Open skill - /flutter-upgrade
Flutter SDKバージョンアップグレード対応。新バージョンのリリースノート・Breaking Changes調査、コードベース影響分析、mise/CI/Shorebird含むプロジェクト全体の対応タスクリスト作成と実行。「Flutterアップグレード」「Flutter X.Y.Zがリリースされた」「Flutter最新化」「Flutter更新」と言われたとき、またはFlutterの新バージョンについて言及されたときに使用する。
Open skill - /mobile-automation
MCP (dart-mcp + Marionette) を使ったFlutterアプリのE2E自動化・UI検証ガイド。シミュレーターでのUI動作確認、モックプレビュー検証、Bridge経由のE2Eテスト、スクリーンショット撮影など、アプリの動作検証が必要なときに使う。「動作確認して」「UIを検証して」「E2Eテスト」「シミュレーターで確認」「モックで確認」と言われたときや、UI変更後の検証フェーズで使用すること。
Open skill - /playwright-cli
Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.
Open skill - /release-app
アプリのリリース(バージョンbump + CHANGELOG + タグ → GH Actions で自動ビルド・配布)。iOS / Android / macOS / Linux / Windows の任意の組み合わせでリリースできる。「リリース」「バージョン上げて」「リリースして」と言われたときに使う。
Open skill

