forcedotcom avatar

Design Systems Slds Validate

This audits Lightning Web Components against SLDS standards and spits out a scored quality report with letter grades. It runs the official SLDS linter for class overrides and hardcoded values, then layers on supplementary checks the linter doesn't cover: CSS theming hook pairing, invented hook detection against the actual metadata, accessibility attributes on Lightning base components, and common footguns like inline styles or clickable divs. The scoring is transparent, five categories with published weights, and it forces a manual review gate for things you can't automate like loading states and blueprint compliance. Use it when you need a pre-merge quality gate or want to benchmark component health before refactoring.

skills.sh installs
6K
GitHub stars
1.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add forcedotcom/sf-skills --skill design-systems-slds-validate --agent claude-code

Installs into .claude/skills of the current project.

Files

SLDS Quality Audit

Audit Lightning Web Components for SLDS compliance and produce an automated scorecard plus a required manual review gate. Combines SLDS linter output with supplementary static analysis to catch what the linter misses.

Scope

Also valid for: auditing SLDS compliance across a project or component set, and before/after quality comparison after making changes.

Not for:

  • Fixing linter violations — use design-systems-slds2-migrate instead
  • Building new components — use design-systems-slds-apply instead
  • Just running the linter — run npx @salesforce-ux/slds-linter@latest lint . directly
  • Full WCAG accessibility audit — this skill checks attribute presence only (labels, alt text, focus indicators), not contrast ratios, keyboard flows, or screen reader behavior
  • Framework-specific template auditing beyond .css, .html, and .js files — JSX/TSX/Vue/Svelte outputs need additional manual review

Quality Validation Process

Sponsors

Details

Repository
github.com/forcedotcom/sf-skills
Categories
Frontend Development, Git & Pull Requests, Code Review & Quality, Release Management, Design & UI/UX
First seen
Jul 14, 2026

More from forcedotcom/sf-skills

All 158
1forcedotcom avatarplatform-custom-application-generateforcedotcom/sf-skillsUse this skill when users need to create or configure tab-based Salesforce Custom Applications with navigation, branding, and action overrides. Trigger when use5.9Kskills.sh installs
2apollographql avatarapollo-clientapollographql/skillsGuide for building React applications with Apollo Client 4.x. Use this skill when: (1) setting up Apollo Client in a React project, (2) writing GraphQL queries 5.7Kskills.sh installs
3affaan-m avatarmotion-patternsaffaan-m/eccProduction-ready animation patterns for React / Next.js — button, modal, toast, stagger, page transitions, exit animations, scroll, and layout — built on motion5.7Kskills.sh installs
4forcedotcom avatardesign-systems-slds2-migrateforcedotcom/sf-skillsMigrate Lightning Web Components from SLDS 1 to SLDS 2 by running the SLDS linter and fixing violations. Use this skill whenever users mention SLDS 2, SLDS upli5.7Kskills.sh installs
5affaan-m avatarmotion-foundationsaffaan-m/eccMotion tokens, spring presets, performance rules, device adaptation, accessibility enforcement, and SSR safety for React / Next.js using motion/react. Foundatio5.7Kskills.sh installs
6affaan-m avatardocumentation-lookupaffaan-m/eccUse up-to-date library and framework docs via Context7 MCP instead of training data. Activates for setup questions, API references, code examples, or when the u5.7Kskills.sh installs