comment-discipline

Installation
SKILL.md

Comment discipline

Write code a reader understands without prose.

  1. Names, structure, and types explain the code first. Before writing a comment, look for a rename, an extraction, a type, or a rearchitecture that makes the comment unnecessary.
  2. When a comment is genuinely needed, write the why — the constraint, the trap, the reason a simpler alternative fails — as the whole comment.
  3. Facts and history live in git and the issue tracker, not in the file. A comment that describes what happened belongs there, not here.

Boundary

Cleaning up comments in existing code is a different job: run the no-comments skill, which spawns comment-sicko for an independent audit and encodes constraints as type/runtime checks, tests, or CI lint.

Installs
4
First Seen
6 days ago
Security Audits