paniolo-naming-best-practices
Installation
SKILL.md
Requires: file-read, terminal (linting/testing). No network access needed.
Reference: naming — code examples for use* vs compute*, type/variable/component naming, file naming table, and success criteria.
Use When
Use this skill when:
- Naming new files, functions, hooks, types, or variables.
- Renaming symbols during refactors for clarity and convention compliance.
Execution workflow:
- Choose names based on behavioral intent (fetch, compute, subscribe, run, etc.).
- Ensure hook names (
use*) only apply when React hooks are called internally. - Keep file and symbol names aligned with nearby project patterns.
- Recheck references/imports after renames and validate with
npm run lint.