Commenting Code

Writes and reviews code comments that preserve non-obvious intent, contracts, invariants, and failure semantics without narrating the code. Uses clear layer placement (interface, implementation, cross-module) and lightweight review checks to keep comments accurate over time. Use when adding or reviewing inline comments, docstrings, API docs, or design notes for behavior that could be misunderstood.

msewell 5b8e4c3 3.3 KB Updated

File contents

msewell/agent-stuff/tree/main/skills/commenting-code commit 5b8e4c37e6

Frequently asked questions

npx skillmds@latest add msewell/commenting-code