Clean Comments — Git skill for Claude Code
Clean up code comments in PR or staged changes.
How to install Clean Comments
Installs to ~/.claude/commands/zieka-cpm-public-registry-clean-comments.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/zieka/cpm-public-registry/HEAD/.claude/commands/clean-comments.md -o ~/.claude/commands/zieka-cpm-public-registry-clean-comments.md Restart Claude Code, or start a new session, for it to be picked up.
What Clean Comments does
name: clean-comments description: Clean up code comments in PR or staged changes args: none
Clean Comments
Clean up all comments made in this PR. If there is no PR look at the staged changes and potentially the last commit. Ask for clarification if not obvious.
Comment Guidelines
- We like docblocks on components stating the initial intention and assumptions made. We dont care for @param and @return annotations
- We like inline comments that are very short giving vital reasoning
Alternatives in Git
- Address PR Comments 71.9k ★
- Fix PR — by metabase - Fetches and fixes unresolved PR comments by automatically retrieving feedback, addressing review 46.5k ★
- Clean Worktrees (Automatic) — Automatically remove all worktrees for branches merged into master 25.5k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Check Staged
Inspect the staged changes for correctness, logic integrity, and impact relative to the last commit. Stash uns
Plan Close
Close out a finished staged-rollout .plan/ — verify completion, distill the story into a final PR body, clean
Gen Commit Msg
Generate intelligent commit messages based on staged changes. Invoke with /gen-commit-msg.
Qc
Quick commit - analyze staged changes and commit with subject + optional body using Haiku
Create PR
Review branch changes (including staged/uncommitted), generate commit message, and create PR using Claude Code
Generate PR
Review branch changes (including staged/uncommitted), generate commit message, and create PR using Claude Code
Related Agents
Repo Auditor
Repository health check agent - analyzes file sizes, detects data files, validates staged commits. Use PROACTI
Code Polisher
Polish and clean up code after implementation work. Use PROACTIVELY when you need to separate large files, cle
Documentation Maintainer
Analyzes git staged and unstaged changes to documentation files (README.md, docs/.md) to detect redundancies,