zieka

Clean Comments — Git skill for Claude Code

Git community

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

Terminal
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 Repository