naming-conventions
Skill23 starsChanged 58 days agoMITView on GitHub
Descriptive, self-documenting naming in any language (TypeScript, bash, workflow YAML, Dockerfiles). Use this skill whenever naming or renaming an identifier, variable, constant, function, parameter, env var, workflow job, or Dockerfile ARG/ENV, or reviewing names for vagueness, abbreviations, or redundant type noise.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- 1pedroosilva/databricks-genie-skillstheir own version, first seen Oct 2, 2026
- abhinaykrupa/claude-skillstheir own version, first seen Aug 6, 2026
- zakariaf/Flutter-Skillstheir own version, first seen Jul 21, 2026
- MystenLabs/skillstheir own version, first seen Jul 13, 2026
- geril07/skillstheir own version, first seen May 1, 2026
- VersoXBT/claude-initial-setuptheir own version, first seen Mar 9, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- zakariaf/Flutter-Skills★ 52same name
- MystenLabs/skills★ 19same name
- VersoXBT/claude-initial-setup★ 4same name
- 1pedroosilva/databricks-genie-skills★ 0same name
- abhinaykrupa/claude-skills★ 0same name
- geril07/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- frontend/CLAUDE.mdCLAUDE.md
- file-tech-debtSkill
- gaia-handoffSkill
- gaia-pickupSkill
- gaia-wikiSkill
- release-notesSkill
- tddSkill
- update-depsSkill
- update-gaiaSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Follow Apple's Swift API Design Guidelines: names should be clear at the point of use, reading like prose.
- Very specific: line 24
Read references/examples.md for extended BAD/GOOD examples of each naming pattern.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Naming Conventions
Follow Apple's Swift API Design Guidelines: names should be clear at the point of use, reading like prose. Favor long, descriptive names over short or abbreviated ones. Code should be readable without consulting documentation.
- Functions and methods: imperative verb phrases:
calculateProgressPercentageFromCompletedSets,processUserOnboardingProfile - Parameters: role, not type:
totalSecondsnotn,emailAddressnots - Variables: what they hold:
restDurationInSeconds,submitButton,weightInputValue - No abbreviations: owned by
.claude/rules/no-abbreviations.md - No redundant words:
availableExercisesnotexerciseArray, but don't sacrifice clarity for brevity
Casing is each language's own convention; for TypeScript, see the typescript skill.
Exception, React event handlers follow
handle{Action}{Element}from the react-code skill (e.g.handleClickSave,handleChangeInput), the{Element}is required, since a barehandleClickorhandleChangetripsreact-doctor/no-generic-handler-names. The descriptive naming guidelines above apply to utilities, hooks, callbacks, and non-event-handler functions.
Read references/examples.md for extended BAD/GOOD examples of each naming pattern.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

