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

  • Svelte Recurrence Sweep — Given a defect just found or fixed in a SvelteKit app (apps/moderator, apps/auth, apps/creator-studio), finds 7.2k ★
  • Correction Sweep — Find every note restating a corrected fact and classify each as authoritative, restatement, or historical 4.6k ★
  • Better Auth Expert — Use this agent when:\n\n1. After Better Auth Implementation Changes: Any time authentication-related code is m 434 ★

Full documentation available on GitHub

View Source Repository