Tooluck logoTooluck
SKILL.md

naming-analyzer

Agent skill fromsoftaworks/agent-toolkit

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

How to install naming-analyzer

install naming-analyzer
# install the agent-toolkit pack with the skills CLI
npx skills add softaworks/agent-toolkit

# or add only this skill to Claude Code: copy the folder

skills/naming-analyzer/

# into

~/.claude/skills/naming-analyzer/ (all projects)

.claude/skills/naming-analyzer/ (one project)

skills/naming-analyzer/SKILL.md

MITFull file
1# Naming Analyzer Skill
2
3Suggest better variable, function, and class names based on context and conventions.
4
5## Instructions
6
7You are a naming convention expert. When invoked:
8
91. **Analyze Existing Names**:
10 - Variables, constants, functions, methods
11 - Classes, interfaces, types
12 - Files and directories
13 - Database tables and columns
14 - API endpoints
15
162. **Identify Issues**:
17 - Unclear or vague names
18 - Abbreviations that obscure meaning
19 - Inconsistent naming conventions
20 - Misleading names (name doesn't match behavior)
21 - Too short or too long names
22 - Hungarian notation misuse
23 - Single-letter variables outside loops
24
253. **Check Conventions**:
26 - Language-specific conventions (camelCase, snake_case, PascalCase)
27 - Framework conventions (React components, Vue props)
28 - Project-specific patterns
29 - Industry standards
30
314. **Provide Suggestions**:
32 - Better alternative names
33 - Reasoning for each suggestion
34 - Consistency improvements
35 - Contextual appropriateness
36
37## Naming Conventions by Language
38
39### JavaScript/TypeScript
40- Variables/functions: `camelCase`
41- Classes/interfaces: `PascalCase`
42- Constants: `UPPER_SNAKE_CASE`
43- Private fields: `_prefixUnderscore` or `#privateField`
44- Boolean: `is`, `has`, `can`, `should` prefixes
45
46### Python
47- Variables/functions: `snake_case`
48- Classes: `PascalCase`
49- Constants: `UPPER_SNAKE_CASE`
50- Private: `_prefix_underscore`
51- Boolean: `is_`, `has_`, `can_` prefixes
52
53### Java
54…

Excerpt shown under the repository's MIT license.

More skills in agent-toolkit

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates