What problem does it solve? Creating Custom Lightning Types (CLTs) for Salesforce Einstein Agent actions requires strict adherence to a restrictive metaschema, and small mistakes like using items on arrays or adding examples cause cryptic deployment failures. This Skill encodes the validation rules, bundle structure, and deployment error fixes so CLTs deploy correctly. ## Core Features & Use Cases - Schema Generation: Produces valid schema.json files with correct root object requirements, primitive lightning:type identifiers, and CLT reference patterns (c__<CLTName>) for nested objects. - Editor/Renderer Configuration: Creates editor.json and renderer.json using componentOverrides and layout patterns, including custom LWC component bindings with {!$attrs.<name>} mappings. - Deployment Troubleshooting: Maps common deployment errors (unknown keywords, invalid targets, array rejections) to concrete fixes. - Use Case: When building an Einstein Agent action that returns a structured list of records, use this Skill to generate the CLT bundle, configure a custom LWC renderer with the lightning__AgentforceOutput target, and deploy without validation errors. ## Quick Start Ask the agent to create a Custom Lightning Type schema for your Einstein Agent action, describing the fields and any nested objects or custom UI components you need.