Agent skill
merge
ブランチをメインにマージしてお掃除する
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/merge-k9i-0-ccpocket
SKILL.md
ブランチマージ & クリーンアップ
作業ブランチを 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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
riot-games
Manage Riot Games account, track stats across League, Valorant, and more
parcel
Provides comprehensive guidance for Parcel bundler including zero-configuration setup, asset handling, hot module replacement, and production builds. Use when the user asks about Parcel, needs to set up a build tool quickly, or work with Parcel's automatic configuration.
bbs
Manage issues with The Fold's CAS-native BBS (Bulletin Board System). Use for creating, updating, searching, and tracking issues. Invoke when the user wants to create tickets, find work, check issue status, or manage dependencies.
jito-bundles-and-priority-fees
Master Jito bundles for MEV protection and priority fee optimization on Solana - bundle submission, tip strategies, and transaction landing. Use for trading bots, high-priority transactions, and MEV-aware applications.
observability-monitoring-monitor-setup
You are a monitoring and observability expert specializing in implementing comprehensive monitoring solutions. Set up metrics collection, distributed tracing, log aggregation, and create insightful da
makefile-review
Didn't find tool you were looking for?