AlexisBalayre

Comment Pruner — Development agent for Claude Code

Development community

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

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