/lukeberry-skills:remove-dumb-commentsfrom lukeberry-skills
Finds and removes comments that merely restate the code instead of explaining why. Ranks candidates by redundancy, respects git blame age, and preserves comments with rationale.
Ships in lukeberry-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Flag comments that say what the code already says; keep every comment that explains why. The user chooses which flagged comments to remove.
| Command | Behavior |
|---|---|
/remove-dumb-comments | Find the 10 lowest-value comments. |
/remove-dumb-comments <number> | Find that many lowest-value comments. |
/remove-dumb-comments all | Find every low-value comment. |
Keep any comment that carries a why the code cannot convey:
When unsure, keep it. Flag only pure restatements.
git blame (see Comment Age).Remove item as approved. If no, ask Remove or Keep for each, naming it by its exact text, not its location.Delegate the read-only search to a fast, low-reasoning subagent when one is available: request at most the limit, each with exact path, line, comment text, and one to three adjacent code lines. Otherwise search directly.
For each candidate, run:
git blame -L <line>,<line> --date=relative -- <file>
Use the relative date; mark uncommitted lines uncommitted.
Use exactly these columns:
| Comment | Age | Why |
|---------|-----|-----|
| `// increment the counter` | 8 months ago | *Remove.* Restates `count++` verbatim. |
| `/** Returns the user id. */` | 3 weeks ago | *Remove.* Describes the function word by word. |
| `// debounce avoids hammering the API on each keypress` | 1 year ago | *Keep.* Explains intent, not mechanics. |
git blame age.*Remove.* or *Keep.*, then give one short reason.After presenting the table, ask:
Remove all recommended?
- Yes, remove all recommended
- No, I want to review each comment
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (lukeberrypi/skills) — no native marketplace selected
npx claudepluginhub p/lukeberrypi-lukeberry-skills5 skills in this plugin
/a11y-maxxingAudit or remediate web accessibility barriers, optimizing accessible task completion against a WCAG 2.2 AA floor./dissect-and-interviewDissect a codebase and run a 10-question mock technical interview on it, rating each answer 1-10 and closing with a PASS or FAIL verdict./mega-brain-com-copy-thiefgostaria que você agora usasse a força total do mega brain com.... o cop thief. que está acionado no sistema. ele precisa investigar mais… termos inteligentes e o que está acontecendo agora, na atualidade do mercado para que esse vídeo tenha tantos acessos e visualizações quanto o primeiro vídeo. o antigo. ele precisa ser uma versão reformulada e eu gostaria que você ajustasse somente aquilo que achar necessário para… se conectar ao contexto inicial que eu colei no começo da conversa. precisamos de um vídeo inteligente. didático, profundo na voz do tiago finch, porém voltado para empresários./prune-dead-codeAudit a codebase for dead and otherwise safe-to-remove code, and report each finding for approval. Use when asked to find dead or unused code, deduplicate repeated constants, replace magic literals that duplicate a named constant, or remove arbitrary caps, thresholds, or timeouts.Other plugins' skills for the same job