lint

lint is a skill for Claude Code from byjunyoung/claude-product-skills. It costs 95 tokens per session (8,058 once invoked), scanned A, original, MIT.

A read-only checker for Figma design pages. Figma is a collaborative tool for designing interfaces and diagrams.

In plain words
What is it for?
Use it to check frame membership and bounds, overlapping sections, arrow paths, uncovered items, state links, and copied component defaults.
Why use it?
It finds layout, naming, linking, coverage, and duplicated-component problems without editing the design.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the fig plugin — 14 skills, 1 hook shipped together

Good fit Use it to check frame membership and bounds, overlapping sections, arrow paths, uncovered items, state links, and copied component defaults.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add byjunyoung/claude-product-skills
Claude Code
/plugin install fig

Made for: Claude Code.

Or install fig, the plugin that ships this one along with the rest of its 14 skills, 1 hook.

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 lint

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/byjunyoung/claude-product-skills/lint"><img src="https://agentmods.dev/badge/skills/byjunyoung/claude-product-skills/lint.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,058 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.00095 $0.08058
Opus 5.5 $0.00038 $0.03223
Sonnet 5.5 $0.00019 $0.01612
Haiku 4.5 $0.00010 $0.00806

Measured 14d ago against content hash 91a528ad0e29, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 14d 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.

plugins/fig/skills/lint/SKILL.md · 226 lines

How it starts

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

fig:lint — read-only audit of structure, flow, components and colour tokens (violations only)

Part of a plugin. The scripts this skill runs ship beside it under ${CLAUDE_PLUGIN_ROOT}. If that path does not resolve, this file was installed on its own — stop and say the plugin itself is needed (claude plugin install fig@byjunyoung), rather than improvising what the scripts do.

Takes one design page and audits structure (placement), flow (arrows), component usage, and colours left off the design system's tokens in a single pass, reporting only violations. Detection is separated from repair, the way a design lint should be — this skill only detects; fig:prep fixes structure, fig:arrows fixes flow, and fig:tokens binds colours to tokens.

Why it exists: to keep verification logic in one place behind one gate. Whatever touched the canvas — prep, arrows, a duplicated form, a manual edit — running this one skill at the end covers all of it. When verification is scattered across the working skills you get a blind spot shaped like "I wasn't using that skill this time, so the audit never ran." Removing that blind spot is the reason it is separate.

Prerequisites: zero writes. use_figma is used only for read-only scripts that inspect node properties — return a report, never mutate a node. Load figma:figma-use before calling use_figma.

When to invoke

  • "lint this", "audit the design", "check for rule violations" — on its own
  • As the mandatory final gate for fig:prep and fig:arrows — always confirm through this right after creating, duplicating, moving frames, or generating and syncing arrows
  • Always when clone or move was involved — the main cause of page-level orphans and out-of-bounds frames, and an isolated screenshot will not catch either
  • Always right after building a screen by duplicating another — component default residue carried over by the copy is caught by this audit alone; the eye keeps missing it

Read the full file on GitHub · 226 lines

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. 14d ago Changed · +14 lines 91a528ad0e29
  2. 1mo ago Changed e6a48f844890
  3. 1mo ago Changed · +23 lines · -103 tokens per session fca1f4d2a94c
  4. 1mo ago Changed 0a93900f4161
  5. 2mo ago Changed · +2 lines 38b4ac364881
  6. 2mo ago Changed · +4 lines 13ed844aebae
  7. 2mo ago Changed · +4 lines 04ac34545908
  8. 3mo ago Changed · +37 lines · +22 tokens per session 428c7a3e6ca3
  9. 3mo ago Changed · +4 lines · +10 tokens per session 0a3d9cec3893
  10. 3mo ago First seen · 138 lines · 166 tokens per session scan A ab02700e4cff

Subscribe to this mod's changes

lint is a skill published in the GitHub repository byjunyoung/claude-product-skills (5 stars, last pushed today), licensed MIT. It adds 95 tokens to every session and 8,058 once invoked, about $0.0004 per session on Opus 5.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

lint compared with skills from other repositories

lint next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
lintbyjunyoung/claude-product-skillsSkill5todayMITA95Claude Code
accessibility-per-componentmurphytrueman/design-system-opsSkill2292mo agoMITA68Claude Code
figma-variable-auditmurphytrueman/design-system-opsSkill2292mo agoMITA63Claude Code
metadata-schema-generatormurphytrueman/design-system-opsSkill2292mo agoMITA62Claude Code
theme-auditmurphytrueman/design-system-opsSkill2292mo agoMITA57Claude Code
token-auditmurphytrueman/design-system-opsSkill2292mo agoMITA72Claude Code
token-compliancemurphytrueman/design-system-opsSkill2292mo agoMITA62Claude Code