/design-system-ops:naming-auditfrom design-system-ops
Audits component and pattern naming for consistency and clarity, producing a violation report with rename suggestions. Useful for design system or component library naming reviews.
Ships in design-system-ops. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A skill for auditing naming conventions across a design system's components and documented patterns. Produces a violation report with specific examples, ambiguity flags, and rename suggestions with rationale. Token names are audited by token-audit, prop names by component-api-validator and Figma variable names by figma-variable-audit; this skill cites their findings rather than repeating them.
Confirm that every path in this skill's frontmatter references: exists relative to this SKILL.md. If any is missing, stop: the install is incomplete, usually because a flattening installer (for example npx skills install) dropped the repo-root knowledge-notes/ directory. Tell the user to reinstall by a method in 1-INSTALL.md and run verify-install.sh from the install root. Proceed without the references only if the user explicitly says to, and then say in the output that it was produced without the pack's reference material.
Naming is the primary interface between a design system and its consumers. A name is the first piece of information a designer or developer gets about what a component does, what a token means, or how a pattern behaves. Good names are predictable: consumers can guess what a name refers to before they look it up. Bad names require lookup, then clarification, then occasionally a conversation to confirm what was meant.
Naming problems accumulate. A single ambiguous component name is an inconvenience. Twenty ambiguous names spread across a library, with some following one convention and others following three others, is a system that new team members cannot navigate and experienced team members cannot trust.
This audit covers naming for components and any documented patterns. It does not mandate a specific naming convention — it assesses whether the naming is consistent, unambiguous, and fit for its purpose.
Before auditing names, determine what kind of shared UI this is. The library type changes how strict the consistency expectations should be and what recommendations are proportionate.
Classify from codebase signals:
clamp-width is better than one called u-cw even if the latter follows a prefix convention.Include the classification in the report header as "Library type: [Design system / Component library / Pattern library / Utility collection]" and calibrate recommendation weight accordingly.
Pull names from the source before asking:
index.ts / index.js at the package root, or each package's entry point in a monorepo). Exports are the names consumers actually type; internal files aren't. Fall back to component directories if there's no barrel. Record the file and line of each export: that is the finding's evidencetoken-audit report (token naming findings) or component-api-validator report (prop naming) if either has been run; cite their IDs in the summary rather than re-auditingOnly ask the user for a list if you can't reach the source, and say which names came from where. If no barrel, component directory or docs hierarchy can be found, stop and ask where the components live rather than auditing file names.
If naming convention documentation exists, assess against it. If it does not, derive the implicit conventions from the existing names and note where they are inconsistent with each other.
Small-system note (fewer than 5 components): A naming audit on a system this size is more of a naming workshop than a compliance audit. The consistency check (Step 2) becomes trivial — with 1–4 components, either every name follows the same convention or the inconsistencies are immediately visible. Focus the audit on purpose clarity and ambiguity flags rather than pattern detection. Offer to capture the convention as a decision record (decision-record) now, while the system is small enough to rename without migration cost.
If no naming convention documentation exists, don't stop to establish one first. Derive the dominant convention from the inventory — the pattern most names already follow — and show it in the report's convention inventory so the team can confirm or correct it:
ButtonPrimary vs PrimaryButton), abbreviation use, prefix/suffix rulesSign in, Filter a list) or the components involved (Form with validation), and whether the docs tool's hierarchy is followedAudit against that derived convention, and say it's derived. Where no convention dominates, report that as the finding rather than picking one. At the end, offer to capture the convention as a decision record using the decision-record skill.
Are component names following a consistent convention? Identify which conventions are in use:
ButtonPrimary) or category-first (NavigationPrimary)Btn vs Button, Nav vs Navigation)List the components that break from the pattern the rest of the library follows — worth aligning when they're next touched. Where the difference might be a deliberate naming decision, say so and ask rather than assuming it's an oversight.
A component name should communicate what the component does without requiring context.
Flag names that:
Wrapper, Base, Thing, Item on a component with a specific job. Layout primitives are exempt — Box, Stack, Flex, Grid, Container and Layout are well-understood names for general-purpose layout componentsBlueCard, LargeText, RoundedButtonModal and Dialog in the same system, Tooltip and Popover without clear distinctionFor each flagged name: describe the ambiguity and suggest a rename. The rename suggestion should follow the system's established convention and improve rather than just change.
If the system uses suffixes or prefixes to indicate category, variant, or role, are they applied consistently?
Common patterns to check:
ButtonSm, ButtonMd, ButtonLg — are sizes applied consistently across components?-active, -disabled, -loading — are state names consistent across components?Form-, Nav-, Data- — are prefixes applied to all relevant components?Flag any component that should have a prefix or suffix based on the system's conventions but does not.
Only if the system documents patterns (a docs site section, a Storybook "Patterns" hierarchy, a patterns/ folder). Skip and say so otherwise.
Confirm a destructive action), not list the parts (Modal with two buttons). Flag assembly names only where two patterns would be indistinguishable by their namesWizard the pattern, Wizard the component) confuse search and Figma; flag and suggest which one to renameToken naming belongs to token-audit, prop naming to component-api-validator. If either report exists, quote the count and IDs of its naming findings in the summary so the reader sees the whole naming picture in one place. If neither exists and the user asked for "all our naming", say which parts this report doesn't cover and offer to run them.
Open with a headline sentence. Example: "Your component naming is consistent but your token naming has three competing conventions — here's where the friction is."
Date: [date] Covers: [components / patterns / both], plus [token-audit / component-api-validator findings cited, or "not run"] Convention documentation: [exists and used as reference / does not exist — conventions derived from inventory]
One paragraph. What is the overall naming quality? Is the inconsistency concentrated (a specific era of the system, a specific team's contributions) or distributed? What is the most important finding? Be direct — if naming is a mess, say so plainly.
What naming conventions are currently in use? List the dominant conventions and any divergent conventions found. This section tells the team what they are actually doing, which is the baseline for any improvement.
Component naming violations
| ID | Component name | Evidence | Issue | Rename suggestion | Severity |
|---|---|---|---|---|---|
| NA-01 | [name] | [export file:line] | [specific issue] | [suggested name] | 🔴/🟠/🟡/⚪ |
Pattern naming violations (if patterns are documented)
| ID | Pattern name | Evidence | Issue | Rename suggestion | Severity |
|---|---|---|---|---|---|
| NA-[n] | [name] | [docs path or story id] | [specific issue] | [suggested name] | 🔴/🟠/🟡/⚪ |
Severity rubric:
If convention documentation does not exist: Confirm the derived convention with the team and write it down before making naming changes. Without it, rename decisions have no stable reference point and the same inconsistencies will accumulate again.
Sequencing renames: Renaming components and tokens is a breaking change. Recommendations:
change-communication skillConnection to decision-record: Offer to capture a newly derived or changed convention as a decision record using the decision-record skill. It's the governance decision consumers look up most often, so it earns a record, but the offer is the user's to take.
Scope
End with the closing note below.
End the report with:
A note on context: This audit checks naming patterns against common conventions — it does not know why a name was chosen. Some inconsistencies may be deliberate distinctions. If any finding flags a naming choice your team made intentionally, let me know — I'll learn your conventions and skip those patterns in future runs. The goal is to catch accidental inconsistency, not to override deliberate decisions.
What SKILL.md sets; muted values are Claude Code's defaults
36 skills in this plugin
/accessibility-per-componentAudit one design system component's accessibility against WCAG 2.2 AA: keyboard, screen reader, contrast, focus, ARIA, target size. Trigger: a11y audit, is this accessible, WCAG check, screen reader support, keyboard navigation check. Not for page- or product-wide audits./adoption-reportAdoption report: coverage (what the system provides), reach (teams with access) and adoption (teams shipping with it), design vs engineering, trend and at-risk teams. Triggers: adoption report, usage metrics, which teams use the system. Not docs coverage — use docs-coverage./agent-instructionsWrite the AGENTS.md that tells coding agents how to use this design system: where things live, sourced rules, how to check work, what not to do; Claude, Cursor or Copilot pointers on request. Triggers: AGENTS.md for our system, make it AI-navigable, agent instructions. Inventory: codebase-index.Generated from the plugin's indexed repository (murphytrueman/design-system-ops) — no native marketplace selected
npx claudepluginhub p/murphytrueman-design-system-ops2 plugins ship this exact skill · first indexed Sep 25, 2026
Other plugins' skills for the same job