roll-lint

roll-lint is a skill for Claude Code from niharya/skills-drawer. It costs 201 tokens per session (4,355 once invoked), scanned A, original, MIT.

A CSS, SCSS, and LESS linter that checks whether a stylesheet follows its own spacing, typography, layout, and accessibility patterns.

In plain words
What is it for?
Auditing and cleaning stylesheets, including spacing, corner-radius calculations, selector specificity, stacking order, layout proportions, focus states, and declared contrast.
Why use it?
It finds inconsistencies and code-quality problems that can make a user interface harder to maintain or use.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Cursor.

Part of the roll-lint plugin — 1 skill shipped together

Good fit Auditing and cleaning stylesheets, including spacing, corner-radius calculations, selector specificity, stacking order, layout proportions, focus states, and declared contrast.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/niharya/skills-drawer/roll-lint
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 niharya/skills-drawer --skill roll-lint
Clone the repo
git clone --depth 1 https://github.com/niharya/skills-drawer

Made for: Claude Code.

Or install roll-lint, the plugin that ships this one along with the rest of its 1 skill.

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 roll-lint

README.md
[![agentmods](https://agentmods.dev/badge/skills/niharya/skills-drawer/roll-lint/github.svg)](https://agentmods.dev/skills/niharya/skills-drawer/roll-lint)
Your own site
<a href="https://agentmods.dev/skills/niharya/skills-drawer/roll-lint"><img src="https://agentmods.dev/badge/skills/niharya/skills-drawer/roll-lint/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 roll-lint

Your own site · 80×15
<a href="https://agentmods.dev/skills/niharya/skills-drawer/roll-lint"><img src="https://agentmods.dev/badge/skills/niharya/skills-drawer/roll-lint.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 201 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,355 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 original No closer match found 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.00201 $0.04355
Opus 5 $0.00101 $0.02178
Sonnet 5 $0.00040 $0.00871
Haiku 4.5 $0.00020 $0.00436

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

Security

Grade A, and why

roll-lint 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 9d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/inventory.py, scripts/snap.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

roll-lint/skills/roll-lint/SKILL.md · 209 lines

How it starts

The opening of the file, as written. The whole thing — 209 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Roll-Lint: Systems-Design CSS Audit

You are a systems designer with a communication and visual design background. You audit and clean CSS/SCSS/LESS through seven dependency-ordered phases. roll-lint derives the developer's own implicit system from the stylesheet and presses out drift against that system. It never imports taste. Think of ironing a shirt: the shirt already exists; you're pressing out the wrinkles so the existing design comes through cleanly.

Every check belongs to one of two epistemic modes:

  • Drift checks — the codebase disagreeing with itself. Always derived from the stylesheet, never asserted from outside.
  • Floor checks — absolute standards verifiable from source with high confidence (touch targets, focus states, contrast declared in one block). These live only in Phase 6.

Design Charter

Four permanent rules. Every current check obeys them; every future addition — from any session, any model, any contributor — must pass them.

  1. Admission test. A check belongs in roll-lint iff it (a) detects the codebase disagreeing with itself, or (b) is a floor standard verifiable from source with high confidence. Anything requiring rendered-output inference, external taste values, or content judgment is out.
  2. Exception-only reporting. Census everything; surface exceptions only. Clean dimensions compress to a single summary line ("9 dimensions clean: shadows, dividers, durations…"). Report length is proportional to findings — a hard constraint, not a guideline. A report on an already-clean codebase fits on one screen.
  3. Appearance-material guard. Changes that visibly alter appearance — shadow-angle normalization, color merges above the near-duplicate threshold, divider consolidation — are never auto-applied, even in autonomous mode. They are always flagged with a proposed fix. Imperceptible corrections (grid snaps, unitless line-height conversion, sub-threshold gray merges) may be auto-applied.
  4. Score & Blueprint charters. The −2…+3 score is computed from the original core dimensions only, forever — newer checks are advisory and never move it, so scores stay comparable across runs. The Blueprint contains only tokenizable value scales. Diagnostics (affordance counts, contrast results) go in reports, never the Blueprint.

Read the full file on GitHub · 209 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 209 lines · 201 tokens per session scan A e44dd381a5a2

Subscribe to this mod's changes

roll-lint is a skill published in the GitHub repository niharya/skills-drawer (2 stars, last pushed 2mo ago), licensed MIT. It adds 201 tokens to every session and 4,355 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

layout-discipline

A set of rules for keeping AI-generated web pages visually consistent, including their text sizes, spacing, alignment, cards, and colors.

crazyzlnofficial/layout-discipline · 105 tokens

popular-web-designs

54 real design systems (Stripe, Linear, Vercel) as HTML/CSS.

NousResearch/hermes-agent · 23 tokens

web-image

A way to create PNG images by describing their layout with HTML and CSS and rendering it in a browser.

whyubel1eve/web-image-skill · 511 tokens

dashmotion

Create dark-themed, animated technical diagrams as self-contained HTML+SVG files — flowcharts whose connectors visibly flow, and architecture diagrams where requests travel as light dots through the system (Diagrid/Temporal landing-page style). Use this skill whenever the user asks for a flowchart, workflow, pipeline…

csthink/dashmotion · 187 tokens

avoid-ai-design

Audit and rewrite frontend UI to remove generic AI design patterns ("AI slop"). Use this skill when asked to "de-slop a UI", "make a design look less AI-generated", "audit a component or page for AI design tells", or "fix Claude/Codex-generated frontend that looks generic". Covers HTML/CSS and React/Tailwind/shadcn.…

funboy322/avoid-ai-design · 90 tokens

anti-slop-design

Eliminates generic AI-generated design ("AI slop") from any front-end you build or review — web or mobile. Use whenever generating, reviewing, refactoring, or critiquing a website, landing page, dashboard, web app, iOS or Android app, React Native or Flutter screen, component, design system, or micro-interaction — and…

Ferousco-dev/anti-slop-design · 138 tokens