Meaningful Names

Use intention-revealing names that explain what a variable holds or what a function does Use when enforcing code quality standards. Quality category skill.

majiayu000 e41b600 2 files · 977 B Updated 567 repo stars

File contents

Meaningful Names

Use intention-revealing names that explain what a variable holds or what a function does. Avoid single-letter variables (except loop counters), abbreviations, and cryptic names. Function names should be verbs or verb phrases (getUserById, calculateTax). Class names should be nouns. The name length should be proportional to its scope—broader scope requires more descriptive names.

majiayu000/claude-skill-registry-data/tree/main/quality/meaningful-names commit e41b60076e

Frequently asked questions

npx skillmds add majiayu000/meaningful-names