Code Comments

Decides when and how to write code comments — JSDoc/docstrings on exported symbols, module/file-level headers, and inline comments. Apply when writing or modifying functions/classes/modules; when about to add a comment; when touching code with redundant restatements, commented-out code, or stale TODOs nearby (opportunistic cleanup, change-radius only). Language-agnostic principles with concrete syntax for JS/TS, Python, and Go — extends to Rust, Java, C#, Ruby. Reviewer applies it to flag comment-quality violations during code review. Does NOT cover README/feature-doc/CLAUDE.md updates (use docs-writer), commit messages, or changelog entries.

volodymyrkoval 73f86be 10.9 KB Updated

File contents

volodymyrkoval/tdd-claude/tree/main/skills/code-comments commit 73f86beccf

Frequently asked questions

npx skillmds@latest add volodymyrkoval/code-comments