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.
scripts/local-dev-preview.sh
View on GitHub#!/usr/bin/env bash
# Local Development Server — preview LWC components with hot reload (no deployment needed).
# Requires an active org connection. Commands install just-in-time on first run and open
# a browser with live preview. Changes to .js, .html, and .css files auto-reload instantly.
#
# Usage: Pass --target-org <alias> and choose the mode that matches your use case.
TARGET_ORG="${1:-}"
if [ -z "$TARGET_ORG" ]; then
echo "Usage: $0 <org-alias> [component|app|site]"
echo " component Preview a single LWC component in isolation (default)"
echo " app Preview a Lightning Experience app locally"
echo " site Preview an Experience Cloud site locally"
exit 1
fi
MODE="${2:-component}"
case "$MODE" in
component)
sf lightning dev component --target-org "$TARGET_ORG"
;;
app)
sf lightning dev app --target-org "$TARGET_ORG"
;;
site)
sf lightning dev site --target-org "$TARGET_ORG"
;;
*)
echo "Unknown mode: $MODE. Choose one of: component, app, site"
exit 1
;;
esac
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 |