salesforce-migration-deep-dive

v2026.09.24

Run a dependency-ordered Salesforce data migration with mapping, external IDs, Bulk API selection, quarantine, cutover, reconciliation, and rollback. Use when conducting large migrations. Trigger with "migrate Salesforce data".

GitHub
安装命令
npx skhub add jeremylongshore/salesforce-migration-deep-dive
Markdown
SKILL.md

Salesforce Governed Data Migration

Overview

Move data as a controlled accounting exercise in which every source key, transformation, dependency, target result, exception, and rollback obligation is traceable.

Prerequisites

  • Source and target systems, objects, owners, data classes, migration scope, cutover window, and success criteria
  • Current source schema, Salesforce metadata, external IDs, relationships, validation, automation, sharing, and limits
  • Mapping and transform rules, quality thresholds, quarantine, reconciliation, rollback or compensating action, and retention plan

Tool Discipline

Use Read, Glob, and Grep to inspect approved repository and evidence files, WebFetch to re-check current first-party Salesforce documentation, and Write or Edit only for secretless plans, fixtures, configuration, and redacted receipts.

Current Contract

Bulk API 2.0 supports asynchronous CSV ingest and query, including insert, update, upsert, and delete where documented and entitled. Data Loader and other tools have separate contracts; object behavior, automation, and limits remain org-specific.

Authentication

Separate source read, transformation, target write, verification, and support access. Keep tokens and private keys out of migration files; encrypt and expire approved extracts and restrict raw personal data.

Instructions

  1. Freeze scope, source snapshot or watermark, objects, fields, filters, counts, classifications, owners, and cutover criteria.
  2. Profile data quality and map source keys, target external IDs, required fields, lookups, parents, children, owners, picklists, and transforms.
  3. Discover target API versions, metadata, permissions, sharing, validation, automation, duplicate rules, storage, limits, and lock behavior.
  4. Order deterministic migration waves, create immutable manifests and hashes, and separate valid, rejected, and quarantined records.
  5. Run dry-run transformations, then small synthetic and representative non-production canaries with full dependency reconciliation.
  6. Execute approved production waves within limits; preserve job IDs and result files and never blindly replay uncertain batches.
  7. Re-query by stable keys, reconcile counts, values, relationships, ownership, duplicates, and downstream effects; cut over or roll back.

Approval Boundaries

Do not extract production data, disable automation, change external IDs, overwrite owners, delete records, start a load, or cut over without owners.

Output

Return scope and snapshot, mappings, quality report, dependency graph, manifests, job results, quarantine, reconciliation, cutover decision, rollback, and expiry.

Error Handling

ConditionResponse
External IDs are not uniqueStop upsert planning and resolve the source and target identity model.
Automation changes migrated valuesClassify the intended behavior, revise transforms or approved automation, and rerun the canary.
Job outcome is incomplete or unavailableDo not replay; retrieve result evidence and reconcile target keys first.

Example

A redacted completion receipt might look like this:

migration=legacy-accounts; source=watermarked; rows=850000; waves=6; success=849920; quarantine=80; reconcile=exact

Resources

Next Steps

Run the workflow first in the lowest-risk authorized org and preserve its redacted receipt. Schedule a review against the next Salesforce seasonal release and the customer change calendar.

发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

2026年9月24日

分类

未分类

许可证

MIT

源路径

skills/.curated/salesforce-migration-deep-dive

默认分支

main

最新提交

e5a6c3b

Tree SHA

c2dc8e8