documenting-code-comments

Installation
SKILL.md

Code Comments

Core principle: The best comment is the one you didn't need to write.

Hierarchy

  1. Make code self-documenting (naming, structure)
  2. Use type systems for contracts
  3. Add comments only for WHY, never WHAT

When NOT to Comment

Avoid Why
// Get the user's name Restates code
@param {string} email Types already document
Stale comments Misleading > missing

When TO Comment

Related skills
Installs
7
GitHub Stars
118
First Seen
Feb 12, 2026