Skip to content

Naming rules for components, tokens, files, and assets, with patterns and guidance on when to use them.

CCM score
53 of 100
skills.sh installs
2.6K
GitHub stars
3.5K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers naming patterns for components, design tokens, files, design pages, code identifiers, and assets
  • Lists five principles (predictable, consistent, scalable, scannable, unambiguous) and common pitfalls such as author-only abbreviations
  • Sets separator and case rules: kebab-case for CSS, PascalCase for React components, and camelCase for props
  • Designed for teams whose names have drifted or are being set for a new design system, with token contents handled by design-token

Install

$ npx -y skills add owl-listener/designer-skills --skill naming-convention -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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

Details

Repository
github.com/owl-listener/designer-skills
Categories
Design & UI/UX, Technical Documentation
First seen
Jun 3, 2026

More from owl-listener/designer-skills

All 68

Similar to Naming Convention

More Design & UI/UX