data-cloud-2025
Salesforce Data Cloud integration patterns and architecture (2025). PROACTIVELY activate for: (1) Data Cloud setup and ingestion, (2) Data Streams (cloud, mobile, web SDK, ingestion API), (3) data model objects (DMO) and source objects (DSO), (4) identity resolution and unified profiles, (5) calculated insights and segmentation, (6) activations to Marketing Cloud, advertising platforms, Salesforce CRM, (7) Bring Your Own Lake (BYOL) with Snowflake, BigQuery, Databricks, (8) zero-copy data sharing, (9) Data Cloud + Agentforce grounding, (10) consent management and compliance. Provides: data-stream selection matrix, identity resolution rules, segmentation patterns, BYOL configuration, and activation playbook.
What this skill does
## CRITICAL GUIDELINES
### Windows File Path Requirements
**MANDATORY: Always Use Backslashes on Windows for File Paths**
When using Edit or Write tools on Windows, you MUST use backslashes (`\`) in file paths, NOT forward slashes (`/`).
Examples:
- WRONG: `D:/repos/project/file.tsx`
- CORRECT: `D:\repos\project\file.tsx`
This applies to:
- Edit tool file_path parameter
- Write tool file_path parameter
- All file operations on Windows systems
### Documentation Guidelines
NEVER create new documentation files unless explicitly requested by the user.
- **Priority**: Update existing README.md files rather than creating new documentation
- **Repository cleanliness**: Keep repository root clean - only README.md unless user requests otherwise
- **Style**: Documentation should be concise, direct, and professional - avoid AI-generated tone
- **User preference**: Only create additional .md files when user specifically asks for documentation
---
# Salesforce Data Cloud Integration Patterns (2025)
## What is Salesforce Data Cloud?
Salesforce Data Cloud is a real-time customer data platform (CDP) that unifies data from any source to create a complete, actionable view of every customer. It powers AI, automation, and analytics across the entire Customer 360 platform.
**Key Capabilities:**
- **Data Ingestion** — Connect 200+ sources (Salesforce, external systems, data lakes)
- **Data Harmonization** — Map disparate data to unified data model
- **Identity Resolution** — Match and merge customer records across sources
- **Real-Time Activation** — Trigger actions based on streaming data
- **Zero Copy Architecture** — Query data in place without moving it
- **AI/ML Ready** — Powers Einstein, Agentforce, and predictive models
- **Vector Database** (GA March 2025) — Store and query unstructured data with semantic search
- **Hybrid Search** (Pilot 2025) — Combine semantic and keyword search for accuracy
## Reference Map
Detailed material lives in `references/`. Load only what the current task needs.
| Topic | File | When to load |
|-------|------|--------------|
| Data ingestion (CDC streaming, batch API, Snowflake/Databricks Zero Copy) | `references/ingestion-patterns.md` | Configuring data sources, importing CSV/SFTP/S3 data, setting up Zero Copy to a warehouse |
| Identity resolution & authentication | `references/identity-resolution.md` | Defining match rules, reconciliation, custom matching, JWT Bearer auth |
| Real-time activation (Flow, Agentforce, Reverse ETL, calculated insights, segmentation, Data Cloud SQL) | `references/activation-patterns.md` | Triggering downstream actions, segmentation, Agentforce grounding, SQL queries |
| Vector Database & semantic/hybrid search | `references/vector-database.md` | Unstructured data indexing, semantic search, Einstein Copilot Search, multi-language search |
## Data Cloud Architecture
```text
┌──────────────────────────────────────────────────────────┐
│ Data Sources │
│ Salesforce CRM │ External Apps │ Data Warehouses │ APIs │
└────────┬─────────────────┬──────────────┬───────────┬────┘
│ │ │ │
┌────▼─────────────────▼──────────────▼───────────▼────┐
│ Data Cloud Connectors & Ingestion │
│ ├─ Real-time Streaming (Change Data Capture) │
│ ├─ Batch Import (scheduled/on-demand) │
│ └─ Zero Copy (Snowflake, Databricks, BigQuery) │
└────────────────────────┬─────────────────────────────┘
│
┌────────────────────────▼─────────────────────────────┐
│ Data Model & Harmonization │
│ ├─ Map to Common Data Model (DMO objects) │
│ ├─ Identity Resolution (match & merge) │
│ └─ Data Transformation (calculated insights) │
└────────────────────────┬─────────────────────────────┘
│
┌────────────────────────▼─────────────────────────────┐
│ Unified Customer Profile (360° View) │
│ ├─ Demographics, Transactions, Behavior, Events │
│ └─ Real-time Profile API for instant access │
└────────────────────────┬─────────────────────────────┘
│
┌────────────────────────▼─────────────────────────────┐
│ Activation & Actions │
│ ├─ Salesforce Flow (real-time automation) │
│ ├─ Marketing Cloud (segmentation/journeys) │
│ ├─ Agentforce (AI agents) │
│ ├─ Einstein AI (predictions/recommendations) │
│ └─ External Systems (reverse ETL) │
└──────────────────────────────────────────────────────┘
```
## Core Workflow
1. **Identify use case** — Ingestion, identity, segmentation, activation, or unstructured/AI search? Pick the matching reference.
2. **Map data sources** — CRM CDC (real-time), external batch (S3/SFTP), or warehouse Zero Copy.
3. **Define DMOs and matching** — Map source fields to Data Model Objects; configure identity resolution match + reconciliation rules.
4. **Build insights / segments** — Calculated insights for KPIs (LTV, churn risk); segments for activation targets.
5. **Activate** — Flow / Platform Events / Agentforce actions / Reverse ETL data actions.
6. **Validate** — Use Data Cloud SQL workbench, check sync logs, monitor identity resolution metrics.
## Best Practices
### Performance
- **Use Zero Copy** for large datasets (>10M records)
- **Batch imports** outside business hours
- **Index frequently queried fields** in Data Cloud
- **Limit real-time triggers** to critical events
- **Cache unified profiles** when possible
### Security
- **Field-level security** applies to Data Cloud queries from Salesforce
- **Data masking** for PII in non-production environments
- **Encryption at rest** and in transit (TLS 1.2+)
- **Audit logging** for all data access
- **Role-based access control** (RBAC) for Data Cloud users
### Data Quality
- **Data validation** before ingestion
- **Deduplication rules** at source and in Data Cloud
- **Data lineage tracking** (know source of each field)
- **Quality scores** for unified profiles
- **Regular data audits** and cleansing
## Resources
- **Data Cloud Documentation:** https://developer.salesforce.com/docs/data/data-cloud-int/guide
- **Zero Copy Partner Network:** https://www.salesforce.com/data/zero-copy/
- **Data Cloud Pricing:** Part of Customer 360 platform, usage-based pricing
- **Trailhead:** "Data Cloud Basics" and "Data Cloud for Developers"
Related in Ads & Marketing
ads
IncludedMulti-platform paid advertising audit and optimization skill. Analyzes Google, Meta, YouTube, LinkedIn, TikTok, Microsoft, and Apple Ads. 250+ checks with scoring, parallel agents, industry templates, and AI creative generation.
banana
IncludedAI image generation Creative Director powered by Google Gemini Nano Banana models. Use this skill for ANY request involving image creation, editing, visual asset production, or creative direction. Triggers on: generate an image, create a photo, edit this picture, design a logo, make a banner, visual for my anything, and all /banana commands. Handles text-to-image, image editing, multi-turn creative sessions, batch workflows, and brand presets.
rpg-migration-analyzer
IncludedAnalyzes legacy RPG (Report Program Generator) programs from AS/400 and IBM i systems for migration to modern Java applications. Extracts business logic from RPG III/IV/ILE source code, identifies data structures (D-specs), file operations (F-specs), program dependencies (CALLB/CALLP), and converts RPG constructs to Java equivalents. Generates migration reports, complexity estimates, and Java implementation strategies with POJO classes, JPA entities, and service methods. Use when modernizing AS/400 or IBM i legacy systems, analyzing RPG source files (.rpg, .rpgle, .RPGLE), converting RPG to Java, mapping data specifications to Java classes, planning legacy system migration, or when user mentions RPG analysis, Report Program Generator, RPG III/IV/ILE, AS/400 modernization, IBM i migration, packed decimal conversion, or mainframe application rewrite.
brand-library-architect
IncludedBuild a complete brand library for a product — visual asset render pipeline, brand documentation set (BRAND, COPY, MANIFESTO, BIOS, FAQ, GLOSSARY, TONE, PRICING), open-source convention files (README, CONTRIBUTING, SECURITY, CODE_OF_CONDUCT), and a self-contained press kit. This skill should be used when the user asks to "build a brand library / brand kit / press kit / brand assets" for a product, "set up a brand library workflow," "create a positioning manifesto plus visual identity," or any combination of brand documentation + visual asset pipeline. Apply phase-by-phase or run end-to-end. Templates are product-agnostic and use {{TOKEN}} placeholders the skill prompts the user to fill.
writing-tech-post
IncludedAuthors engineering blog posts end-to-end: launch deep-dives, incident postmortems, architecture migrations, performance case studies, tutorials, AI/agent system writeups, security disclosures, and research-to-product translations. Picks the correct archetype, plans the abstraction ladder, enforces an evidence cadence (diagrams, benchmarks, profiles, traces, code, ablations), tunes voice against publisher house styles (Datadog, Vercel, GitHub, AWS, Meta, Cloudflare, Jane Street), and runs a pre-publish gate for narrative momentum and disclosure ethics. Use when drafting a new engineering post, restructuring a draft that feels flat, deciding which evidence form belongs where, validating that depth and product context are balanced, or preparing a postmortem, migration, or performance narrative for external publication. Do not use for API reference documentation, README authoring, marketing copy, release notes, generic SEO content, ghost-written executive thought leadership, or non-engineering long-form essays.
blog-google
IncludedGoogle API integration for blog performance: PageSpeed Insights, CrUX Core Web Vitals with 25-week history, Search Console performance, URL Inspection, Indexing API, GA4 organic traffic, NLP entity analysis for E-E-A-T, YouTube video search for embedding, and Google Ads Keyword Planner. Progressive feature availability based on credential tier (API key, OAuth/service account, GA4, Ads). Shares config with claude-seo at ~/.config/claude-seo/google-api.json. Use when user says "google data", "page speed", "core web vitals", "search console", "indexation", "GA4", "keyword research", "nlp entities", "blog performance", "youtube search", "google api setup".