Skill
Community

merged

Install
1
Install the plugin
$
npx claudepluginhub takemi-ohama/ai-plugins --plugin ndf

Want just this skill?

Then install: npx claudepluginhub u/[userId]/[slug]

Description

PRマージ後のクリーンアップを実行する(main更新、ブランチ削除)

Tool Access

This skill is limited to using the following tools:

BashRead
Skill Content

マージ後クリーンアップコマンド

PRマージ後のクリーンアップを実行。

手順

  1. 事前確認: github mcpで引数の(引数が無ければ自身が作成した最新の)PRがmainにmergeされていることを確認。mergeされていなければ終了
  2. 事前確認: git status→変更あればstash
  3. main更新: git checkout maingit pull
  4. ブランチ削除: git branch -d <feature-branch> → stash復元

注意: 冪等性保証・エラー時中断・削除済み無視

作業完了報告(必須)

  • 実行サマリー(PRタイトル、マージコミット、削除したブランチ、現在のブランチ)
  • mainブランチの状態
  • PR URL
Stats
Stars0
Forks0
Last CommitFeb 7, 2026

Similar Skills