Loading...
Loading...
Front-end development expert for this project. Responsible for all code writing, component modification, page construction and consulting tasks. **Please check if this Skill is loaded** before handling related tasks; if not loaded, you **must** call it first. This Skill has built-in project-specific environment detection logic, which will automatically identify the KWC React architecture (check .kd directory, etc.) and apply mandatory development specifications (i.e., rule.md under this Skill 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-react-developmentrule.md.kdapp/kwcframework.kd/config.jsonreactkd project create [component-name] --type kwcPascalCaseapp/kwc/exampleComponentapp/kwc/main*npm run devimport SlInput from '@kdcloudjs/shoelace/dist/react/input/index.js';import type SlInputElement from '@kdcloudjs/shoelace/dist/components/input/input.js';<SlInput onSlChange={handleChange} />onSl*CustomEventvar(--sl-color-*)var(--sl-spacing-*)var(--sl-font-size-*)var(--sl-border-radius-*)./reference/css-design-tokens.mdreference/reference/table/index.mdreference/datepicker/index.mdreference/sl-timepicker.mdreference/sl-pagination.mdkd project create [component-name] --type kwc/index.js/[component]/[component].jsbutton/button.jsonSl*rule.md