Install

antislop-code

Code Comment Hygiene: deletes 11 noisy AI comment patterns while preserving non-obvious engineering explanations and untouched code.

antislop-code modifies comments only. Executable code, identifiers, imports, formatting, control flow, and logic stay untouched.

Eleven AI comment tells removed

  • Comments that add nothing. Strips decorative banner separators, restatements of obvious code, step-by-step workflow narration, empty labels, vague TODOs, signature-echo JSDoc, decorative emojis, and closing end markers.
  • Over-explained and stiff comments. Trims multi-line essay chains down to a one-line constraint and rewrites robotic uppercase headers in plain English.

Not a Ban (8 comment types strictly preserved)

The skill explicitly forbids deleting valuable engineering comments that capture:

  • Business logic & product intent, architectural decisions, security considerations, performance trade-offs, concurrency behavior, protocol details, API contracts, non-obvious workarounds (e.g. // Retries only on 5xx responses), plus legal/SPDX license headers.