
uplifting-components-to-slds2
Migrate Lightning Web Components from SLDS 1 to SLDS 2
by forcedotcomFree
Description
uplifting-components-to-slds2 is an agent skill from the forcedotcom sf-skills collection for moving Lightning Web Components from SLDS 1 to SLDS 2. The agent runs the SLDS linter on the components and fixes the violations it reports, working through the styling hook categories. The categories are color, spacing, sizing, typography, border and radius, and shadow. Each one maps hardcoded values, such as colors, margins, widths, font settings, border radii and box shadows, to the SLDS 2 hook prefix for that category, for example --slds-g-color, --slds-g-spacing, --slds-g-sizing, --slds-g-font, --slds-g-radius-border and --slds-g-shadow. The skill notes that color hooks need the most judgment because the right one depends on context, while the non-color hooks are mostly numbered scales with straightforward mappings. It is for Lightning component migration work that mentions SLDS 2 or an SLDS upgrade. The skill is free and listed on skills.sh. Security audits show Gen Agent Trust Hub Pass, Socket Pass and Snyk Warn.…
Highlights
- Runs the SLDS linter on Lightning components
- Maps hardcoded values to SLDS 2 styling hooks
- Covers color, spacing, sizing, type, border and shadow
- Flags color hooks that need judgment
Ratings & Reviews
No ratings yet
Be the first to rate uplifting-components-to-slds2.
People also visit

design-systems-slds-validate
Audit Lightning Web Components for SLDS design-system compliance

design-systems-slds-apply
Apply SLDS-compliant UI using the correct blueprints, styling hooks

experience-lwc-generate
Lightning Web Components with PICKLES methodology and 165-point scoring

generating-lwc-components
Lightning Web Components with PICKLES methodology and 165-point scoring

experience-lwc-design-generate
Create a brand new Lightning Web Component from a Figma design
uplifting-components-to-slds2 FAQ
What does this skill do?
It helps an AI agent move Lightning Web Components from SLDS 1 to SLDS 2 by running the SLDS linter and fixing each violation with the matching styling hook.
Which styling hooks does it cover?
Color, spacing, sizing, typography, border and radius, and shadow hooks.
How do I install it?
Run: npx skills add https://github.com/forcedotcom/sf-skills --skill uplifting-components-to-slds2
What do the security audits say?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Warn.
What are the best uplifting-components-to-slds2 alternatives?
Popular alternatives to uplifting-components-to-slds2 include design-systems-slds2-migrate, design-systems-slds-validate and design-systems-slds-apply. See all uplifting-components-to-slds2 alternatives




