forcedotcom/sf-skills / plugins/builder/experience-lwc/skills/experience-lwc-generate
experience-lwc-generate
UnverifiedLightning 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.
assets/record-picker/recordPicker.html
View on GitHub<template>
<div class="slds-form-element">
<!-- Record Picker -->
<lightning-record-picker
label={label}
placeholder={placeholder}
object-api-name={objectApiName}
display-info={displayInfo}
matching-info={matchingInfo}
filter={filter}
disabled={pickerDisabled}
required={required}
onchange={handleChange}>
</lightning-record-picker>
<!-- Multi-select Pills -->
<template lwc:if={showPills}>
<div class="slds-m-top_x-small">
<!-- Selection count -->
<div class="slds-text-body_small slds-text-color_weak slds-m-bottom_xx-small">
{selectionCountMessage}
</div>
<!-- Pills container -->
<lightning-pill-container>
<template for:each={_selectedRecords} for:item="record">
<lightning-pill
key={record.id}
label={record.name}
data-id={record.id}
onremove={handleRemove}>
</lightning-pill>
</template>
</lightning-pill-container>
<!-- Clear All button -->
<template lwc:if={hasSelections}>
<lightning-button
label="Clear All"
variant="base"
class="slds-m-top_xx-small"
onclick={handleClearAll}>
</lightning-button>
</template>
</div>
</template>
<!-- Max selections warning -->
<template lwc:if={isMaxSelectionsReached}>
<div class="slds-text-color_weak slds-text-body_small slds-m-top_xx-small">
Maximum selections reached. Remove a selection to add more.
</div>
</template>
</div>
</template>
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| 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: 198k | Updated | Claude CodeCodex | Verified | Install |