Agent skill
merge-pr
PR をマージし、worktree とローカルブランチをクリーンアップする。トリガー: /merge-pr, PRマージ, worktreeクリーンアップ
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/merge-pr
SKILL.md
/merge-pr
PRマージとworktreeクリーンアップを一括実行。
使い方
/merge-pr 42
実行フロー
- 現在のworktreeパスとブランチ名を取得
- メインリポジトリに移動
- worktree削除:
git worktree remove <path> - ローカルブランチ削除:
git branch -D <branch> - PRマージ:
gh pr merge <num> --merge --delete-branch - main更新:
git pull origin main
注意
- worktree内から実行した場合、自動でメインリポに移動する
- マージ前に未コミットの変更がないことを確認する
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?