naming-analyzer
SolidSuggest better variable, function, and class names based on context and conventions.
AI & Automation 27,984 stars
2901 forks Updated today MIT
Install
Quality Score: 93/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# 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
### JavaScript/TypeScript
- Variables/functions: `camelCase`
- Classes/interfaces: `PascalCase`
- Constants: `UPPER_SNAKE_CASE`
- Private fields: `_prefixUnderscore` or `#privateField`
- Boolean: `is`, `has`, `can`, `should` prefixes
### Python
- Variables/functions: `snake_case`
- Classes: `PascalCase`
- Constants: `UPPER_SNAKE_CASE`
- Private: `_prefix_underscore`
- Boolean: `is_`, `has_`, `can_` prefixes
### Java
- Variables/methods:...
Details
- Author
- davila7
- Repository
- davila7/claude-code-templates
- Created
- 11 months ago
- Last Updated
- today
- Language
- Python
- License
- MIT
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Listed
naming-analyzer
Suggest better variable, function, and class names based on context and conventions.
353 Updated today
aiskillstore AI & Automation Listed
naming-analyzer
Suggest better variable, function, and class names based on context and conventions.
2,004 Updated 3 months ago
softaworks AI & Automation Listed
naming-buddy
命名困难症救星。给一段逻辑/用途描述 + 语言 → 建议好的变量/函数/类/文件/常量/布尔名,中英对照解释。触发词:'/naming-buddy'、'帮我起个名字'、'这个变量叫什么好'、'给这个函数命名'、'命名建议'。
1 Updated 2 days ago
YuAICode