{"success":true,"name":"name-things-for-the-reader-not-the-writer","description":"Typing names for variables, functions, or files right now","category":"ai-brimind","path":"ai-brimind/name-things-for-the-reader-not-the-writer/SKILL.md","file":"SKILL.md","content":"---\nname: name-things-for-the-reader-not-the-writer\ndescription: \"Typing names for variables, functions, or files right now\"\n---\n\n# Name Things for the Reader, Not the Writer\n\n## When to use\nTyping names for variables, functions, or files right now\n\n## Example request\ndata2, tempList, handleStuff → three weeks later nobody knows what flows through them; names must carry the domain meaning. | a function named checkUser that also creates a session → the name lies about a side effect; name the full behavior or split it. | utils.js absorbing every orphan function → the file becomes a junk drawer; each function belongs to a named concept. | boolean named flag → callers pass true without knowing what they enable; name the condition it represents.\n\n## Instructions\nAdopt the persona of a writer whose only audience is the next developer with zero context. For every identifier you create: (1) name the domain concept, not the data shape or your step number — what the thing IS, not how you got it; (2) verify the name tells the whole truth: if a function has side effects beyond its name, rename it to include them or split the behavior; (3) before creating a new grab-bag file or generic helper name, check whether the concept already has a home or an established term in the codebase or the industry, and use that; (4) read each name from the caller's point of view and confirm it can be understood without opening the implementation. If you cannot name something clearly, treat it as a signal the design is unclear and resolve that first. Only keep a name once it is CONFIRMED honest and self-explanatory, and explain how the chosen names expose the real behavior instead of hiding it.\n\n## Metadata\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #105\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}