From jaganpro-sf-skills-7
Automates Vlocity DataPack deployment, validation, export, retry, and diffs for Salesforce Industries/OmniStudio using vlocity CLI commands like packDeploy and packRetry. For CI/CD pipelines and migration troubleshooting.
npx claudepluginhub jaganpro/sf-skillsThis skill uses the workspace's default tool permissions.
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.
CREDITS.mdLICENSEREADME.mdexamples/business-internet-plus-bundle-deploy/TRANSCRIPT.mdexamples/business-internet-plus-bundle-deploy/deploy-business-internet-plus-bundle.yamlexamples/business-internet-plus-bundle/TRANSCRIPT.mdexamples/business-internet-plus-bundle/deploy-business-internet-plus-bundle.yamlreferences/job-file-template.mdreferences/troubleshooting-matrix.mdAutomates Salesforce deployments using sf CLI v2: dry-run validation, metadata deploys/retrievals, scratch org/sandbox management, CI/CD pipelines, and error troubleshooting.
Provides expert patterns for Salesforce development: LWC with wire service and reactive data, bulkified Apex triggers and classes, REST/Bulk APIs, Connected Apps, Salesforce DX scratch orgs and 2GP.
Guides Salesforce data migrations using Bulk API 2.0, jsforce ETL, Data Loader for org-to-org transfers, CRM imports, and validation with TypeScript examples.
Share bugs, ideas, or general feedback.
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.
Use sf-vlocity-build-deploy when work involves:
vlocity packDeploy, packRetry, packContinue, packExport, packGetDiffs, validateLocalDataprojectPath, expansionPath, manifest, queries)Delegate elsewhere when the user is:
sf project deploy -> sf-deploysf-industry-commoncore-*vlocity) commands for DataPacks, not sf project deploy.-sfdx.username <alias>) over username/password files when available.validateLocalDatapackGetDiffspackDeploypackRetry repeatedly when error counts are dropping; stop when retries no longer improve results.Ask for or infer:
-key)%vlocity_namespace%, vlocity_cmt, or core)Preflight checks:
vlocity help
sf org list
sf org display --target-org <alias> --json
test -f <job-file>.yaml
npm install --global vlocity
vlocity help
vlocity -sfdx.username <source-alias> -job <job-file>.yaml validateLocalData
Use --fixLocalGlobalKeys only when explicitly requested and after explaining impact.
vlocity -sfdx.username <source-alias> -job <job-file>.yaml packExport
vlocity -sfdx.username <source-alias> -job <job-file>.yaml packRetry
vlocity -sfdx.username <target-alias> -job <job-file>.yaml packDeploy
vlocity -sfdx.username <target-alias> -job <job-file>.yaml packRetry
vlocity -sfdx.username <target-alias> -job <job-file>.yaml packContinue
vlocity -sfdx.username <target-alias> -job <job-file>.yaml packGetDiffs
Job-file starter: references/job-file-template.md
| Error / symptom | Likely cause | Default fix direction |
|---|---|---|
No match found for ... | missing dependency in target org | include missing DataPack key and redeploy |
Duplicate Results found for ... GlobalKey | duplicate records in target | clean duplicates and re-run deploy |
Multiple Imported Records ... same Salesforce Record | source duplicate matching-key records | remove duplicates in source and re-export |
No Configuration Found | outdated DataPack settings | run packUpdateSettings or enable autoUpdateSettings |
Some records were not processed | settings mismatch / partial dependency state | refresh settings both orgs, then retry |
| SASS / template compile failures | missing referenced UI template assets | export/deploy referenced template dependencies first |
Detailed matrix: references/troubleshooting-matrix.md
Default pipeline shape:
sf org login ...)validateLocalData)packExport or manifest-driven export)packDeploy)packRetry) until stablepackGetDiffs) and publish deployment reportFor incremental deploy optimization, use job-file options such as:
gitCheck: truegitCheckKey: <folder>manifest for deterministic scope control| Need | Delegate to | Reason |
|---|---|---|
| metadata deploy outside DataPacks | sf-deploy | Metadata API workflows |
| OmniStudio component authoring | sf-industry-commoncore-* | build artifacts before deploy |
| EPC product and offer payload authoring | sf-industry-cme-epc-model | Product2/DataPack model quality |
| Apex trigger/log error diagnosis | sf-debug, sf-apex | automation-side root-cause fixes |
DataPack goal: <export / deploy / retry / diff / ci-cd>
Source org: <alias or N/A>
Target org: <alias or N/A>
Scope: <job file + manifest/key/full>
Result: <passed / failed / partial>
Key findings: <errors, dependencies, retries, diffs>
Next step: <safe follow-up action>