generating-lwc-components

generating-lwc-components

热门

基于PICKLES方法论和165分评分的Lightning Web Components。当用户创建或编辑LWC组件、构建wire service模式或为LWC编写Jest测试时使用此技能。触发条件:用户创建/编辑LWC组件,涉及lwc/**/*.js、.html、.css、.js-meta.xml文件,或询问关于wire service、SLDS或Jest LWC测试。不触发条件:Apex类(使用generating-apex)、Aura组件或Visualforce。

766Star
280Fork
更新于 2026/7/24
SKILL.md
readonly只读
name
generating-lwc-components
description

基于PICKLES方法论和165分评分的Lightning Web Components。当用户创建或编辑LWC组件、构建wire service模式或为LWC编写Jest测试时使用此技能。触发条件:用户创建/编辑LWC组件,涉及lwc/**/*.js、.html、.css、.js-meta.xml文件,或询问关于wire service、SLDS或Jest LWC测试。不触发条件:Apex类(使用generating-apex)、Aura组件或Visualforce。

generating-lwc-components:Lightning Web Components 开发

当用户需要Lightning Web Components时使用此技能:LWC组件包、wire模式、Apex/GraphQL集成、SLDS 2样式、可访问性、性能优化或Jest单元测试。

此技能负责的任务

当工作涉及以下内容时,使用generating-lwc-components

  • lwc/**/*.js.html.css.js-meta.xml

  • 组件脚手架和组件包设计

  • wire service、Apex集成、GraphQL集成

  • SLDS 2、暗色模式和可访问性工作

  • LWC的Jest单元测试

当用户处于以下情况时,委托给其他技能: