
Design Systems Slds Apply
If you're building UI on Salesforce's Lightning Design System, this skill keeps you from inventing CSS hooks and classes that don't exist. The big win is verification scripts that check SLDS's actual 523 styling hooks, 1,147 utility classes, and 1,732 icons before you use them. It teaches the component selection hierarchy (Lightning Base Components first, then SLDS Blueprints, then custom with hooks) and calls out naming traps where developers assume patterns that aren't there, like `--slds-g-font-size-3` (doesn't exist, use `--slds-g-font-scale-1` instead). Pairs well with the separate validation skill for auditing existing code. Targets SLDS v2 and works across frameworks, though LWC gets the most love.
- skills.sh installs
- 6.1K
- GitHub stars
- 1.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add forcedotcom/sf-skills --skill design-systems-slds-apply --agent claude-codeInstalls into .claude/skills of the current project.
Files
Applying SLDS
The Salesforce Lightning Design System (SLDS) is a CSS framework with thousands of artifacts. This skill teaches agents how to find and correctly use them.
Version: This skill targets SLDS v2. Legacy
--lwc-*tokens andslds-*--modifiersyntax are deprecated.Audit scope: The companion
design-systems-slds-validateskill analyzer only scans.css,.html, and.jsfiles. Use it directly for LWC and similar HTML/CSS/JS components; treat it as a partial signal for JSX/TSX or other framework-specific template formats and supplement with manual review.
What is SLDS?
| Artifact | Count | Description |
|---|---|---|
| Lightning Base Components | ~70 | Pre-built LWC components (LWC only) |
| SLDS Blueprints | 85 | CSS/HTML patterns for any framework |
| Styling Hooks | 523 | CSS custom properties (--slds-g-*) for theming |
| Utility Classes | 1,147 | Rapid styling classes for spacing, layout, visibility |
| Icons | 1,732 | SVG icons across 5 categories |
Scope
Sponsors
Details
- Repository
- github.com/forcedotcom/sf-skills
- Categories
- Frontend Development, DevOps & CI/CD, Code Review & Quality, Design & UI/UX
- First seen
- Jul 14, 2026
More from forcedotcom/sf-skills
All 158- Design Systems Slds Validate6K
- Agentforce Generate6K
- Platform Custom Tab Generate6K
- Dx Code Analyzer Configure5.9K
- Platform Custom Application Generate5.9K
- Platform List View Generate5.9K
- Agentforce Architecture Analyze5.9K
- Dx Org Switch5.8K
- Dx Org Permission Set Assign5.8K
- Platform Custom Lightning Type Generate5.8K
- Agentforce Test5.8K
- Agentforce Observe5.8K
- Platform Lightning App Coordinate5.7K
- Design Systems Slds2 Migrate5.7K
- External Diagram Mermaid Generate5.6K
- Integration Connectivity Connected App Configure5.5K
- Integration Connectivity Generate5.5K
- Agentforce D360 Analyze5.4K
- Experience Ui Bundle Frontend Generate5.3K
- Platform Tracing Configure5.3K
- Experience Ui Bundle Metadata Generate5.3K
- Experience Ui Bundle App Coordinate5.3K
- Experience Ui Bundle Deploy5.3K
- Experience Ui Bundle Salesforce Data Access5.3K