forcedotcom/sf-skills / skills/omnistudio-omniscript-generate
omnistudio-omniscript-generate
VerifiedOmniStudio OmniScript creation and validation with 120-point scoring. Use when building guided digital experiences, multi-step forms, or interactive processes that orchestrate Integration Procedures and Data Mappers. TRIGGER when: user creates OmniScripts, designs step flows, configures element types, or reviews existing OmniScript configurations. DO NOT TRIGGER when: building FlexCards (use omnistudio-flexcard-generate), creating Integration Procedures directly (use omnistudio-integration-procedure-generate), or analyzing dependencies (use omnistudio-dependencies-analyze).
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 21.8 KB |
| assets/omni-process-element-step.json | config | 663 B |
| assets/omni-process-element-text-block.json | config | 426 B |
| assets/omni-process-omniscript.json | config | 828 B |
| references/best-practices.md | markdown | 17.9 KB |
| references/element-types.md | markdown | 29.9 KB |
| scripts/check-duplicate-omniscript.sh | script | 845 B |
| scripts/cli-reference.sh | script | 1.3 KB |
| scripts/deploy-omniscript.sh | script | 1.5 KB |
scripts/check-duplicate-omniscript.sh
View on GitHub#!/bin/bash
# Verify no duplicate Type/SubType/Language exists before creating a new OmniScript.
# Usage: ./check-duplicate-omniscript.sh <Type> <SubType> <Language> <org>
# Example: ./check-duplicate-omniscript.sh ServiceRequest NewCase English myOrg
TYPE="${1:?Usage: $0 <Type> <SubType> <Language> <org>}"
SUBTYPE="${2:?}"
LANGUAGE="${3:?}"
ORG="${4:?}"
# Validate inputs to prevent SOQL injection
for var in "$TYPE" "$SUBTYPE" "$LANGUAGE"; do
if [[ ! "$var" =~ ^[a-zA-Z0-9_\ ]+$ ]]; then
echo "ERROR: Invalid input '$var'. Only alphanumeric, underscores, and spaces allowed." >&2
exit 1
fi
done
sf data query \
-q "SELECT Id,Name,Type,SubType,Language,IsActive,VersionNumber FROM OmniProcess WHERE Type='${TYPE}' AND SubType='${SUBTYPE}' AND Language='${LANGUAGE}' AND OmniProcessType='OmniScript' LIMIT 10" \
-o "${ORG}"
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |