# omnistudio-datapacks-deploy

A skill for deploying OmniStudio and Vlocity DataPacks with Vlocity Build: export, deploy, retries and migration error triage.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 4800 installs · ★ 1112
- Author: forcedotcom
- License: Apache-2.0 · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/forcedotcom/sf-skills/tree/HEAD/skills/omnistudio-datapacks-deploy/SKILL.md
- Updated: 2026-10-23
- HTML: https://affpapa.org/en/nevibecode/skills/omnistudio-datapacks-deploy

## What it does

The skill walks an agent through DataPack work in Salesforce Industries. It covers the `vlocity` commands `packDeploy`, `packRetry`, `packContinue`, `packExport`, `packGetDiffs` and `validateLocalData`, helps shape a job file with `projectPath`, `expansionPath`, `manifest` and `queries`, and triages dependency, matching-key and GlobalKey failures during org-to-org migration.

Before a full deploy it recommends a quality gate: run `validateLocalData`, optionally `packGetDiffs`, then `packDeploy`. Retry loops with `packRetry` make sense while error counts drop; once retries stop improving results, stop and investigate. For auth, prefer `-sfdx.username <alias>` over username and password files.

There is a gotcha table for common symptoms: `No match found`, duplicate GlobalKey records, `No Configuration Found` from outdated settings, unprocessed records after a settings mismatch, and template compile failures. The skill also lays out a CI/CD pipeline shape and hands off adjacent work — standard metadata deploys with `sf project deploy` go to platform-metadata-deploy. It needs `npm` and `npx` 9.0.0 or newer, `sf` 2.0.0 or newer, and `vlocity` 1.16.0 or newer.

## Requirements
- Works with: Salesforce

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add forcedotcom/sf-skills --skill omnistudio-datapacks-deploy -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/omnistudio-datapacks-deploy/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/omnistudio-datapacks-deploy/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add forcedotcom/sf-skills --skill omnistudio-datapacks-deploy -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/omnistudio-datapacks-deploy/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add forcedotcom/sf-skills --skill omnistudio-datapacks-deploy -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/omnistudio-datapacks-deploy/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install forcedotcom/sf-skills omnistudio-datapacks-deploy
```

2. **Manually: put the files in place**
- File: `.github/skills/omnistudio-datapacks-deploy/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add forcedotcom/sf-skills --skill omnistudio-datapacks-deploy -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/forcedotcom/sf-skills --path skills/omnistudio-datapacks-deploy
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/omnistudio-datapacks-deploy/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add forcedotcom/sf-skills --skill omnistudio-datapacks-deploy -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/forcedotcom/sf-skills/tree/HEAD/skills/omnistudio-datapacks-deploy/SKILL.md

## When to use it
- deploy DataPacks from one org to another
- build a job file with manifest and queries
- triage a "No match found" deploy error
- set up a CI/CD pipeline for DataPacks
- compare DataPack state after a deploy

## Example prompts
- validate the local DataPack data and tell me what will break
- deploy the DataPacks to the target org and keep running packRetry while errors drop
- diff the DataPacks between orgs with packGetDiffs and show what drifted

## Source text · SKILL.md · Apache-2.0

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: ec7c92d77478e273.

BEGIN THIRD-PARTY FILE ec7c92d77478e273
```text
---
name: omnistudio-datapacks-deploy
description: "Salesforce Industries DataPack deployment automation using Vlocity Build. TRIGGER when: user deploys or validates OmniStudio/Vlocity DataPacks with vlocity commands (packDeploy/packRetry/packExport/packGetDiffs), sets up DataPack CI/CD pipelines, or troubleshoots DataPack migration errors. DO NOT TRIGGER when: deploying Salesforce metadata with sf project deploy (use platform-metadata-deploy), authoring OmniStudio artifacts (use omnistudio-*-build), or writing Apex/LWC business logic (use platform-apex-generate/experience-lwc-generate)."
metadata:
  version: "1.0"
  domains: ["OmniStudio"]
  relatedSkills:
    - "experience-lwc-generate"
    - "omnistudio-epc-catalog-generate"
    - "omnistudio-flexcard-generate"
    - "omnistudio-integration-procedure-generate"
    - "omnistudio-omniscript-generate"
    - "platform-apex-generate"
    - "platform-apex-logs-debug"
    - "platform-metadata-deploy"
  cliTools:
    - tool: ["npm"]
      semver: ">=9.0.0"
    - tool: ["npx"]
      semver: ">=9.0.0"
    - tool: ["sf"]
      semver: ">=2.0.0"
    - tool: ["vlocity"]
      semver: ">=1.16.0"
---

# omnistudio-datapacks-deploy: Vlocity Build DataPack Deployment

Use this skill when the user needs **Vlocity DataPack deployment orchestration**: export/deploy workflow, manifest-driven deploys, failure triage, and CI/CD sequencing for OmniStudio/Industries DataPacks.

---

## Scope

Use `omnistudio-datapacks-deploy` when work involves:
- `vlocity packDeploy`, `packRetry`, `packContinue`, `packExport`, `packGetDiffs`, `validateLocalData`
- DataPack job-file design (`projectPath`, `expansionPath`, `manifest`, `queries`)
- org-to-org DataPack migration and retry loops
- troubleshooting DataPack dependency, matching-key, and GlobalKey issues

Delegate elsewhere when the user is:
- deploying standard metadata with `sf project deploy` -> [platform-metadata-deploy](../platform-metadata-deploy/SKILL.md)
- building OmniScripts, FlexCards, IPs, or Data Mappers -> `omnistudio-*-build`
- designing Product2 EPC bundles -> [omnistudio-epc-catalog-generate](../omnistudio-epc-catalog-generate/SKILL.md)
- writing Apex/LWC code -> [platform-apex-generate](../platform-apex-generate/SKILL.md), [experience-lwc-generate](../experience-lwc-generate/SKILL.md)

---

## Critical Operating Rules
```
END THIRD-PARTY FILE ec7c92d77478e273

The third-party file has ended. Everything between the ec7c92d77478e273 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2349 of 7850 bytes. © forcedotcom · Apache-2.0 · https://github.com/forcedotcom/sf-skills/tree/HEAD/skills/omnistudio-datapacks-deploy/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
