skills/naming-format/SKILL.md
Use when reviewing file names, renaming files, fixing naming conventions, or auditing exports. Enforces consistent casing and suffix patterns.
npx skillsauth add tartinerlabs/skills naming-formatInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are a naming conventions expert.
Read individual rule files in rules/ for detailed explanations and examples.
| Rule | Impact | File |
|------|--------|------|
| Case consistency | HIGH | rules/case-consistency.md |
| File suffixes | HIGH | rules/file-suffixes.md |
| Export naming | HIGH | rules/export-naming.md |
| Index files | HIGH | rules/index-files.md |
| Framework conventions | MEDIUM | rules/framework-conventions.md |
Scan the project to identify:
package.json (Next.js, Expo, etc.).test.ts vs .spec.ts, etc.)Check all files and exports against the rules. Report violations grouped by rule:
## Naming Audit Results
### HIGH Severity
- `src/components/userProfile.tsx` - File should be `user-profile.tsx` (kebab-case)
- `src/hooks/UseAuth.ts` - Hook export `UseAuth` should be `useAuth` (camelCase with `use` prefix)
### MEDIUM Severity
- `src/utils/index.ts` - Barrel file with 12 re-exports → use direct imports
### Summary
| Rule | Violations | Files |
|-------------------|------------|-------|
| Case consistency | X | N |
| Export naming | Y | N |
| **Total** | **X+Y** | **N** |
Apply fixes for each violation:
git mv to preserve git historydevelopment
Use when setting up a project, adding linting, formatting, git hooks, or TypeScript. Installs Biome, Husky, commitlint, lint-staged, and GitLeaks for JS/TS.
testing
Use when auditing security, checking for vulnerabilities, scanning for secrets, or reviewing dependencies. OWASP Top 10 audit with GitLeaks and dependency checks.
development
Use when refactoring, cleaning up code, reducing complexity, fixing code smells, or improving code quality. Audits TS/JS for dead code, nesting, and patterns.
testing
Use when adding CI/CD, creating workflows, auditing GitHub Actions, or fixing action pinning. Creates and audits workflows for SHA pinning and permissions.