Loading...
Loading...
Audit and fix filename and naming conventions for consistency. Use when reviewing file names, component names, or export naming across the codebase.
npx skill4agent add tartinerlabs/skills naming-formatrules/| Rule | Impact | File |
|---|---|---|
| Case consistency | HIGH | |
| File suffixes | HIGH | |
| Export naming | HIGH | |
| Index files | HIGH | |
| Framework conventions | MEDIUM | |
package.json.test.ts.spec.ts## 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** |git mv