Skip to content

forcedotcom/sf-skills / plugins/builder/experience-lwc/skills/experience-lwc-generate

experience-lwc-generate

Unverified

Lightning Web Components with PICKLES methodology and 165-point scoring. Use this skill when the user creates or edits LWC components, builds wire service patterns, or writes Jest tests for LWC. TRIGGER when: user creates/edits LWC components, touches lwc/**/*.js, .html, .css, .js-meta.xml files, or asks about wire service, SLDS, or Jest LWC tests. DO NOT TRIGGER when: Apex classes (use platform-apex-generate), Aura components, or Visualforce.

FileKindSize
README.mdmarkdown4.1 KB
SKILL.mdskill md9.6 KB
assets/apex-controller/LwcController.clsother12.0 KB
assets/basic-component/basicComponent.cssother1.5 KB
assets/basic-component/basicComponent.htmlother4.5 KB
assets/basic-component/basicComponent.jsscript7.3 KB
assets/basic-component/basicComponent.js-meta.xmlconfig4.5 KB
assets/datatable-component/datatableComponent.htmlother4.1 KB
assets/datatable-component/datatableComponent.jsscript13.1 KB
assets/flow-screen-component/flowScreenComponent.cssother1.7 KB
assets/flow-screen-component/flowScreenComponent.htmlother7.1 KB
assets/flow-screen-component/flowScreenComponent.jsscript13.9 KB
assets/flow-screen-component/flowScreenComponent.js-meta.xmlconfig3.9 KB
assets/form-component/formComponent.htmlother6.4 KB
assets/form-component/formComponent.jsscript11.3 KB
assets/graphql-component/graphqlComponent.htmlother4.8 KB
assets/graphql-component/graphqlComponent.jsscript10.7 KB
assets/jest-test/componentName.test.js.exampleother15.6 KB
assets/message-channel/RecordSelected.messageChannel-meta.xmlconfig2.4 KB
assets/message-channel/lmsPublisher.jsscript3.8 KB
assets/message-channel/lmsSubscriber.jsscript7.0 KB
assets/modal-component/modalComponent.htmlother3.2 KB
assets/modal-component/modalComponent.jsscript5.5 KB
assets/record-picker/recordPicker.htmlother2.0 KB
assets/record-picker/recordPicker.jsscript5.4 KB
assets/state-store/store.jsscript9.1 KB
assets/typescript-component/typescriptComponent.cssother1.3 KB
assets/typescript-component/typescriptComponent.htmlother4.3 KB
assets/typescript-component/typescriptComponent.js-meta.xmlconfig2.4 KB
assets/typescript-component/typescriptComponent.test.ts.exampleother13.6 KB
assets/typescript-component/typescriptComponent.tsscript11.7 KB
assets/workspace-api/workspaceComponent.htmlother3.4 KB
assets/workspace-api/workspaceComponent.jsscript8.0 KB
references/accessibility-guide.mdmarkdown22.3 KB
references/advanced-features.mdmarkdown2.8 KB
references/async-notification-patterns.mdmarkdown19.7 KB
references/cli-commands.mdmarkdown12.6 KB
references/component-patterns.mdmarkdown44.5 KB
references/flow-integration-guide.mdmarkdown19.0 KB
references/jest-testing.mdmarkdown25.3 KB
references/lms-guide.mdmarkdown21.9 KB
references/lwc-best-practices.mdmarkdown36.3 KB
references/performance-guide.mdmarkdown20.3 KB
references/scoring-and-testing.mdmarkdown3.8 KB
references/slds-blueprints.jsonconfig781.3 KB
references/slds-design-guide.mdmarkdown10.7 KB
references/state-management.mdmarkdown19.9 KB
references/template-anti-patterns.mdmarkdown20.1 KB
references/triangle-pattern.mdmarkdown12.5 KB
scripts/local-dev-preview.shscript1.1 KB
scripts/lwc-lsp-validate.pyscript8.6 KB
scripts/post-tool-validate.pyscript14.7 KB
scripts/slds_data/deprecated_patterns.jsonconfig3.4 KB
scripts/slds_data/styling_hooks.jsonconfig2.9 KB
scripts/slds_data/valid_slds_classes.jsonconfig7.4 KB
scripts/slds_linter_wrapper.pyscript8.9 KB
scripts/slds_rules/__init__.pyscript593 B
scripts/template_validator.pyscript13.5 KB
scripts/validate_slds.pyscript26.5 KB

scripts/slds_data/valid_slds_classes.json

View on GitHub
{
  "spacing_padding": [
    "slds-p-around_none", "slds-p-around_xxx-small", "slds-p-around_xx-small",
    "slds-p-around_x-small", "slds-p-around_small", "slds-p-around_medium",
    "slds-p-around_large", "slds-p-around_x-large", "slds-p-around_xx-large",
    "slds-p-horizontal_none", "slds-p-horizontal_xxx-small", "slds-p-horizontal_xx-small",
    "slds-p-horizontal_x-small", "slds-p-horizontal_small", "slds-p-horizontal_medium",
    "slds-p-horizontal_large", "slds-p-horizontal_x-large", "slds-p-horizontal_xx-large",
    "slds-p-vertical_none", "slds-p-vertical_xxx-small", "slds-p-vertical_xx-small",
    "slds-p-vertical_x-small", "slds-p-vertical_small", "slds-p-vertical_medium",
    "slds-p-vertical_large", "slds-p-vertical_x-large", "slds-p-vertical_xx-large",
    "slds-p-top_none", "slds-p-top_xxx-small", "slds-p-top_xx-small",
    "slds-p-top_x-small", "slds-p-top_small", "slds-p-top_medium",
    "slds-p-top_large", "slds-p-top_x-large", "slds-p-top_xx-large",
    "slds-p-bottom_none", "slds-p-bottom_xxx-small", "slds-p-bottom_xx-small",
    "slds-p-bottom_x-small", "slds-p-bottom_small", "slds-p-bottom_medium",
    "slds-p-bottom_large", "slds-p-bottom_x-large", "slds-p-bottom_xx-large",
    "slds-p-left_none", "slds-p-left_xxx-small", "slds-p-left_xx-small",
    "slds-p-left_x-small", "slds-p-left_small", "slds-p-left_medium",
    "slds-p-left_large", "slds-p-left_x-large", "slds-p-left_xx-large",
    "slds-p-right_none", "slds-p-right_xxx-small", "slds-p-right_xx-small",
    "slds-p-right_x-small", "slds-p-right_small", "slds-p-right_medium",
    "slds-p-right_large", "slds-p-right_x-large", "slds-p-right_xx-large"
  ],
  "spacing_margin": [
    "slds-m-around_none", "slds-m-around_xxx-small", "slds-m-around_xx-small",
    "slds-m-around_x-small", "slds-m-around_small", "slds-m-around_medium",
    "slds-m-around_large", "slds-m-around_x-large", "slds-m-around_xx-large",
    "slds-m-horizontal_none", "slds-m-horizontal_xxx-small", "slds-m-horizontal_xx-small",
    "slds-m-horizontal_x-small", "slds-m-horizontal_small", "slds-m-horizontal_medium",
    "slds-m-horizontal_large", "slds-m-horizontal_x-large", "slds-m-horizontal_xx-large",
    "slds-m-vertical_none", "slds-m-vertical_xxx-small", "slds-m-vertical_xx-small",
    "slds-m-vertical_x-small", "slds-m-vertical_small", "slds-m-vertical_medium",
    "slds-m-vertical_large", "slds-m-vertical_x-large", "slds-m-vertical_xx-large",
    "slds-m-top_none", "slds-m-top_xxx-small", "slds-m-top_xx-small",
    "slds-m-top_x-small", "slds-m-top_small", "slds-m-top_medium",
    "slds-m-top_large", "slds-m-top_x-large", "slds-m-top_xx-large",
    "slds-m-bottom_none", "slds-m-bottom_xxx-small", "slds-m-bottom_xx-small",
    "slds-m-bottom_x-small", "slds-m-bottom_small", "slds-m-bottom_medium",
    "slds-m-bottom_large", "slds-m-bottom_x-large", "slds-m-bottom_xx-large",
    "slds-m-left_none", "slds-m-left_xxx-small", "slds-m-left_xx-small",
    "slds-m-left_x-small", "slds-m-left_small", "slds-m-left_medium",
    "slds-m-left_large", "slds-m-left_x-large", "slds-m-left_xx-large",
    "slds-m-right_none", "slds-m-right_xxx-small", "slds-m-right_xx-small",
    "slds-m-right_x-small", "slds-m-right_small", "slds-m-right_medium",
    "slds-m-right_large", "slds-m-right_x-large", "slds-m-right_xx-large"
  ],
  "grid": [
    "slds-grid", "slds-grid_align-center", "slds-grid_align-spread",
    "slds-grid_align-space", "slds-grid_align-end", "slds-grid_vertical",
    "slds-grid_vertical-reverse", "slds-grid_reverse", "slds-grid_pull-padded",
    "slds-grid_pull-padded-medium", "slds-grid_pull-padded-large",
    "slds-col", "slds-col_padded", "slds-col_padded-medium", "slds-col_padded-large",
    "slds-col_bump-left", "slds-col_bump-right", "slds-col_bump-top", "slds-col_bump-bottom",
    "slds-wrap", "slds-nowrap", "slds-gutters", "slds-gutters_small",
    "slds-gutters_medium", "slds-gutters_large", "slds-gutters_x-large"
  ],
  "text": [
    "slds-text-heading_small", "slds-text-heading_medium", "slds-text-heading_large",
    "slds-text-title", "slds-text-title_caps", "slds-text-title_bold",
    "slds-text-body_regular", "slds-text-body_small",
    "slds-text-color_default", "slds-text-color_weak", "slds-text-color_error",
    "slds-text-color_success", "slds-text-color_inverse", "slds-text-color_inverse-weak",
    "slds-text-align_left", "slds-text-align_center", "slds-text-align_right",
    "slds-text-longform", "slds-text-link", "slds-text-link_reset",
    "slds-truncate", "slds-truncate_container_50", "slds-truncate_container_75",
    "slds-hyphenate", "slds-line-clamp", "slds-line-clamp_x-small",
    "slds-line-clamp_small", "slds-line-clamp_medium", "slds-line-clamp_large"
  ],
  "visibility": [
    "slds-hide", "slds-show", "slds-hidden", "slds-visible",
    "slds-assistive-text", "slds-is-collapsed", "slds-is-expanded",
    "slds-transition-hide", "slds-transition-show"
  ],
  "interaction": [
    "slds-is-active", "slds-is-selected", "slds-is-disabled",
    "slds-is-hovered", "slds-is-focused", "slds-is-open", "slds-is-closed",
    "slds-has-error", "slds-has-focus", "slds-has-input-focus"
  ],
  "components": [
    "slds-button", "slds-button_neutral", "slds-button_brand", "slds-button_destructive",
    "slds-button_outline-brand", "slds-button_success", "slds-button_text-destructive",
    "slds-button_icon", "slds-button_icon-inverse", "slds-button_icon-border",
    "slds-button_stretch", "slds-button_first", "slds-button_middle", "slds-button_last",
    "slds-input", "slds-input_bare", "slds-input_counter",
    "slds-select", "slds-select_container", "slds-textarea",
    "slds-checkbox", "slds-checkbox_toggle", "slds-radio",
    "slds-form", "slds-form_compound", "slds-form_stacked", "slds-form_horizontal",
    "slds-form-element", "slds-form-element__label", "slds-form-element__control",
    "slds-form-element__help", "slds-form-element__icon",
    "slds-card", "slds-card_boundary", "slds-card__header", "slds-card__body",
    "slds-card__body_inner", "slds-card__footer",
    "slds-modal", "slds-modal_large", "slds-modal_medium", "slds-modal__container",
    "slds-modal__header", "slds-modal__content", "slds-modal__footer",
    "slds-notify", "slds-notify_container", "slds-notify_toast",
    "slds-notify__content", "slds-notify__close",
    "slds-table", "slds-table_bordered", "slds-table_col-bordered",
    "slds-table_striped", "slds-table_fixed-layout", "slds-table_resizable-cols",
    "slds-table__cell", "slds-table__header",
    "slds-tile", "slds-tile_board", "slds-tile__detail", "slds-tile__title",
    "slds-item", "slds-item_detail"
  ],
  "positioning": [
    "slds-is-relative", "slds-is-absolute", "slds-is-fixed", "slds-is-static",
    "slds-float_left", "slds-float_right", "slds-float_none", "slds-clearfix",
    "slds-align_absolute-center", "slds-align-middle"
  ],
  "borders": [
    "slds-border_bottom", "slds-border_left", "slds-border_right", "slds-border_top",
    "slds-box", "slds-box_x-small", "slds-box_small", "slds-box_medium", "slds-box_large"
  ],
  "illustrations": [
    "slds-illustration", "slds-illustration_small", "slds-illustration_large"
  ],
  "alerts": [
    "slds-alert", "slds-alert_error", "slds-alert_warning", "slds-alert_info",
    "slds-alert_offline", "slds-alert_texture"
  ],
  "badges": [
    "slds-badge", "slds-badge_inverse", "slds-badge_lightest"
  ],
  "spinners": [
    "slds-spinner", "slds-spinner_brand", "slds-spinner_inverse",
    "slds-spinner_x-small", "slds-spinner_small", "slds-spinner_medium", "slds-spinner_large",
    "slds-spinner_container", "slds-spinner_delayed"
  ]
}
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall