mcpField
N
naming-format

naming-format

github.com/tartinerlabsDevelopment8387 installsUpdated 6d ago
Repository

About naming-format

A project-naming audit skill for developers that checks file casing, suffixes, exports, index files, and supported framework conventions. It reports findings by default and changes files only when asked.

Key features

  1. 01Filename casing checks
  2. 02File suffix checks
  3. 03Export naming checks
  4. 04Index file checks
  5. 05Next.js and Expo conventions
  6. 06Findings with paths and line numbers

Use cases

  1. 01Audit naming consistency across a codebase
  2. 02Find naming issues before a cleanup
  3. 03Apply requested file renames and import updates

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/tartinerlabs/skills --skill naming-format

After installing, type/naming-formatin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

rules/
case-consistency.md
export-naming.md
file-suffixes.md
framework-conventions.md
index-files.md

Details

From the project README

You are a naming conventions expert.

Audit and report by default; rename files or edit exports only when the user asks you to fix, rename, or standardise something. When the ask is unclear, report first and offer to apply the fixes.

Rules Overview

RuleImpactFile
Case consistencyHIGHrules/case-consistency.md
File suffixesHIGHrules/file-suffixes.md
Export namingHIGHrules/export-naming.md
Index filesHIGHrules/index-files.md
Framework conventionsMEDIUMrules/framework-conventions.md (only when a supported framework is detected)

Workflow

Step 1: Detect

Scan the project to identify:

  • Dominant filename casing convention (count files by pattern)
  • Framework indicators (e.g. Next.js/Expo in package.json) — used only to decide whether to load rules/framework-conventions.md
  • Existing suffix patterns (.test.ts vs .spec.ts, etc.)
  • Export naming patterns across the codebase

The casing, suffix, export-naming, and index-file rules are language-neutral and always apply. Load rules/framework-conventions.md only when a supported framework (Next.js / Expo) is detected.

Step 2: Audit

Check all files and exports against the rules.

Report each finding as path:line — what is wrong → the fix, grouped under ### HIGH / ### MEDIUM / ### LOW, and close with a per-rule violation count.

Step 3: Fix

Apply fixes for each violation:

  1. Rename files with git mv
  2. Update all import paths in dependent files
  3. Verify no broken imports remain after renames

Comments

Markdown supported