Skip to content
D

design-systems-slds2-migrate

Migrate Lightning Web Components from SLDS 1 to SLDS 2

by forcedotcomFree

#6462in AI Skills
0In stores

Description

design-systems-slds2-migrate is an agent skill for moving Lightning Web Components from SLDS 1 to SLDS 2. It runs the SLDS linter on the cod…

Highlights

  • Runs the SLDS linter and fixes what it reports
  • Maps hardcoded colors, spacing and sizing to SLDS 2 hooks
  • Covers typography, borders, radius and shadows
  • Careful with color hooks that depend on context

Ratings & Reviews

No ratings yet

Be the first to rate design-systems-slds2-migrate.

People also visit

U

uplifting-components-to-slds2

Migrate Lightning Web Components from SLDS 1 to SLDS 2

AI Skills
Get
D

design-systems-slds-validate

Audit Lightning Web Components for SLDS design-system compliance

AI Skills
Get
D

design-systems-slds-apply

Apply SLDS-compliant UI using the correct blueprints, styling hooks

AI Skills
Get
E

experience-lwc-generate

Lightning Web Components with PICKLES methodology and 165-point scoring

AI Skills
Get
G

generating-lwc-components

Lightning Web Components with PICKLES methodology and 165-point scoring

AI Skills
Get
E

experience-lwc-design-generate

Create a brand new Lightning Web Component from a Figma design

AI Skills
Get

design-systems-slds2-migrate FAQ

What does the migration change?

Hardcoded colors, spacing, sizing, typography, border and radius values, and shadows in Lightning Web Components, moved to matching SLDS 2 styling hooks.

Why are color hooks harder?

The right color hook depends on context, while most non-color hooks are numbered scales with simple mappings. The skill asks the agent to take more care with colors.

How do I install it?

Run npx skills add https://github.com/forcedotcom/sf-skills --skill design-systems-slds2-migrate in your project, then ask the agent to migrate a component or folder.

What tool does it run first?

The SLDS linter, which reports the violations the skill then fixes.

What do the security audits show?

Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Warn.

What are the best design-systems-slds2-migrate alternatives?

Popular alternatives to design-systems-slds2-migrate include uplifting-components-to-slds2, design-systems-slds-validate and design-systems-slds-apply. See all design-systems-slds2-migrate alternatives

Developer Stuff

Badges