Agent Plugins Marketplace
← All plugins

worktree-branch-cleanup

v0.2.0

マージ完了後に不要になった git worktree・ローカルブランチ・追跡の残骸を、未マージ分を残したまま安全に削除する。squash マージで git branch -d が使えないリポジトリにも対応する。

Claude Code1 Skill

By h-yamaguchi0 GitHub starsUpdated 2 hours ago

Directory evidence

Runtimes
Claude Code
Parsed components
1 skill or MCP entry
Source updated
Sep 29, 2026
Manifest status
Canonical path parsed

The directory validates manifest shape and source location. It does not execute the plugin or provide a security endorsement. Review the indexing methodology →

Install worktree-branch-cleanup for Claude Code

Installs for the current user
claude plugin marketplace add IchenDEV/agent-plugin-mkt
claude plugin marketplace update agent-plugin-marketplace
claude plugin install worktree-branch-cleanup@agent-plugin-marketplace

Paste and run these commands in a terminal with Claude Code. They add and refresh the PluginsMP catalog, then install this plugin.

The installer fetches third-party code from the source repository shown on this page. This directory validates manifest structure and source location, but does not perform a security audit; review the manifest, components, and source before installing.

Get the source manually
git clone https://github.com/h-yamaguchi-useeng/original-claude-plugins

Clone the source repository, then follow its setup instructions to add the plugin to a compatible client. The plugin root is worktree-branch-cleanup/.

Plugin files

worktree-branch-cleanup/
├── .claude-plugin/plugin.json
└── skills/worktree-branch-cleanup/SKILL.md

Included Skills1

worktree-branch-cleanupskills/worktree-branch-cleanup/SKILL.md

マージ完了後に不要になった作業環境(git worktree・ローカルブランチ・リモート追跡の残骸)を安全に削除するスキル。「後片付け」「作業環境を削除して」「worktree を消して」「マージ済みブランチを掃除」「セッション終了前の整理」「不要になったブランチを削除」などの指示で使用する。squash マージで git branch -d が使えないリポジトリでも、既定ブランチとのツリー一致で削除可否を判定する。

Plugin manifests1

worktree-branch-cleanup/.claude-plugin/plugin.json
{
  "name": "worktree-branch-cleanup",
  "version": "0.2.0",
  "description": "マージ完了後に不要になった git worktree・ローカルブランチ・追跡の残骸を、未マージ分を残したまま安全に削除する。squash マージで git branch -d が使えないリポジトリにも対応する。",
  "author": {
    "name": "h-yamaguchi",
    "email": "[email protected]"
  }
}

If you maintain this plugin, link to this source-backed listing from your README so users can review its manifest and indexed components.

[worktree-branch-cleanup on Agent Plugins Marketplace](https://pluginsmp.com/plugins/worktree-branch-cleanup)