Naming Format

🌐Community
by tartinerlabs Β· vlatest Β· Repository

Automatically generates consistent and compliant names/filenames based on provided rules and data structures.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add naming-format npx -- -y @trustedskills/naming-format
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "naming-format": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/naming-format"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill automatically analyzes a project's codebase to identify and correct naming inconsistencies, ensuring adherence to defined conventions. It scans for dominant casing patterns, framework indicators (like Next.js or Expo), existing suffix patterns, and export naming styles. The skill then audits files against pre-defined rules and offers automated fixes like renaming files using git mv and updating import paths.

When to use it

  • To enforce consistent naming conventions across a large codebase.
  • When onboarding new developers to ensure they follow project standards.
  • As part of an automated code review process to catch naming violations early.
  • To standardize file suffixes (e.g., .test.ts vs .spec.ts).
  • To improve the overall readability and maintainability of a project by adhering to framework conventions.

Key capabilities

  • Detects dominant filename casing conventions.
  • Identifies frameworks used in the project based on package.json.
  • Analyzes existing suffix patterns.
  • Audits code against rules for case consistency, file suffixes, export naming, and index files.
  • Reports violations grouped by severity (HIGH, MEDIUM).
  • Applies fixes including renaming files with git mv and updating import paths.

Example prompts

  • "Run a naming audit on the current project."
  • "Show me the high-severity naming violations."
  • "Apply fixes for all case consistency issues."
  • β€œWhat framework conventions are being used in this project?”

Tips & gotchas

  • The skill relies on individual rule files located in the rules/ directory, which contain detailed explanations and examples.
  • Review the audit results carefully before applying fixes to ensure accuracy.
  • The skill uses git mv for renaming, preserving git history; however, it's still recommended to review changes after automated fixes.

Tags

πŸ›‘οΈ

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates β€” what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
tartinerlabs
Installs
41

🌐 Community

Passed automated security scans.