naming
Name code, files, routes and commits the same way everywhere, screens in the reader's language, and rename without collisions. Use when naming or renaming.
Target: Software development & testing. Automatically collected · unverified.
Excerpt from the author’s documentation
Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.
Read the original English text
Topics in the source
- Names and language
- The boundary is who reads it
- Casing
- Records are addressed by their stable id
- Commits
- Before a bulk rename
Identifiers, file names, routes, comments and commit messages are in English: their readers are developers and tools. Everything a person reads on screen, in an e-mail or in a notification is in that person's language. The line is the audience, not "string or not string". Renaming by search-and-replace cannot see that line. Replacing search across a codebase once turned aria-label="Limpar busca" into aria-label="Limpar search". After any rename, search for mixed-language phrases in user-facing text. | Kind | Style | Example | |---|---|---| | Variable, function, JSON field | camelCase | userId, loadPosts() | | Class, component | PascalCase | PostEditor | | Module constant | SCREAMINGSNAKE | MAXRETRIES | | File | kebab-case | post-editor.js | | Route segment | kebab-case, English | /posts/{id}/edit | Id, never ID: userId, getById. Booleans ask a yes/no question and are affirmative: isOpen, hasAccess, canEdit, shouldRetry. Never notReady or disabled as a boolean name. Routes, API paths, webhooks and public links use the record's UUID: /posts/0b5c…/edit, never /post/12. A per-account counter is a display label. A slug the customer chooses is fine for public pages. Conventional Commits:
This is an excerpt. Refer to the complete source and its current requirements.
- Source repository
- ciro-maciel/ccm-stack
- Source file
- skills/naming/SKILL.md
- Fixed revision
- 6a6896522126857f460a3e3747bc0ec5607a8fea
Sources and evidence
This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.
Author: ciro-maciel/ccm-stack · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T22:01:44.585Z.
Categories are inferred from names, descriptions and paths. They do not establish compatibility.
License and attribution
MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.
Original license ↗Synchronization, copying and user-reported success do not mark a resource as runtime-tested.
Limitations and notes
- Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.