mcpField
N
naming-convention

naming-convention

github.com/infrasity-labsDesign & UI15077 installsUpdated 18w ago
Repository

About naming-convention

A design skill for creating clear, consistent naming systems across design assets, components, tokens, files, and code. It provides naming patterns and practices for teams seeking searchable, maintainable design systems.

Key features

  1. 01Component, token, and file naming patterns
  2. 02Conventions for design files and code
  3. 03Asset naming patterns
  4. 04Guidance on documentation and name linting
  5. 05Common naming pitfalls and review practices

Use cases

  1. 01Define names for a new design system
  2. 02Standardize component and token names across a team
  3. 03Review asset and code naming conventions

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/infrasity-labs/dev-gtm-claude-skills --skill naming-convention

After installing, type/naming-conventionin Claude Code to confirm it loaded.

Details

From the project README

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

Comments

Markdown supported