Expressive Code

Guidance for making source code self-documenting and deciding when comments are appropriate. Covers naming principles for classes, functions, variables, and constants; cases where syntax needs supporting explanation; language-specific documentation styles; and common comment anti-patterns. Use when choosing or reviewing names, documenting complex behavior or contracts, or adding, editing, reviewing, or removing comments. Trigger phrases: "naming principles", "naming conventions", "name this", "rename this", "class name", "function name", "variable name", "constant name", "magic constant", "self-documenting code", "comment style", "add a comment", "write comments", "comment guidelines", "document this", "too many comments", "remove comment", "JSDoc", "Doxygen".

software-mansion 03c1045 2 files · 5.3 KB Updated

File contents

software-mansion/react-native-audio-api/tree/main/.claude/skills/expressive-code commit 03c1045aff

Frequently asked questions

npx skillmds@latest add software-mansion/expressive-code