dot_claude/skills/git-clean/SKILL.md
Clean up local branches marked as [gone] and their associated worktrees
npx skillsauth add letstakeawalk/dotfiles git-cleanInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
git branch -vgit worktree listClean up local branches that have been deleted from the remote (marked [gone]).
[gone]git worktree remove --forcegit branch -Ddevelopment
Analyze test coverage gaps — untested public APIs, missing edge cases, uncovered error paths. Spawns the test-analyzer agent.
tools
--- name: review description: "Code review — detects language and spawns the appropriate reviewer agent. Works with diffs, staged changes, files, or directories." allowed-tools: Read, Glob, Grep, Edit, Write, Bash(git diff:*), Bash(git log:*), Bash(git status:*), Bash(git branch:*) argument-hint: [file/dir|staged|lang] [security|performance|idioms|bugs|tests] [--fix] [--deep] --- ## Context - Branch: !`git branch --show-current` - Changed files: !`git diff --name-only HEAD` - Diff stats: !`git
testing
This skill should be used when the user says 'remember this', 'save this for later', 'note this down', 'always do X', 'never do Y', or wants to persist a decision or preference across sessions.
tools
--- name: refactor description: "Identify and apply refactoring opportunities — supports full analysis, cleanup, simplify, structure, naming, and DRY focus modes." allowed-tools: Read, Glob, Grep, Edit, Write, Bash(git diff:*), Bash(git branch:*) argument-hint: [file/dir|staged] [full|cleanup|simplify|structure|naming|dry] --- ## Context - Branch: !`git branch --show-current` - Changed files: !`git diff --name-only HEAD` - Diff stats: !`git diff --stat HEAD` ## Task Analyze code for refactori