docs: add CLAUDE.md code style notes

This commit is contained in:
Mauricio Siu 2026-08-27 01:15:17 -06:00
parent 63efbffcfd
commit 4710c28db5

6
CLAUDE.md Normal file
View File

@ -0,0 +1,6 @@
## Code style
- Don't write comments that restate what the code already says.
- Comment only the "why" when something isn't obvious: workarounds,
counterintuitive decisions, constraints from an external API.
- No section-divider comments like `// --- Helpers ---`.
- Don't leave comments describing the change you just made.