
Uplifting Components To Slds2
This handles the grunt work of migrating Lightning Web Components from SLDS 1 to SLDS 2 by running the linter, then walking you through fixes for each violation type. It covers all six styling hook categories (color, spacing, sizing, typography, borders, shadows) and knows the four main linter rules you'll hit: hardcoded values, deprecated LWC tokens, class overrides, and legacy token syntax. The class override fixes are easy to miss since they require changes to both CSS and markup, so it explicitly calls that out. Color hooks need context and judgment, while the numbered scales for spacing and sizing are mostly mechanical. Use it when you're staring at linter output and need the decision trees and fallback patterns to get to zero errors.
- skills.sh installs
- 3.6K
- GitHub stars
- 1.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add forcedotcom/sf-skills --skill uplifting-components-to-slds2 --agent claude-codeInstalls into .claude/skills of the current project.
Files
This handles the grunt work of migrating Lightning Web Components from SLDS 1 to SLDS 2 by running the linter, then walking you through fixes for each violation type. It covers all six styling hook categories (color, spacing, sizing, typography, borders, shadows) and knows the four main linter rules you'll hit: hardcoded values, deprecated LWC tokens, class overrides, and legacy token syntax. The class override fixes are easy to miss since they require changes to both CSS and markup, so it explicitly calls that out. Color hooks need context and judgment, while the numbered scales for spacing and sizing are mostly mechanical. Use it when you're staring at linter output and need the decision trees and fallback patterns to get to zero errors.
Browse the repository on GitHubSponsors
Details
- Repository
- github.com/forcedotcom/sf-skills
- Categories
- Frontend Development, Design & UI/UX
- First seen
- Jun 3, 2026
More from forcedotcom/sf-skills
All 158- Searching Media3.6K
- Using Ui Bundle Salesforce Data3.6K
- Implementing Ui Bundle File Upload3.5K
- Implementing Ui Bundle Agentforce Conversation Client3.5K
- Creating B2b Commerce Store3.3K
- Generating Lwc Components3.1K
- Querying Soql3K
- Debugging Apex Logs3K
- Deploying Metadata3K
- Fetching Salesforce Docs3K
- Running Apex Tests3K
- Handling Sf Data2.9K
- Building Sf Integrations2.9K
- Generating Mermaid Diagrams2.8K
- Configuring Connected Apps2.8K
- Generating Visual Diagrams2.8K
- Getting Datacloud Schema2.6K
- Developing Datacloud Code Extension2.5K
- Retrieving Datacloud2.5K
- Connecting Datacloud2.5K
- Activating Datacloud2.5K
- Harmonizing Datacloud2.5K
- Orchestrating Datacloud2.5K
- Preparing Datacloud2.5K