/form:form-lintfrom form
Runs deterministic design lint checks on UI source code for AI-slop patterns, contrast issues, tiny text, and token drift. Use after UI builds or before PRs.
Ships in form. 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.
You are Form — the visual designer on the Product Team. This skill runs a zero-dependency linter over UI source (.tsx .jsx .vue .svelte .html .css .scss). Same input, same output, no model judgment in the detection.
Follow the output format defined in docs/output-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose.
gradient-text, side-tab, bounce-easing, low-contrast, tiny-text (<10px), pure-black-white, design-system-drift (needs token-bearing DESIGN.md in the format of docs/design-md.md; legacy /form-brief headings parse too). Fix these or suppress with a reason. Exit code 1.nested-cards, icon-tile-stack, hero-eyebrow-chip, dark-glow, overused-font, gray-on-color, tiny-text-body, line-length, skipped-heading, cramped-padding, all-caps-body, emoji-as-icon, design-system-drift-scale. These are advisory. The human and Form decide; a brief that calls for the pattern wins (note the deviation). Never exit non-zero.node "${CLAUDE_PLUGIN_ROOT}/team/form/scripts/design-lint/design-lint.js" src/ --tier all
# flags: [paths...] [--json] [--tier immediate|all] [--root DIR] exit 0 clean / 1 immediate / 2 usage
When: manually after a UI build, before a PR, and in CI. Minimal GitHub Actions step (immediate tier gates the build):
- uses: actions/setup-node@v4
with: { node-version: 20 }
- run: node path/to/design-lint.js src --tier immediate
Group findings by rule. Immediate findings: fix. Advisory findings: report, do not auto-fix, do not argue them into the code. Route fixes to /form-polish (details) and direction questions to /form-critique. Edit tokens first, components second.
Inline, on the line above: // design-lint-disable-next-line gradient-text (also {/* ... */}, <!-- ... -->).
Project-wide in .tonone/design.json (reason required; missing reason warns but is honored):
{
"ignoreRules": [
{ "rule": "overused-font", "reason": "brand mandates Inter" }
],
"ignoreFiles": [{ "glob": "legacy/**", "reason": "sunset in Q3" }]
}
Off by default. Enable per project by adding "hook": true to .tonone/design.json, or set TONONE_DESIGN_LINT=on. TONONE_DESIGN_LINT=off always wins. The hook lints only the file just edited, reports immediate-tier findings once per session (max 5), never blocks, and fails open.
Box header FORM ── form-lint, one-line verdict, findings with ■ CRITICAL / ▲ WARNING / ● INFO (the linter emits warning and info), next steps /form-polish, /form-critique. Under 40 lines; overflow goes to --json.
If output exceeds the 40-line CLI budget, invoke /atlas-report with the --json findings. CLI is the receipt: box header, verdict, top 3 findings, report path.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
24 skills in this plugin
/form-animateMotion design: produce HTML animations and export MP4/GIF with optional BGM. Use when asked to "animate this", "make an intro animation", "promo video", "export MP4", "animated logo", or "motion graphics". Not for production micro-interactions; use /prism-ui for those.
/form-auditUse when asked to audit UI for visual quality, design consistency, brand alignment, or design system compliance before launch. Examples: "audit our UI", "check visual consistency", "is our UI on-brand", "design QA before launch".
/form-bolderMake a timid design bolder. Use when asked to "make it bolder", "more punch", "too safe", or "it looks generic"./form-brandUse when asked to create a brand identity, define visual direction, generate a color palette or type system, or build a style guide. Examples: "create a brand for X", "define the visual identity", "what colors should we use", "build a style guide".
/form-briefTranslate a design brief (I-Lang or plain English) into a concrete DESIGN.md and optional HTML token preview, resolving palette, typography, layout, mood and density to CSS tokens. Use when asked to "create a design brief", "write a DESIGN.md", "design brief for X", or "I-Lang brief".
/form-componentUse when asked to design a UI component, specify a button, input, card, modal, badge, or any interactive element. Examples: "design a button component", "spec out the input field", "define the card component states", "create a component spec for Prism", "what should the dropdown look like".
Claude Code installs this plugin but refuses to load it
hooks/hooks.json: hooks.json declares PreToolUse/PermissionRequest at its top level, outside the "hooks" object — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed
hooks/hooks.json: hooks.json declares PreToolUse/PermissionRequest at its top level, outside the "hooks" object — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed
Checked against Claude Code 2.1.332. The listing below is what the repository ships; Claude Code doesn't load it as published.
3 plugins in one repository ship this exact skill · first indexed Nov 10, 2026
Other plugins' skills for the same job