Skip to content
Kitbay

experience-lwc-design-generate

Apache-2.0Updated on Nov 6, 20261,156GitHub starsIncludes scripts

A Salesforce skill that coordinates building a Lightning Web Component from scratch, starting from a Figma file, a requirements document or a screenshot.

What the skill teaches

A Salesforce skill that coordinates building a Lightning Web Component from scratch, starting from a Figma file, a requirements document or a screenshot. It runs five phases in order: gathering requirements, generating the component code, optimising it, linting, formatting and compile-checking, and writing tests. Along the way it calls on other skills in the library for SLDS styling, Lightning Data Service, base components and testing. Bundled shell scripts check the component name and detect which tools the project uses. It is for fresh components only, not for refactoring an existing one. ESLint, Prettier and Python 3 are listed as tools it uses.

Capabilities

  • Build a new LWC from a Figma design or PRD
  • Run lint, format and compile checks on generated code
  • Create tests for the new component
  • Check component names and detect project tooling