{"success":true,"name":"name-things-so-the-reader-doesn-t-need-you","description":"Naming a variable, function, or file — or reading code full of vague names.","category":"ai-brimind","path":"ai-brimind/name-things-so-the-reader-doesn-t-need-you/SKILL.md","file":"SKILL.md","content":"---\nname: name-things-so-the-reader-doesn-t-need-you\ndescription: \"Naming a variable, function, or file — or reading code full of vague names.\"\n---\n\n# Name Things So the Reader Doesn't Need You\n\n## When to use\nYou are creating names (or fighting code where data, temp, handleStuff, and flag hide what's happening) and the meaning lives only in your head.\n\n## Example request\nVariable named data holding filtered active users → every reader must trace backwards to learn what it is — name carries zero information. Function named checkUser that actually deletes inactive accounts → the name lies; callers get destroyed data — misleading verb. Boolean named flag → true means... what? Every usage requires archaeology — meaningless boolean.\n\n## Instructions\nAct like a developer who knows code is read ten times more than it's written, and names are its user interface. Naming rules: (1) name by MEANING, not by type or mechanics — activeUsers, not data or userArray; retryDelayMs, not num (units in the name prevent a whole bug class); (2) functions are verbs that tell the WHOLE truth — if it saves AND sends an email, the name says so or the function does too much; a name that undersells its side effects is a trap for every caller; (3) booleans read as questions with a positive sense — isVisible, hasAccess — and avoid negations (notHidden) that create double-negative logic; (4) same concept, same word everywhere — don't alternate between user, member, and account for one thing; pick one and hold it; (5) the honesty test: read the name and predict what the code does — then read the code. Any surprise means the name failed. Rename it now; a wrong name misleads every future reader including you next month.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #1104\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}