Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

design-systems-slds-validate

Skill by forcedotcom

Audits Lightning Web Components for SLDS design-system compliance and produces a scored quality report with an overall grade. Built for developers who want an SLDS readiness check before code review or shipping.

  • Score 79
  • 1.2k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install design-systems-slds-validate

Built from the published package, never by AI.

git clone --depth 1 https://github.com/forcedotcom/sf-skills /tmp/sf-skills && mkdir -p ~/.claude/skills && cp -r /tmp/sf-skills/skills/design-systems-slds-validate ~/.claude/skills/design-systems-slds-validate

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install design-systems-slds-validate in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill audits Lightning Web Components for SLDS design-system compliance and produces a scored quality report. It runs the SLDS linter, then uses a bundled script to check CSS, HTML and JS files for issues the linter does not cover, such as missing fallbacks, invented hooks, hook pairing, and missing labels or alt text.

Scores are grouped into five categories and combined into an overall grade from A to F. A required manual review gate covers loading, error, empty and disabled states, and blueprint structure, and it can change the final recommendation. The skill is for developers who want an SLDS quality check before shipping or code review. It does not fix violations.

Written from the project's SKILL.md and checked against it.

What it can do

  • Run SLDS linterRuns the SLDS linter on a component path and counts violations by rule.
  • Supplementary analysisRuns a bundled script to check CSS, HTML and JS for issues the linter misses.
  • Invented hook detectionFlags --slds-g-* tokens not found in hooks-index.json when that file is provided.
  • Hook pairing checkChecks that surface and accent backgrounds have matching on-surface or on-accent text hooks.
  • Manual review gateClassifies manual findings as Pass, Advisory or Blocking, which affects the final recommendation.
  • Scored reportProduces category scores, an overall A to F grade and a final recommendation.
  • Quick validation modeGives a fast linter violation count and estimated grade without full analysis.

What you need

  • Node.js 18.0.0 or later
  • npx 7.0.0 or later
  • Network access to fetch @salesforce-ux/slds-linter

Try asking

  • Score my component's SLDS before I submit for code review
  • Run an SLDS quality report on the force-app accounts component
  • Is this LWC's SLDS ready to ship? Give me the final recommendation

Good to know

  • Scans only .css, .html and .js files. JSX, TSX, Vue and Svelte need extra manual review.
  • Hook pairing is checked per file, not per selector.
  • Accessibility checks cover attribute presence only, not contrast, keyboard flows or WCAG.
  • If the linter cannot run, the Linter Compliance category is marked N/A.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/design-systems-slds-validate/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to design-systems-slds-validate

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

design-systems-slds-validate: common questions

Does this skill fix SLDS violations?

No. The skill only audits and scores. The source says fixing violations is handled by design-systems-slds2-migrate.

Does it replace a full accessibility audit?

No. The source says its accessibility checks only test attribute presence, such as labels, alt text and focus indicators. A full WCAG audit should use experience-accessibility-validate.

How is the grade calculated?

The automated score weights Linter Compliance at 30%, Theming and Accessibility at 20% each, and Code Quality and Component Usage at 15% each. Scores map to grades from A (90 to 100) to F (0 to 59).

How do I install design-systems-slds-validate?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is design-systems-slds-validate free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is design-systems-slds-validate safe to use?

It scores 79 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to design-systems-slds-validate?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

design-systems-slds-validate Install

Add to stack

Loading.