Skip to main content
skill

naming-analyzer — Claude Code skill: variable naming audit

Reviews variable, function, class and file names for clarity, spots misleading labels and offers alternatives that follow language conventions.

Install into Claude Code · claude-code-templates All methods and platforms ↓
npx claude-code-templates@latest --skill productivity/naming-analyzer
Open on GitHub

What naming-analyzer does

The skill scans code for naming problems: overly generic terms (data, temp), misleading labels (a getUser function that mutates state), unclear abbreviations (usrCfg), booleans without prefixes (active instead of isActive). For each issue it provides a specific explanation and a better alternative. Checks variables, constants, methods, interfaces, database tables and API paths.

Recognises conventions for JavaScript, TypeScript, Python, Java and Go: camelCase for variables, PascalCase for classes, UPPER_SNAKE_CASE for constants. Separates critical errors (a name that does not match behaviour) from minor lapses (inconsistent casing). The report groups findings by priority and points to exact locations in the project.

Mention the skill in a prompt to run it. Works on the whole project, a folder or a single file.

What it helps with

  • audit variable and function names for clarity
  • spot boolean variables missing is, has or can prefixes
  • identify functions whose names hide side effects
  • align names with language conventions
  • replace magic numbers with named constants

Example prompts for the agent

  • Check names in src/services/UserService.js — the getUser function updates lastLogin, which is misleading
  • Review variable names in src/utils, lots of single letters and abbreviations
  • Find boolean fields without prefixes in models and suggest corrected versions

How to install naming-analyzer

1claude-code-templates

npx claude-code-templates@latest --skill productivity/naming-analyzer

2Skills CLI (Vercel)

npx skills add davila7/claude-code-templates --skill naming-analyzer -a claude-code

3Manually: put the files in place

~/.claude/skills/naming-analyzer/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/naming-analyzer/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about naming-analyzer

How to install naming-analyzer in Claude Code?

Run npx claude-code-templates@latest --skill productivity/naming-analyzer or npx skills add davila7/claude-code-templates --skill naming-analyzer -a claude-code, the skill file will appear in ~/.claude/skills/naming-analyzer/SKILL.md.

What does naming-analyzer do?

Analyses names in code — variables, functions, classes, files — and flags unclear, misleading or convention-violating labels. Suggests a corrected version with an explanation for each problem.

Which languages does naming-analyzer support?

JavaScript, TypeScript, Python, Java and Go. The skill recognises standard conventions for these languages: camelCase, PascalCase, snake_case and boolean prefixes.

Similar skills

All skills for Code review and refactoring →

From the same set804

The whole set →
plan-mode-game This hook opens a browser game when Claude Code enters Plan Mode and tracks tool activity. It gives you something to do while a plan takes shape. 54installs szamlazz Issue, cancel, and download Hungarian invoices through the szamlazz.hu Agent API. It also looks up taxpayer details and keeps a reusable customer cache. 54installs scholar-evaluation Assess papers, proposals, and literature reviews against research criteria. Use it to organize feedback on methods, evidence, analysis, and academic writing. 53installs pytorch-lightning Helps Claude Code structure PyTorch code into LightningModules and configure multi-GPU or TPU training. It removes boilerplate loops and organizes data pipelines. 53installs kotlin-coroutines-expert This skill guides Claude Code through Kotlin Coroutines and Flow, from coordinating concurrent work to handling failures and testing asynchronous functions. Use it when debugging cancellation or building reactive data streams. 53installs aeon Gives Claude a working map of the aeon Python library for classification, forecasting, clustering and anomaly detection on time series. 52installs resume-tailor This skill reshapes a resume for a particular job while keeping the candidate’s claims accurate. Use it when one base resume needs a role-specific version. 52installs multimodal-audiocraft Equips Claude Code with workflows for text-to-music and sound generation using Meta's AudioCraft tools. Helpful when building audio synthesis pipelines. 52installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor