
Generating Custom Lightning Type
This handles the surprisingly complex world of Custom Lightning Types for Einstein Agent actions and structured data schemas. If you're wiring up agent inputs/outputs or building custom UI components on Lightning Platform, you'll need JSON Schema with Lightning-specific extensions, and the validation rules are strict and often counterintuitive. Arrays are especially tricky since the metaschema rejects most standard JSON Schema patterns. The skill knows when to use CLT references versus Apex class types versus primitives, and crucially, it understands the editor/renderer configuration format including the root override pattern with attribute mapping. Save yourself the deployment errors and reference this before you write schema.json by hand.
- skills.sh installs
- 3.9K
- GitHub stars
- 1.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add forcedotcom/sf-skills --skill generating-custom-lightning-type --agent claude-codeInstalls into .claude/skills of the current project.
Files
This handles the surprisingly complex world of Custom Lightning Types for Einstein Agent actions and structured data schemas. If you're wiring up agent inputs/outputs or building custom UI components on Lightning Platform, you'll need JSON Schema with Lightning-specific extensions, and the validation rules are strict and often counterintuitive. Arrays are especially tricky since the metaschema rejects most standard JSON Schema patterns. The skill knows when to use CLT references versus Apex class types versus primitives, and crucially, it understands the editor/renderer configuration format including the root override pattern with attribute mapping. Save yourself the deployment errors and reference this before you write schema.json by hand.
Browse the repository on GitHubSponsors
Details
- Repository
- github.com/forcedotcom/sf-skills
- Categories
- Frontend Development, AI & Agent Building, Automation & Workflows
- First seen
- Jun 3, 2026
More from forcedotcom/sf-skills
All 158- Generating List View3.9K
- Generating Validation Rule3.9K
- Data360 Query3.8K
- Data360 Connect3.8K
- Data360 Activate3.8K
- Data360 Prepare3.8K
- Data360 Harmonize3.8K
- Data360 Orchestrate3.8K
- Data360 Segment3.8K
- Developing Agentforce3.8K
- Switching Org3.7K
- Generating Ui Bundle Metadata3.7K
- Building Ui Bundle App3.7K
- Building Ui Bundle Frontend3.7K
- Generating Ui Bundle Features3.7K
- Deploying Ui Bundle3.6K
- Generating Ui Bundle Site3.6K
- Testing Agentforce3.6K
- Observing Agentforce3.6K
- Uplifting Components To Slds23.6K
- Searching Media3.6K
- Using Ui Bundle Salesforce Data3.6K
- Implementing Ui Bundle File Upload3.5K
- Implementing Ui Bundle Agentforce Conversation Client3.5K