sf-industry-commoncore-callable-apex

Generates and reviews Salesforce Industries System.Callable Apex classes with a 120-point scoring rubric.

1|Updated May 7, 2026
One-click install
npx skills add https://github.com/amanpraaj/sf-skill-hub --skill sf-industry-commoncore-callable-apex-amanpraaj
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: sf-industry-commoncore-callable-apex
Source: https://github.com/amanpraaj/sf-skill-hub/tree/main/skills/salesforce/sf-industry-commoncore-callable-apex
Command: npx skills add https://github.com/amanpraaj/sf-skill-hub --skill sf-industry-commoncore-callable-apex-amanpraaj

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Building Apex callable classes for Salesforce Industries (OmniStudio/Vlocity) requires strict action dispatch, input validation, security enforcement, and consistent response envelopes, and teams often struggle to migrate legacy VlocityOpenInterface implementations to modern System.Callable patterns. ## Core Features & Use Cases - Callable Generation: Creates System.Callable classes with explicit switch-based action dispatch, typed exceptions, and a consistent success/data/errors response envelope. - Callable Review & Scoring: Audits existing implementations against a 120-point rubric across 7 categories including security, bulkification, and testing. - Legacy Migration: Converts VlocityOpenInterface and VlocityOpenInterface2 implementations to System.Callable while preserving action contracts and inputMap/options structure. - Use Case: When an Integration Procedure needs a custom Apex extension, use this Skill to generate a secure callable class with test coverage for positive, negative, contract, and bulk scenarios. ## Quick Start Ask the agent to create a System.Callable Apex class for your OmniStudio action, specifying the action names, input keys, and expected response shape.

Frequently Asked Questions about sf-industry-commoncore-callable-apex

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

FAQPage Schema
How do I create a System.Callable Apex class for OmniStudio?▼

Define explicit action strings, dispatch them with a switch statement in the call method, and delegate logic to private methods. Return a consistent envelope with success, data, and errors keys, and throw a typed exception for unsupported actions.

How to migrate VlocityOpenInterface to System.Callable in Salesforce?▼

Preserve methodName values as action strings, pass inputMap and options as keys in the args map, and return a response envelope instead of mutating outputMap. Keep the call method thin by delegating to the same internal private methods.

What is the difference between VlocityOpenInterface and System.Callable?▼

VlocityOpenInterface uses invokeMethod with methodName, inputMap, outputMap, and options, writing results into outputMap and returning a Boolean. System.Callable uses call with an action string and args map, returning the result object directly.

Does System.Callable support bulk inputs and governor limit safety?▼

Yes, callable classes should accept list inputs and avoid SOQL or DML inside loops. The scoring rubric dedicates 20 points to bulkification and limits, requiring list-capable actions and bulk test coverage.

When should I not use a callable Apex class?▼

Avoid callables for generic Apex triggers or classes unrelated to Industries extension points, and avoid long-running synchronous work where asynchronous processing fits better. Building Integration Procedures or OmniScripts themselves belongs to other dedicated skills.