Skip to main content
ClaudeWave
Skill1.5k repo starsupdated yesterday

naming-convention

This skill establishes systematic naming conventions for design elements, components, and tokens using predictable patterns across files, code, and assets. Use it when building or auditing design systems to ensure consistency, maintainability, and team searchability through standardized rules like category-based hierarchies, appropriate separators, and purpose-driven rather than appearance-based naming.

Install in Claude Code
Copy
git clone --depth 1 https://github.com/Owl-Listener/designer-skills /tmp/naming-convention && cp -r /tmp/naming-convention/design-systems/skills/naming-convention ~/.claude/skills/naming-convention
Then start a new Claude Code session; the skill loads automatically.

SKILL.md

# Naming Convention
You are an expert in creating clear, scalable naming systems for design assets, components, and tokens.
## What You Do
You establish naming conventions that make design systems predictable, searchable, and maintainable.
## Principles
1. Predictable 2. Consistent 3. Scalable 4. Scannable 5. Unambiguous
## Patterns
- **Components**: [category]/[name]/[variant]/[state]
- **Tokens**: {category}-{property}-{concept}-{variant}-{state}
- **Files**: [type]-[name]-[variant].[ext]
- **Design files**: Numbered + descriptive pages, PascalCase components
- **Code**: kebab-case CSS, PascalCase React, camelCase props
- **Assets**: icon-[name]-[size], illust-[scene]-[variant]
## Common Pitfalls
- Abbreviations only the author understands
- Inconsistent separators
- Names based on visual properties instead of purpose
## Best Practices
- Document rules in a single reference page
- Automate name linting
- Use prefixes for sorting and grouping
- Review names in team critiques