Packaging datacloud
Skill holapancho/packaging-datacloud-skill/skills/packaging-datacloud
Agent Skill for packaging and distributing Salesforce Data Cloud (Data 360) Data Kits as managed 2GP packages
npx -y skills add holapancho/packaging-datacloud-skill --skill packaging-datacloudAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 29 days oldThe repository was created 29 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Package and ship Salesforce Data 360 (Data Cloud) Data Kits as managed 2GP packages: Standard vs DevOps kit types, retrieve workflow, SSOT dependency, publishing sequence, KQ cleanup, deploy after install, undeploy/uninstall (including Currency Connection / StaticCurrencyRates blockers), and packaging oddities. Use when packaging data kits, DataPackageKitDefinition, DMOs, data streams, or Data Cloud metadata for AppExchange or managed package distribution.
SKILL.md
5.7 KB, ~1.3k tokens by cl100k_base, as published. Nobody here has run it
packaging-datacloud
Workflow for Standard data kits in managed 2GP packages (Data Cloud / Data 360). DevOps kits are for sandbox→prod mergeback — not for packaging. See references/standard-vs-devops-data-kits.md.
Quick workflow
- Create Standard kit in source org — add components, set Publishing Sequence (Edit Sequence → Save)
- Dedicated package directory in
sfdx-project.json— Data Cloud metadata only (Winter '25+) - Download manifest → save as
package.xmlat package root - Retrieve — references/retrieve-workflow.md
- Post-retrieve cleanup — delete standalone
KQ_*.field-meta.xmlunderobjects/; keep embeddedkeyQualifierNamein DLOs - Verify
DataPackageKitDefinition.deploymentOrderin Git - SSOT dependency — current version from Help, not outdated Partner Community IDs — references/ssot-package-dependency.md
- Test deploy on scratch subscriber org
sf package version create -w 90— references/2gp-workflow.md- Subscriber: install package → deploy kit components — post-install-deploy-runbook.md (workflow) + deploy-components-flow.md (payloads). Managed 2GP: namespace on kit lookup fields in deploy payloads only.
Do not use UI Publish → Package Manager for 2GP — that is the 1GP path. Use retrieve + CLI version create.
When to use which reference
| Goal | Document |
|---|---|
| Retrieve kit from org into Git | retrieve-workflow.md |
| Standard vs DevOps kit types | standard-vs-devops-data-kits.md |
| Help article index | help-articles-index.md |
| Managed 2GP build & promote | 2gp-workflow.md |
| SSOT package dependency | ssot-package-dependency.md |
| Metadata types in kit | metadata-cheatsheet.md |
| Kit definition flags & sequence | kit-definition-metadata.md |
| KQ cleanup, sequence, SSOT traps | packaging-oddities.md |
| Post-install deploy (payloads) | deploy-components-flow.md |
| Post-install runbook (generic) | post-install-deploy-runbook.md — includes lake verification, transform run API, SKIPPED_NO_CHANGES |
| Undeploy / uninstall (generic) | undeploy-uninstall-runbook.md — reverse sequence; Currency Connection before StaticCurrencyRatesTransform_* |
| Transform → DMO → search data cascade | catalog-search-data-cascade.md — generic; deploy vs run; manual full-run + search redeploy |
| DevOps CLI sandbox→prod (not 2GP) | devops-cli-workflow.md |
| Governance mergeback (not CLI) | governance-mergeback-devops.md |
| Failures | troubleshooting.md |
Critical rules
- Standard kit for packaging; DevOps for in-house sandbox→prod only
- Winter '25+: no Apex/LWC/Flow/agents in the Data Kit package directory
- Publishing sequence required before packaging; verify
deploymentOrderafter retrieve dataKitType: NONE+isDeployed: falsein retrieved metadata is normal — kit-definition-metadata.md- KQ cleanup: delete standalone
objects/*/fields/KQ_*only; keep embeddedkeyQualifierNameindataSourceObject - SSOT: use Help article version list for
04tID - Package version create: allow 90+ minutes wait time
- Undeploy before uninstall when components were activated; reverse
deploymentOrder, trust dependency errors (transforms before DLOs) - Currency: Undeploy blocked by
StaticCurrencyRatesTransform_*→ disable Currency Connection first (KB 002774314) - Ghost streams: Connect says stream gone but DLO/uninstall still blocked → delete Tooling
DataStreamDefinition— undeploy-uninstall-runbook.md - Leftover DLOs after uninstall are expected (locked kit orphans + platform
StaticCurrencyRates_*) — package gone ≠ empty Data Lake Objects list — undeploy-uninstall-runbook.md
Official sources
What ships with it: 16 files
86.8 KB alongside SKILL.md
references/
- 2gp-workflow.md2.5 KB
- catalog-search-data-cascade.md4.1 KB
- data-kit-considerations.md3.9 KB
- deploy-components-flow.md12.7 KB
- devops-cli-workflow.md3.4 KB
- governance-mergeback-devops.md2.9 KB
- help-articles-index.md3.4 KB
- kit-definition-metadata.md2.6 KB
- metadata-cheatsheet.md1.8 KB
- packaging-oddities.md4.1 KB
- post-install-deploy-runbook.md17.5 KB
- retrieve-workflow.md4.4 KB
- ssot-package-dependency.md3.0 KB
- standard-vs-devops-data-kits.md5.7 KB
- troubleshooting.md4.6 KB
- undeploy-uninstall-runbook.md10.2 KB