pcl
OfficialCleanup stale git branches
AuthorOpenRouterTeam
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps maintain a clean Git repository by automatically identifying and removing stale local and remote branches that are no longer associated with open pull requests, and also prunes unused worktrees.
Core Features & Use Cases
- Remote Branch Cleanup: Deletes remote branches that have no corresponding open PR.
- Local Branch Cleanup: Deletes local branches that are either merged into main or have no remote counterpart.
- Worktree Pruning: Removes stale Git worktrees.
- Dry Run Mode: Allows previewing deletions without making any changes.
- Use Case: After a feature development cycle, use this skill to automatically clean up all the branches that were merged and no longer needed, keeping the repository tidy.
Quick Start
Run the pcl skill to clean up stale git branches and worktrees.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: pcl Download link: https://github.com/OpenRouterTeam/spawn/archive/main.zip#pcl Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.