Loading...
Loading...
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 generating-apex), Aura components, or Visualforce.
npx skill4agent add forcedotcom/afv-library generating-lwc-componentsgenerating-lwc-componentslwc/**/*.js.html.css.js-meta.xml| Need | Default pattern |
|---|---|
| single-record UI | LDS / |
| simple CRUD form | base record form components |
| complex server query | Apex |
| related graph data | GraphQL wire adapter |
| cross-DOM communication | Lightning Message Service |
@wirerenderedCallback()LWC work: <summary>
Pattern: <wire / apex / graphql / lms / flow-screen>
Files: <paths>
Quality: <a11y, SLDS2, dark mode, Jest>
Next step: <deploy, add controller, or run tests>scripts/local-dev-preview.sh.js.html.css| Need | Delegate to | Reason |
|---|---|---|
| Apex controller or service | generating-apex | backend logic |
| embed in Flow screens | generating-flow | declarative orchestration |
| deploy component bundle | deploying-metadata | org rollout |
| create supporting metadata (message channels, objects) | deploying-metadata | metadata deployment |
.example@AuraEnabled(cacheable=true)| Score | Meaning |
|---|---|
| 150+ | production-ready LWC bundle |
| 125–149 | strong component with minor polish left |
| 100–124 | functional but review recommended |
| < 100 | needs significant improvement |