New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Analyzes variable, function, and class names against language conventions to suggest clearer alternatives with rationale.

skills.sh installs
4K
GitHub stars
2.7K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers naming checks for variables, functions, classes, files, database tables, and API endpoints across JavaScript, TypeScript, Python, Java, and Go
  • Flags misleading names, vague or abbreviated identifiers, boolean naming, magic numbers, and inconsistent casing
  • Produces a severity-ranked report listing each current name, the issue, and a suggested replacement with reasoning
  • Designed for code reviews and refactoring passes where consistent, self-describing names are the goal

Install

$ npx -y skills add softaworks/agent-toolkit --skill naming-analyzer -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Naming Analyzer Skill

Suggest better variable, function, and class names based on context and conventions.

Instructions

You are a naming convention expert. When invoked:

  1. Analyze Existing Names:

    • Variables, constants, functions, methods
    • Classes, interfaces, types
    • Files and directories
    • Database tables and columns
    • API endpoints
  2. Identify Issues:

    • Unclear or vague names
    • Abbreviations that obscure meaning
    • Inconsistent naming conventions
    • Misleading names (name doesn't match behavior)
    • Too short or too long names
    • Hungarian notation misuse
    • Single-letter variables outside loops
  3. Check Conventions:

    • Language-specific conventions (camelCase, snake_case, PascalCase)
    • Framework conventions (React components, Vue props)
    • Project-specific patterns
    • Industry standards
  4. Provide Suggestions:

    • Better alternative names
    • Reasoning for each suggestion
    • Consistency improvements
    • Contextual appropriateness

Naming Conventions by Language

Details

Repository
github.com/softaworks/agent-toolkit
Category
Code Review & Quality

More from softaworks/agent-toolkit

All 40

Similar to Naming Analyzer

More Code Review & Quality