naming-convention

star 1.6k

Establish a naming convention system for design elements, components, and tokens with clear rules and examples.

Owl-Listener By Owl-Listener schedule Updated 3/7/2026

name: naming-convention description: Establish a naming convention system for design elements, components, and tokens with clear rules and examples.

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
Install via CLI
npx skills add https://github.com/Owl-Listener/designer-skills --skill naming-convention
Repository Details
star Stars 1,577
call_split Forks 278
navigation Branch main
article Path SKILL.md
More from Creator
Owl-Listener
Owl-Listener Explore all skills →