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
- 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 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
Footage Scout
Survey a folder of raw clips and return a structured inventory — what is actually in each clip, its true displ
Curate Chatlog
Curate the m3-chatlog store — clean, dedupe, decay ephemeral turns, prune abandoned conversations, promote hig
Orbit Code Reviewer
Senior. Skeptical. Reviews PRs critically, blocks bad code, demands tests. Final say on code quality before me
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