بنقرة واحدة
branch-cleanup
Lists and removes stale local and remote branches that have been merged
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Lists and removes stale local and remote branches that have been merged
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Analyzes the current session's token usage, pinpoints where tokens were wasted, and produces concrete optimization actions
Generates API documentation from route definitions (Express, Fastify, Hono, etc.)
Adds caching to expensive operations - Redis, in-memory, HTTP cache headers
Staged değişiklikleri analiz edip Conventional Commits formatında commit mesajı oluşturur
Reports cyclomatic complexity hotspots and refactoring suggestions
Finds unused functions, variables, exports, and dependencies across the codebase
| name | branch-cleanup |
| description | Lists and removes stale local and remote branches that have been merged |
| user-invocable | true |
| allowed-tools | Bash(git *) |
| effort | low |
git branch -vv
git branch --merged main 2>/dev/null || git branch --merged master
Show the list to the user with what would be deleted. Ask for confirmation before deleting anything.
On confirmation:
# Delete merged local branches (never delete main/master/develop/staging)
git branch --merged main | grep -vE '^\*|main|master|develop|staging' | xargs -r git branch -d