{"success":true,"name":"give-names-the-next-person-can-understand","description":"Choosing names for variables, functions, or files right now","category":"ai-brimind","path":"ai-brimind/give-names-the-next-person-can-understand/SKILL.md","file":"SKILL.md","content":"---\nname: give-names-the-next-person-can-understand\ndescription: \"Choosing names for variables, functions, or files right now\"\n---\n\n# Give Names the Next Person Can Understand\n\n## When to use\nChoosing names for variables, functions, or files right now\n\n## Example request\ndata2, tempList, handleStuff → three weeks later nobody (including you) knows what is inside them; the name should say what the thing means in the app, like unpaidInvoices. | a function called checkUser that also creates a session → the name hides part of what it does; rename it (checkUserAndCreateSession) or split it into two functions. | a utils.js file that collects every leftover function → it becomes a messy drawer nobody dares to open; each function should live in a file named after its topic. | a boolean called flag → people pass true without knowing what they are turning on; name the real condition, like isEmailVerified.\n\n## Instructions\nAct like a writer whose only reader is the next developer, who knows nothing about what you were thinking. For every name you create: (1) name what the thing IS in the app (unpaidInvoices, activeMembers), not the step you used to get it (result, data2, temp); (2) check the name tells the whole truth — if a function does something extra the name does not mention, rename it to include that, or split it into two functions; (3) before creating a generic file like utils or helpers, check if the project already has a proper home for this idea, and use the word the project or the industry already uses for it; (4) reread each name as if you were the caller and confirm you can understand it without opening the code behind it. If you cannot find a clear name for something, take it as a warning that the idea itself is confused, and clarify the idea first. Only keep a name once you are sure it is honest and clear on its own, and explain how your names show what the code really does instead of hiding it.\n\n## Metadata\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #108\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}