Descriptive Not Abbreviated Names
Identifier length follows information content. Use whole words that describe the role of the binding.…
$ prime install @web-style/rule-descriptive-not-abbreviated-names Projection
Always in _index.xml · the agent never has to ask for this.
DescriptiveNotAbbreviatedNames [rule] v0.1.0
Identifier length follows information content. Use whole words that describe the role of the binding. Reserve single-letter names for canonical mathematical loop indices (i, j) or for ubiquitous higher-order callbacks ((x) => x.id). Avoid hand-rolled abbreviations — they save typing once and cost reading every time after.
Loaded when retrieval picks the atom as adjacent / supporting.
DescriptiveNotAbbreviatedNames [rule] v0.1.0
Identifier length follows information content. Use whole words that describe the role of the binding. Reserve single-letter names for canonical mathematical loop indices (i, j) or for ubiquitous higher-order callbacks ((x) => x.id). Avoid hand-rolled abbreviations — they save typing once and cost reading every time after.
Checks
- No single-letter names except canonical loop indices and tiny lambdas.
- Avoid hand-rolled abbreviations (
usrLst,qryRslt,cb,fn); spelluserList,queryResult,callback,function. - Use only abbreviations the entire industry already shares (
url,id,db,ms,xml,json,http). - Boolean names are predicates:
isActive,hasPermission,canEdit,shouldRetry— notactive,permission,edit,retry.
Label
Names describe intent in full words; do not abbreviate beyond convention
Loaded when retrieval picks the atom as a focal / direct hit.
DescriptiveNotAbbreviatedNames [rule] v0.1.0
Identifier length follows information content. Use whole words that describe the role of the binding. Reserve single-letter names for canonical mathematical loop indices (i, j) or for ubiquitous higher-order callbacks ((x) => x.id). Avoid hand-rolled abbreviations — they save typing once and cost reading every time after.
Checks
- No single-letter names except canonical loop indices and tiny lambdas.
- Avoid hand-rolled abbreviations (
usrLst,qryRslt,cb,fn); spelluserList,queryResult,callback,function. - Use only abbreviations the entire industry already shares (
url,id,db,ms,xml,json,http). - Boolean names are predicates:
isActive,hasPermission,canEdit,shouldRetry— notactive,permission,edit,retry.
Label
Names describe intent in full words; do not abbreviate beyond convention
Label
Names describe intent in full words; do not abbreviate beyond convention
Source
prime-system/examples/web-style/primes/compiled/@web-style/rule-descriptive-not-abbreviated-names/atom.yaml