Sf datacloud

From Jaganpro/sf-skills · View interactive version

Sf datacloud is an AI agent skill from the GitHub repository Jaganpro/sf-skills. Salesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows. TRIGGER when: user needs a multi-step Data Cloud pipeline, asks to set up or troubleshoot Data Cloud across phases, manages data spaces or data kits, or wants a cross-phase `sf data360` workflow. DO NOT T

How to use this skill

Skill file

sf-datacloud: Salesforce Data Cloud Orchestrator

Use this skill when the user needs product-level Data Cloud workflow guidance rather than a single isolated command family: pipeline setup, cross-phase troubleshooting, data spaces, data kits, or deciding whether a task belongs in Connect, Prepare, Harmonize, Segment, Act, or Retrieve.

This skill intentionally follows sf-skills house style while using the external sf data360 command surface as the runtime. The plugin is not vendored into this repo.


When This Skill Owns the Task

Use sf-datacloud when the work involves:

Delegate to a phase-specific skill when the user is focused on one area:

| Phase | Use this skill | Typical scope |

|---|---|---|

| Connect | sf-datacloud-connect | connections, connectors, source discovery |

| Prepare | sf-datacloud-prepare | data streams, DLOs, transforms, DocAI |

| Harmonize | sf-datacloud-harmonize | DMOs, mappings, identity resolution, data graphs |

| Segment | sf-datacloud-segment | segments, calculated insights |

| Act | sf-datacloud-act | activations, activation targets, data actions |

| Retrieve | sf-datacloud-retrieve | SQL, search indexes, vector search, async query |

Delegate outside the family when the user is:


Required Context to Gather First

Ask for or infer:

If plugin availability or org readiness is uncertain, start with:


Core Operating Rules


Recommended Workflow

1. Verify the runtime and auth

Confirm:

Recommended checks:

sf data360 man
sf org display -o <alias>
bash ~/.claude/skills/sf-datacloud/scripts/verify-plugin.sh <alias>

Treat sf data360 doctor as a broad health signal, not the sole gate. On partially provisioned orgs it can fail even when read-only command families like connectors, DMOs, or segments still work.

2. Classify readiness before changing anything

Run the shared classifier first:

node ~/.claude/skills/sf-datacloud/scripts/diagnose-org.mjs -o <org> --json

Only use a query-plane probe after you know the table name is real:

node ~/.claude/skills/sf-datacloud/scripts/diagnose-org.mjs -o <org> --phase retrieve --describe-table MyDMO__dlm --json

Use the classifier to distinguish:

3. Discover existing state with read-only commands

Use targeted inspection after classification:

sf data360 doctor -o <org> 2>/dev/null
sf data360 data-space list -o <org> 2>/dev/null
sf data360 data-stream list -o <org> 2>/dev/null
sf data360 dmo list -o <org> 2>/dev/null
sf data360 identity-resolution list -o <org> 2>/dev/null
sf data360 segment list -o <org> 2>/dev/null
sf data360 activation platforms -o <org> 2>/dev/null

4. Localize the phase

Route the task:

5. Choose deterministic artifacts when possible

Prefer JSON definition files and repeatable scripts over one-off manual steps. Generic templates live in:

6. Verify after each phase

Typical verification:


High-Signal Gotchas


Output Format

When finishing, report in this order:

  1. Task classification
  2. Runtime status
  3. Readiness classification
  4. Phase(s) involved
  5. Commands or artifacts used
  6. Verification result
  7. Next recommended step

Suggested shape:

Data Cloud task: <setup / inspect / troubleshoot / migrate>
Runtime: <plugin ready / missing / partially verified>
Readiness: <ready / ready_empty / partial / feature_gated / blocked>
Phases: <connect / prepare / harmonize / segment / act / retrieve>
Artifacts: <json files, commands, scripts>
Verification: <passed / partial / blocked>
Next step: <next phase, setup guidance, or cross-skill handoff>

Cross-Skill Integration

| Need | Delegate to | Reason |

|---|---|---|

| load or clean CRM source data | sf-data | seed or fix source records before ingestion |

| create missing CRM schema | sf-metadata | Data Cloud expects existing objects/fields |

| deploy permissions or bundles | sf-deploy | environment preparation |

| write Apex against Data Cloud outputs | sf-apex | code implementation |

| Flow automation after segmentation/activation | sf-flow | declarative orchestration |

| session tracing / STDM / parquet analysis | sf-ai-agentforce-observability | different Data Cloud use case |


Reference Map

Start here

Phase skills

Deterministic helpers

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.