generating-custom-lightning-type

Create and configure Custom Lightning Types for Einstein Agent actions.

Updated Apr 19, 2026
One-click install
npx skills add https://github.com/cchrisv/professorFlowVisualPicker --skill generating-custom-lightning-type
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generating-custom-lightning-type
Source: https://github.com/cchrisv/professorFlowVisualPicker/tree/main/.agents/skills/generating-custom-lightning-type
Command: npx skills add https://github.com/cchrisv/professorFlowVisualPicker --skill generating-custom-lightning-type

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

CLTs (Custom Lightning Types) provide structured inputs/outputs for Salesforce Lightning Platform and Einstein Agent actions. This skill guides you through designing, validating, and deploying CLTs and configuring editor/renderer behavior to ensure consistent data contracts and UI flows.

Core Features & Use Cases

  • Metadata specification and strict validation against the CLT metaschema to prevent invalid shapes.
  • JSON Schema-based type definitions for Lightning Platform integration and Einstein Agent actions.
  • Guidance for editor/renderer configurations and deployment troubleshooting to accelerate rollout.

Quick Start

Define a sample CLT and validate it against the metaschema to start using Custom Lightning Types immediately.

Frequently Asked Questions about generating-custom-lightning-type

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create custom lightning types for Einstein Agent actions?

To create custom lightning types for Einstein Agent, define a JSON Schema-based type definition and validate it against the CLT metaschema to enforce structured inputs and outputs. This process ensures consistent data contracts for Lightning Platform integrations.

What are the metaschema constraints for custom lightning type JSON schemas?

Custom lightning type JSON schemas must enforce root and nested object constraints, specific array handling rules, and allowed primitive types. Validating against the CLT metaschema prevents invalid shapes and ensures deployment compatibility for Einstein Agent actions.

How do I configure editor and renderer behavior for custom lightning types?

Configuring editor and renderer behavior for custom lightning types involves defining specific editor and renderer configurations within the CLT metadata. This workflow guides correct UI flows and ensures consistent structured data rendering across Lightning Platform integrations.

Why is my custom lightning type deployment failing on the Lightning Platform?

Custom lightning type deployment fails when the JSON Schema definition violates CLT metaschema rules, such as incorrect root object constraints or invalid array handling. Troubleshooting validates the schema structure and editor configurations to resolve the deployment errors.

When do I need structured inputs and outputs for Einstein Agent actions?

Structured inputs and outputs for Einstein Agent actions are needed when you require consistent data contracts and specific UI flows on the Lightning Platform. Defining custom lightning types enforces these structured data shapes using JSON Schema-based type definitions.