forcedotcom avatar

Experience Lwc Generate

This is the LWC skill for Salesforce's component framework. It triggers when you're building Lightning Web Components, touching anything in lwc folders, or working with wire services and Jest tests. Built around a PICKLES methodology and a 165-point scoring rubric, it covers component architecture, data patterns (LDS, Apex, GraphQL, LMS), SLDS 2 styling with dark mode support, accessibility checks, and Jest unit testing. The workflow pushes you to choose the right data access pattern first, validate for frontend quality, then hand off backend or deploy work to other skills. Includes a local dev server for hot reload preview and a reference library with component patterns, anti-patterns, and asset templates for common scenarios like datatables, Flow screens, and GraphQL pagination.

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

Install

$ npx -y skills add forcedotcom/sf-skills --skill experience-lwc-generate --agent claude-code

Installs into .claude/skills of the current project.

Files

experience-lwc-generate: Lightning Web Components Development

Use this skill when the user needs Lightning Web Components: LWC bundles, wire patterns, Apex/GraphQL integration, SLDS 2 styling, accessibility, performance work, or Jest unit tests.

When This Skill Owns the Task

Use experience-lwc-generate when the work involves:

  • lwc/**/*.js, .html, .css, .js-meta.xml
  • component scaffolding and bundle design
  • wire service, Apex integration, GraphQL integration
  • SLDS 2, dark mode, and accessibility work
  • Jest unit tests for LWC

Delegate elsewhere when the user is:


Required Context to Gather First

Sponsors

Details

Repository
github.com/forcedotcom/sf-skills
Categories
Frontend Development, Testing & QA
First seen
Jul 14, 2026

More from forcedotcom/sf-skills

All 158
1assistant-ui avatarsetupassistant-ui/skillsInstalls and configures assistant-ui in a project via the CLI, and picks the right runtime for a backend. Use for first-time install, scaffold, or config: `npx 6.3Kskills.sh installs
2forcedotcom avatarplatform-flexipage-generateforcedotcom/sf-skillsUse this skill when users need to create, generate, modify, or validate Salesforce Lightning pages (FlexiPages). Trigger when users mention RecordPage, AppPage,6.2Kskills.sh installs
3openai avatarimagegenopenai/skillsGenerate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-b6.2Kskills.sh installs
4forcedotcom avatardesign-systems-slds-applyforcedotcom/sf-skillsApply SLDS-compliant UI using the correct blueprints, styling hooks, utility classes, and icons. Use when building any UI that needs SLDS, choosing between Ligh6.1Kskills.sh installs
5julianoczkowski avatardesign-tokensjulianoczkowski/designer-skillsGenerate a design tokens file (CSS variables or Tailwind config) based on a chosen aesthetic philosophy, with light and dark mode palettes, spacing scale, type 6.1Kskills.sh installs
6assistant-ui avatarupdateassistant-ui/skillsUpgrades an existing assistant-ui project to current releases and executes the resulting migrations. Use when the user wants to update, upgrade, bump, or migrat6Kskills.sh installs