building-omnistudio-callable-apex

Official

Generate secure OmniStudio callable Apex

Authorforcedotcom
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Automating OmniStudio/Industries integrations often breaks when callable Apex does not follow a consistent action contract, robust input validation, and secure execution patterns. This skill resolves that by producing and auditing deterministic System.Callable implementations (including legacy VlocityOpenInterface/VlocityOpenInterface2 migration guidance).

Core Features & Use Cases

  • Callable generation for Industries: Creates System.Callable classes with explicit, versionable action dispatch using switch on action and a consistent response envelope.
  • Callable review and remediation: Analyzes existing callable implementations against a 120-point scoring rubric and identifies contract, security, bulkification, and testing gaps.
  • Migration guidance (VlocityOpenInterface / VlocityOpenInterface2): Provides phase-based mapping from invokeMethod(methodName, inputMap, outputMap, options) into callable(action, args) patterns and outlines how callers must adjust to the returned envelope.
  • Testing examples: Produces test class patterns covering positive, negative, contract/validation, bulk, and unsupported-action behavior.

Quick Start

Use building-omnistudio-callable-apex to generate a System.Callable implementation by requesting: Create a callable implementation for Order actions with createOrder and cancelOrder.

Dependency Matrix

Required Modules

None required

Components

assets

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: building-omnistudio-callable-apex
Download link: https://github.com/forcedotcom/sf-skills/archive/main.zip#building-omnistudio-callable-apex

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.