Index of every page on this site: llms.txt
All skills
jeremylongshore avatar

/salesforce-migration-deep-dive

@0d57af8
Run it yourself

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".

Use this Skill: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/salesforce-migration-deep-dive

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈65 tokens for metadata: the name and description. ≈934 when used: this file.

Description uses 3.3% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈260 characters, or 3.3%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

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

Condition Response
External IDs are not unique Stop upsert planning and resolve the source and target identity model.
Automation changes migrated values Classify the intended behavior, revise transforms or approved automation, and rerun the canary.
Job outcome is incomplete or unavailable Do 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.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill is designed for Salesforce data migration and appears legitimate. It contains minor security concerns related to potential indirect prompt injection surfaces where external data from Salesforce is processed and used in database queries without explicit sanitization.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 0d57af8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 months ago
What it can do
Reads files Network Edits files
Modelinherit
argument-hint
[source] [target-org] [dataset]
version
1.8.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
All 6 allowed tools
ReadGlobGrepWebFetchWriteEdit
Other metadata
tags
[
  "saas",
  "salesforce",
  "data-migration",
  "bulk-api",
  "cutover"
]
model
inherit
effort
high
compatibility
Designed for Claude Code; data extraction, transformation, loading, deletion, and cutover require source, target, privacy, and business-owner approval

README badge

README badge for jeremylongshore/tons-of-skills-marketplace/salesforce-migration-deep-dive