css-naming-audit

css-naming-audit is a skill for Claude Code, Codex from akashkendre1298/Skills. It costs 13 tokens per session (359 once invoked), scanned A, a copy of code-smell, MIT.

A review of CSS class names and stylesheet structure against a project's naming conventions and component boundaries.

In plain words
What is it for?
Use it to report CSS naming and structure problems, suggest replacement names, and refactor each reported issue.
Why use it?
It finds names based on appearance, unused classes, duplicate rules, overly specific selectors, and styles that leak into unrelated components.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to report CSS naming and structure problems, suggest replacement names, and refactor each reported issue.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/akashkendre1298/skills/css-naming-audit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add akashkendre1298/Skills --skill css-naming-audit
Clone the repo
git clone --depth 1 https://github.com/akashkendre1298/Skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for css-naming-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/akashkendre1298/skills/css-naming-audit/github.svg)](https://agentmods.dev/skills/akashkendre1298/skills/css-naming-audit)
Your own site
<a href="https://agentmods.dev/skills/akashkendre1298/skills/css-naming-audit"><img src="https://agentmods.dev/badge/skills/akashkendre1298/skills/css-naming-audit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for css-naming-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/akashkendre1298/skills/css-naming-audit"><img src="https://agentmods.dev/badge/skills/akashkendre1298/skills/css-naming-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 359 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 86% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00013 $0.00359
Opus 5 $0.00006 $0.00179
Sonnet 5 $0.00003 $0.00072
Haiku 4.5 $0.00001 $0.00036

Measured 11d ago against content hash e25e4296bce1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

css-naming-audit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

86% identical to code-smell — 30 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/css-naming-audit/SKILL.md · 43 lines

What it actually says

Use this skill when

  • Working on tasks related to css naming audit
  • Needing guidance, best practices, or generation for css naming audit

Do not use this skill when

  • The task is unrelated to css naming audit
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.

Role and Execution Details: You are a CSS architecture reviewer. Audit CSS class names and structure for:

  • Non-BEM class names in a BEM project (or non-utility in a Tailwind project)
  • Classes named by appearance not purpose (red-text, big-button, left-panel)
  • Classes with no current usage in the codebase (dead CSS)
  • Duplicate rules for the same visual property
  • Specificity wars (!important usage, ID selectors in component CSS)
  • Global styles leaking into component scope
  • Inconsistent naming convention across components

Output: a list of issues with current name → recommended name, plus a CSS refactor for each.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
  • Ensure all security, privacy, and compliance guidelines are followed.
  • The instructions provided are guidelines and should be adapted to the specific context of the codebase or project.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 43 lines · 13 tokens per session scan A e25e4296bce1

Subscribe to this mod's changes

css-naming-audit is a skill published in the GitHub repository akashkendre1298/Skills (5 stars, last pushed 3mo ago), licensed MIT. It adds 13 tokens to every session and 359 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to code-smell, differing in 30 lines, and is treated as a copy.

Related

Other skills, from other repositories

review-animations

Reviews animation and motion code against a high craft bar derived from Emil Kowalski's design engineering philosophy. Default to flagging; approval is earned.

emilkowalski/skills · 34 tokens

beautify-with-pingfusi

Beautify or redesign an existing website through iterative pingfusi review rounds with a real human reviewer. Use when asked to "beautify this website," "make this page look professional," "polish this UI/design," "improve the visual design," or finish an AI-built page when there is no reference site to match. Do not…

alex-durango/pingfusi · 95 tokens

generic-static-code-reviewer

Review static site code for bugs, security issues, performance problems, accessibility gaps, and CLAUDE.md compliance. Enforces pure HTML/CSS/JS standards, minimal page weight, mobile-first design. Use when completing features, before commits, or reviewing changes.

travisjneuman/.claude · 59 tokens

code-review-web

Use when reviewing web frontend code — HTML, CSS, JSX, or browser-targeted JavaScript. Enforces accessibility (WCAG AA, aria labels, focus management), XSS prevention (innerHTML, dangerouslySetInnerHTML), performance (layout thrash, CLS, lazy loading), CSS design tokens, form labeling, and event listener cleanup.…

Jamie-BitFlight/claude_skills · 91 tokens

tailwind-css

Tailwind CSS v4 patterns: CSS-first config, utility classes, component variants, v3 migration. Use when styling with Tailwind, configuring @theme tokens, using tailwind-variants/CVA, migrating v3 to v4, or fixing Tailwind styles and dark mode.

iliaal/whetstone · 61 tokens

writing-web

Simple web development with HTML, CSS, JS, and HTMX. Use when working with .html, .css, or .htmx files, web templates, stylesheets, or vanilla JS scripts. NOT for React/Vue/Angular (use writing-typescript) or Node.js backends.

alexei-led/cc-thingz · 63 tokens