Naming

From Esposter/Esposter · View interactive version

Naming is an AI agent skill from the GitHub repository Esposter/Esposter. Apply when naming any identifier. Esposter's naming conventions for every name we author, and the boundary where a name a dependency owns stops them. Framework-specific naming lives in the vue, pinia and trpc skills.

How to use this skill

Skill file

Naming Conventions

Every rule here governs a name we author. A name a dependency reads or writes is its own — that boundary,

and the shapes it takes, is references/names-a-dependency-owns.md.

A sibling takes the identifier word, never the prose one — grep the concept's existing type, guard and constant and match them exactly (references/concept-words.md).

Settled — do not re-propose

| Read when | Page |

| ----------------------------------------------------------------------------------------- | --------------------------------------- |

| Two boolean spellings both look right — a predicate vs a flag, isPending vs isLoading | references/boolean-families.md |

| Two prefixes both look right — derivation vs fetch, setter vs push, on vs handle | references/verb-families.md |

| Joining more than one id into one string — a key, a :key, a blob name | references/composite-keys.md |

| Writing a duration, a date, or a literal big enough to miscount | references/numbers-and-time.md |

| A module-scope binding could be SCREAMING_SNAKE_CASE or PascalCase, or need no name | references/constant-casing.md |

| A name could be shortened, or a compound holds a word the denylist cannot see | references/abbreviations.md |

| A set member's value comes from outside — a wire string, a library's enum, a notation | references/value-set-members.md |

| Naming something that mirrors a library — its option, key, method or wire value | references/names-a-dependency-owns.md |

| A concept has a prose word and an identifier word, and a sibling needs naming | references/concept-words.md |

| Naming a map, a record, or a function that looks one up | references/map-names.md |

| A named function's result is about to be nested into the next call | references/named-intermediates.md |

| Naming the session user's id, or a read scoped to the caller | references/session-user.md |

| Naming a local editable copy of a prop or store field | references/edited-copies.md |

| A parameter or a loop binding nothing reads | references/unused-bindings.md |

| Naming a file, or renaming its export | references/file-names.md |

| Setting a boolean environment variable the repo owns | references/env-values.md |

| Choosing a scheme, env var, registry key, app-data folder or title other programs share | references/shared-namespaces.md |

| Naming a panel's subsections, or a list whose labels are also its ids | references/section-value-sets.md |

Booleans

Functions

Variables

Environment Variables

Import Aliases

TypeScript & Interfaces

Constants

Framework-Specific Naming

Framework naming lives with its framework: Vue (props interface, modelValue, template refs, prop shorthand) is the vue skill's; store variables the pinia skill's; procedures, subscriptions and DB result variables the trpc skill's.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.