Loading...
Loading...
Flag comments that merely restate the code instead of explaining why, and remove only those the user approves. Use when asked to remove dumb, redundant, or obvious comments, clean up comments, or invoke `/remove-dumb-comments [<number>|all]`.
npx skill4agent add lukeberrypi/skills remove-dumb-comments| Command | Behavior |
|---|---|
| Find the 10 lowest-value comments. |
| Find that many lowest-value comments. |
| Find every low-value comment. |
git blameRemoveRemoveKeepgit blame -L <line>,<line> --date=relative -- <file>uncommitted| 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*Remove.**Keep.*Remove all recommended?
- Yes, remove all recommended
- No, I want to review each comment