From rp1-dev
Removes unnecessary comments from git-scoped code files: branch changes since main, unstaged files, or commit ranges like HEAD~5..HEAD.
npx claudepluginhub rp1-run/rp1This skill uses the workspace's default tool permissions.
Spawns the comment-cleaner agent for surgical comment cleanup.
Removes unnecessary comments from code using git-scoped file detection: branch changes from base, unstaged files, or commit ranges. Use for refactoring and pre-commit cleanup.
Removes AI-generated code slop from current branch by checking git diff against main, targeting extra comments, abnormal defensive checks, try/catch blocks, and style inconsistencies. Summarizes changes.
Removes AI-generated code slop like unnecessary comments, boilerplate, over-engineering, and defensive code from git branch diffs. Use before committing to simplify and clean.
Share bugs, ideas, or general feedback.
Spawns the comment-cleaner agent for surgical comment cleanup.
Extract these parameters from the user's input:
| Parameter | Required | Default | Description |
|---|---|---|---|
SCOPE | No | branch | Scope of files to clean. Options: branch (files changed since diverging from base branch), unstaged (only unstaged files), or a git commit range (e.g., HEAD~5..HEAD, abc123..def456) |
BASE_BRANCH | No | main | Base branch for branch scope comparison |
Scope Options:
branch (default): Files changed since diverging from base branchunstaged: Only unstaged files (pre-commit use case)<commit-range>: Any valid git commit range (e.g., HEAD~5..HEAD, abc123..def456){% dispatch_agent "rp1-dev:comment-cleaner", "SCOPE: {SCOPE}, BASE_BRANCH: {BASE_BRANCH}" %}