Platform Custom Lightning Type Generate
Custom Lightning Types definition skill that drafts JSON Schema for Agentforce actions and Lightning renderers.
- CCM score
- 75 of 100
- skills.sh installs
- 5.9K
- GitHub stars
- 1.2K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers CLT generation for Einstein Agent action inputs and outputs, from schema drafting through editor and renderer configuration
- Enforces the CLT metaschema rules, including no
$schemafield,unevaluatedProperties: false, and restricted list and nested-array handling - Provides a primitive-type reference and a CLT-reference pattern (
c__<CLTName>) for reusable nested objects deployed separately - Designed for work involving
lightning__objectTypeschemas, Apex-class CLTs, or custom LWC renderers, while widget bundles route to the coordinator skill
Install
$ npx -y skills add forcedotcom/sf-skills --skill platform-custom-lightning-type-generate -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
When to Use This Skill
Use this skill when you need to:
- Create Custom Lightning Types (CLTs) for structured inputs/outputs
- Generate JSON Schema-based type definitions for Lightning Platform
- Configure CLTs for Einstein Agent actions
- Set up editor and renderer configurations for custom UI
- Troubleshoot deployment errors related to Custom Lightning Types
Specification
CustomLightningType Metadata Specification
Overview & Purpose
Custom Lightning Types (CLTs) are JSON Schema-based type definitions used by the Lightning Platform (including Einstein Agent actions) to describe structured inputs/outputs and drive editor/renderer experiences.
Details
- Repository
- github.com/forcedotcom/sf-skills
- Category
- AI Agents & LLM Apps
- First seen
- Jul 14, 2026
Questions
What does the platform-custom-lightning-type-generate skill do?
It creates Custom Lightning Types (CLTs), which are JSON Schema-based type definitions for structured inputs and outputs of Einstein Agent actions. It can also set up editor and renderer configurations for custom UI, and helps troubleshoot CLT deployment errors.
How do I install the platform-custom-lightning-type-generate skill?
Run npx -y skills add forcedotcom/sf-skills --skill platform-custom-lightning-type-generate -y in a project. The skill then lets the agent generate CLT schema files that follow the strict Custom Lightning Type metaschema rules.
Who is this skill for, and when should I use it?
It is for Salesforce developers who build Einstein Agent actions or need JSON schemas for agents. Use it when you mention CLT, Custom Lightning Types, lightning__objectType, or editor and renderer configurations. For widget renditions that combine a CLT with a Widget bundle, the page notes that a separate coordinator skill is the better fit.
More from forcedotcom/sf-skills
All 78- Agentforce Test5.8K
- Agentforce Observe5.8K
- Platform Lightning App Coordinate5.8K
- Design Systems Slds2 Migrate5.8K
- External Diagram Mermaid Generate5.7K
- Integration Connectivity Connected App Configure5.6K
- Integration Connectivity Generate5.6K
- Agentforce D360 Analyze5.4K
- Experience Ui Bundle Frontend Generate5.4K
- Platform Tracing Configure5.4K
- Experience Ui Bundle Metadata Generate5.3K
- Platform Value Set Generate5.3K
- Experience Ui Bundle App Coordinate5.3K
- Experience Ui Bundle Deploy5.3K
- Experience Ui Bundle Salesforce Data Access5.3K
- Platform Tracing Agentforce Configure5.3K
- Dx App Analytics Query5.3K
- Experience Ui Bundle Custom App Generate5.3K
- Integration Eventing Cdc Configure5.3K
- Integration Eventing Subscription Configure5.3K
- Platform Trust Archive Manage5.3K
- Experience Ui Bundle File Upload Generate5.2K
- Experience Ui Bundle Features Generate5.2K
- Dx Devops Test Failures Analyze5.2K
Similar to Platform Custom Lightning Type Generate
More AI Agents & LLM Appsagentforce-observeforcedotcom/sf-skills5.8K installsAnalyze production Agentforce agent behavior using session traces and Data Cloud. TRIGGER when: user queries STDM session data or Data Cloud trace records; inve
cloudassistant-ui/skills5.5K installsSets up assistant-ui Cloud persistence and authorization with the assistant-cloud package and AssistantCloud client. Use when adding cross-session thread/messag
langsmith-evaluatorlangchain-ai/langsmith-skills5.3K installsINVOKE THIS SKILL when building evaluation pipelines for LangSmith. Covers three core components: (1) Creating Evaluators - LLM-as-Judge, custom code; (2) Defin
platform-tracing-agentforce-configureforcedotcom/sf-skills5.3K installsGenerate AgentforcePlatformTracingSettings metadata to enable or disable Agentforce agent execution trace spans flowing to Data Cloud. Use this skill for any Ag
langsmith-tracelangchain-ai/langsmith-skills5.3K installsINVOKE THIS SKILL when working with LangSmith tracing OR querying traces. Covers adding tracing to applications and querying/exporting trace data. Uses the lang
rag-architectjeffallan/claude-skills5.2K installsDesigns and implements production-grade RAG systems by chunking documents, generating embeddings, configuring vector stores, building hybrid search pipelines, a