Generate LWC from Requirements
sf_create_lwc_from_requirementsTurn plain-English requirements into a complete Lightning Web Component scaffold with HTML, JavaScript, CSS, and XML metadata. Review the code before deploying.
Instructions
Generates a complete LWC component scaffold (HTML template, JS controller, CSS, and meta XML) from a plain-English requirements description. Returns the generated code for review before deploying with sf_create_lwc.
componentName: LWC component name in camelCase requirements: plain-English description of what the component should do includeWireAdapters: include @wire adapter examples for data fetching targetObject: optional Salesforce object to bind to
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requirements | Yes | Plain-English description of what the component should do | |
| targetObject | No | Salesforce object to bind to, e.g. 'Account' | |
| componentName | Yes | LWC component name in camelCase, e.g. 'accountTile' | |
| includeWireAdapters | No | Include wire adapter examples in the component |