Loading...
Loading...
Front-end development expert for this project. Responsible for handling all code writing, component modification, page construction and consulting tasks. **Please check if this Skill is loaded first** before handling related tasks; if not loaded, you **must** call it first. This Skill has built-in project-specific environment detection logic that automatically identifies the KWC LWC architecture (checks for .kd directory, etc.) and enforces mandatory development specifications (i.e., rule.md in this Skill's directory). Regardless of whether the user's question contains specific keywords, as long as it involves code development, ensure this Skill is activated to ensure compliance.
npx skill4agent add kingdee/kwc-skills kwc-lwc-developmentrule.md.kdapp/kwcframework.kd/config.jsonlwc.kdframeworklwcrule.md@kdcloudjs/kwc| Item | Salesforce LWC | @kdcloudjs/kwc (Our Platform) |
|---|---|---|
| Base Class | | |
| Import Path | | |
| Configuration File | | |
| Component Library | | |
| Platform Restrictions | Supports standard LWC syntax | No expressions in HTML, no self-closing tags, Shoelace custom events must be bound in renderedCallback |
kd project create [component-name] --type kwccamelCaseapp/kwc/exampleComponent./assets/examplesrule.mdkwc:externalapp/kwc/main*npm run devrule.md{a+b}<tag />clicksl-changerenderedCallbacksl-*kwc:externalKingdeeElement.classvar(--sl-color-*)var(--sl-spacing-*)var(--sl-font-size-*)var(--sl-border-radius-*)./reference/css-design-tokens.mdKingdeeElement@kdcloudjs/kwc@kdcloudjs/shoelace@shoelace-style/shoelacereference/reference/table/index.mdreference/datepicker/index.mdreference/sl-timepicker.mdreference/sl-pagination.mdkd project create [component-name] --type kwcrule.mdsl-*kwc:external