branch-cleanup
gitbranchcleanupautomation워크스페이스 루트 아래 git 프로젝트들을 자동으로 탐색하고, 각 프로젝트에서 메인 브랜치 또는 장기 피처 브랜치에 머지된 로컬 브랜치를 찾아 일괄 삭제한다. 삭제 전 프로젝트별 리포트를 출력하고 사용자 확인을 받는다. `git branch -d`(안전 삭제)만 사용하며 리모트는 절대 건드리지 않는다. squash merge된 브랜치(리모트 gone + main 미머지) 감지, ahead 브랜치 자동 보호, 프로젝트별 병렬 실행을 지원한다.
설치
npx — 에이전트에 바로 설치
npx skills add astamvalley/claude-foundation --skill branch-cleanup -a claude-codecurl — 파일만 다운로드
curl -O https://raw.githubusercontent.com/astamvalley/claude-foundation/main/skills/branch-cleanup/SKILL.md