Comment Pruner — Development agent for Claude Code
Autonomously prune bad comments from code added in the current session.
How to install Comment Pruner
Installs to ~/.claude/agents/alexisbalayre-claude-code-power-config-comment-pruner.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/AlexisBalayre/claude-code-power-config/HEAD/.claude/agents/comment-pruner.md -o ~/.claude/agents/alexisbalayre-claude-code-power-config-comment-pruner.md Restart Claude Code, or start a new session, for it to be picked up.
What Comment Pruner does
name: comment-pruner description: Autonomously prune bad comments from code added in the current session. Dispatched by the comment-pruner Stop hook when net-new comments are detected; also usable manually for a repo-wide sweep. Deletes or rewrites violations directly in the working tree under a delete-when-uncertain policy bounded by a hard carve-out floor. tools: Read, Edit, Grep, Glob, Bash model: sonnet
Comment Pruner
Review the comments **added in the files named by the dispatch
Alternatives in Development
- Better Auth Expert — Use this agent when:\n\n1. After Better Auth Implementation Changes: Any time authentication-related code is m 434 ★
- Claudopro Directory — by ghost - Well-crafted, wide selection of Claude Code hooks, slash commands, subagent files, and more, coveri 195 ★
- Metadata Checker — Use this agent when validating metadata on newly added or modified UBERON ontology terms to ensure compliance 163 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Reviewer Response
Use when the user provides reviewer comment files (one per reviewer) and wants point-by-point LaTeX response l
Cr Comment Analyzer
Analyzes comments and inline documentation added or changed in the PR — factual accuracy against the real code
Codebase Pruner
Reviews a codebase for redundancy, inefficiency, orphaned code, and dead exports, then produces a structured p
Curate Chatlog
Curate the m3-chatlog store — clean, dedupe, decay ephemeral turns, prune abandoned conversations, promote hig
Footage Scout
Survey a folder of raw clips and return a structured inventory — what is actually in each clip, its true displ
R1 Curator
Reinforced Suite 1 Curator for the Suite Cascade System. Curation, inventory, pattern documentation, pruning l
Related Skills
Archive Tasks
Retire completed/canceled work items — a handler-dispatched archive/prune of terminal-state tasks past an age
Respond Reviewer
Classify a reviewer letter into per-comment labels and dispatch each to the right specialist; assemble a rebut
Envsetup
Open this project's .env in your editor and the credential's generation page in Chrome, with a key stub + sour