What problem does it solve? Creating Custom Lightning Types (CLTs) for Salesforce Einstein Agent actions requires strict adherence to a metaschema with many non-obvious validation rules, and small mistakes like including $schema or items cause deployment failures. This Skill encodes the full CLT specification, generation workflow, and error-fix mappings so deployments validate on the first attempt. ## Core Features & Use Cases - Schema Generation: Produces valid schema.json files with correct root object structure, primitive lightning:type identifiers, CLT references (c__<CLTName>), and Apex class types (@apexClassType/...). - Editor & Renderer Configs: Creates editor.json and renderer.json using componentOverrides and layout patterns, including widget/mosaic rendition via a dedicated UEM workflow. - Deployment Troubleshooting: Maps common validation errors (unknown keywords, invalid targets, attribute mapping mismatches) to concrete fixes. - Use Case: When building an Einstein Agent action that returns structured output, use this Skill to generate the CLT bundle under lightningTypes/<TypeName>/ with schema, editor, and renderer files that pass org validation. ## Quick Start Ask the AI to create a Custom Lightning Type schema for an Einstein Agent action with the fields you need, and it will generate a deployable CLT bundle.