Skip to content
Back to skills

Naming Format

ASecurity

Use when reviewing file names, renaming files, fixing naming conventions, or auditing exports. Enforces consistent casing and suffix patterns.

  • 8 stars
  • 0 votes
  • 1 copy
  • 3 views
  • Added September 29, 2026
toolsgobashnextjsgit

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned December 5, 2026

npx -y skills add tartinerlabs/skills --skill naming-format --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Naming Format?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Naming Format
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tartinerlabs-naming-format/badge)](https://www.skillsdirectory.com/skills/tartinerlabs-naming-format)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: naming-format
description: Use when reviewing file names, renaming files, fixing naming conventions, or auditing exports. Enforces consistent casing and suffix patterns.
license: MIT
allowed-tools: Read Glob Grep Edit Bash(git mv *)
model: haiku
effort: medium
context: fork
agent: general-purpose
background: false
argument-hint: "[scope] [audit|fix]"
compatibility: Any language project; casing/suffix/export rules are language-neutral, framework naming rules apply only when that framework is detected
metadata:
  short-description: File naming and export conventions.
  title: Name files consistently
  goal: keep-code-tidy
  audience: developers
---

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.

Arguments, if any: $ARGUMENTS — read the scope (files or directory) and the mode (`audit` or `fix`) from them; with none, use the request as given and default to auditing the whole project. This may run without the conversation's history, so close the report by telling the caller how to apply it: invoke this skill again with the findings and `fix` as arguments.

## Rules Overview

| Rule | Impact | File |
|------|--------|------|
| Case consistency | HIGH | [rules/case-consistency.md](rules/case-consistency.md) |
| File suffixes | HIGH | [rules/file-suffixes.md](rules/file-suffixes.md) |
| Export naming | HIGH | [rules/export-naming.md](rules/export-naming.md) |
| Index files | HIGH | [rules/index-files.md](rules/index-files.md) |
| Framework conventions | MEDIUM | [rules/framework-conventions.md](rules/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](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](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

Files in this skill

  • SKILL.md2 KB
  • rules/case-consistency.md1 KB
  • rules/export-naming.md1.4 KB
  • rules/file-suffixes.md1.5 KB
  • rules/framework-conventions.md1.4 KB
  • rules/index-files.md1.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.