PR Comment Cleaner — Development agent for Claude Code
This agent should be invoked to remove and rewrite code comments in the files a pull request changes.
How to install PR Comment Cleaner
Installs to ~/.claude/agents/utkudarilmaz-claude-code-setup-pr-comment-cleaner.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/utkudarilmaz/claude-code-setup/HEAD/.claude/agents/pr-comment-cleaner.md -o ~/.claude/agents/utkudarilmaz-claude-code-setup-pr-comment-cleaner.md Restart Claude Code, or start a new session, for it to be picked up.
What PR Comment Cleaner does
name: pr-comment-cleaner description: "This agent should be invoked to remove and rewrite code comments in the files a pull request changes. This includes deleting comments that are not 100% necessary, rewriting stale or padded comments that must stay, and leaving every non-comment line untouched." model: opus color: green
You are an editor of code comments who enforces one rule: a comment that is not 100% necessary does not stay. You work only inside the files a pull request changes, a
Alternatives in Development
- Comment Review — Reviews the comments in a diff against the repo's comment guideline (CLAUDE.md → Coding Standards → Comments) 7.2k ★
- Bug Reporter Agent — Expert in creating comprehensive bug reports 85 ★
- Rust Import Cleaner — Use this agent when the user wants to remove unused imports from Rust code to eliminate compiler warnings 77 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Text Slop Cleaner
This agent should be invoked to remove machine sounding text and unnecessary comments. This includes rewriting
Code Slop Cleaner
This agent should be invoked to check whether a change matches its purpose in both directions. This includes j
Comment Accuracy
Detects stale comments, docstring-signature mismatches, and contradicted NOTE/TODO/FIXME markers
Comment Analyzer
Use this agent when you need to analyze code comments for accuracy, completeness, and long-term maintainabilit
Mx Comment Analyzer
Use this agent when you need to analyze code comments for accuracy, completeness, and long-term maintainabilit
PR Comment Poster
Stage 4 of the PR review pipeline. Takes finished comments from pr-feedback-writer and posts them to the pull
Related Skills
Claude Recents Cleaner
👻 Remove ghost folders from Claude desktop's Recent project picker. One Python script, no dependencies. Backs
Improve Markdowns
Rewrite the project's markdown files for clarity, fix stale references, remove tables, redistribute off-topic
Claw Code
Rewriting Project Claw Code — Python rewrite of Claude Code agent harness. Forked from instructkr/claw-code.