/lsc:lsc-config-migrationfrom lsc
Migrates Life Sciences Cloud (LSC) org configuration (Admin Console settings, DB Schema, trigger handlers, quick/custom actions) between orgs using export → diff → selective import. Use for promoting config from sandbox to UAT/production or comparing config drift.
Ships in lsc. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Promoting configuration (not data) between LSC orgs:
LifeSciConfigRecord categories)LifeScienceTriggerHandler on/off state)The workflow is export → diff → selective import, and import is create + update-only (safe): it never deletes or deactivates records that exist only in the target, and it auto-backs-up the target before writing.
For background on any of these config areas, call
search_lsc_knowledge({ query: "..." }) (e.g. "DB Schema mobile sync",
"trigger handlers", "quick actions configuration") so answers are sourced.
| Step | Tool | Notes |
|---|---|---|
| 1. Snapshot the source | export_config({ targetOrg: "sourceAlias" }) | Writes exports/*.json (format v1.1 — includes per-field DataType + assignments). Follow /lsc:export-config for the file convention. |
| 2. Review the diff | import_config({ source: "exports/<file>.json", mode: "report" }) | Summarizes New / Changed / Identical / Only-in-target and lists record keys. |
| 3a. Apply interactively | import_config({ source: "...", mode: "ui" }) | Opens a local browser UI with checkboxes + live progress. Hand the user the returned URL. |
| 3b. Apply headlessly | import_config({ source: "...", mode: "apply", selection: [...] }) | Applies only the chosen record keys. |
You can also skip the file and diff two live orgs directly by passing
sourceOrg instead of source.
Confirm direction. Which org is the source (correct config) and which is the target (receives changes)? Never assume production is the target without asking.
Always report before applying. Run mode: "report" and walk the user
through what would change. Highlight anything surprising (e.g. many Changed
records, or IsActive flips).
Recommend the UI for large or mixed changesets. When there are more than a
handful of records, mode: "ui" lets the user review each field change and
pick precisely what to apply. For a small, well-understood set, mode: "apply"
with an explicit selection is fine.
Reassure on safety. Every apply backs up the target to
exports/backup-*.json first and writes a result log to
exports/import-result-*.json. Only creates and updates happen — nothing is
deleted or deactivated, and target-only records/fields/assignments are kept.
Verify after. If DB Schema or actions changed, regenerate the mobile
metadata cache (generate_mobile_metadata_cache). Then confirm convergence
with import_config (report mode) again or diff_orgs.
DeveloperName is the match key. Records are matched by DeveloperName, so
renaming a record between orgs makes it look like a delete + create.When promoting LifeSciConfig + trigger-handler-dependent metadata via a raw
metadata deploy (outside this skill's export/import flow), deploy in two
passes — deploy the config as inactive first, then activate it — so that
triggers/automation don't fire against partially-deployed configuration and
leave the org in an inconsistent state. This is the ordering LSC's own setup
scripts use (a 1_inactive deploy followed by a 2_activate deploy, then the
trigger-handler activation step). It generalizes to any config whose activation
kicks off automation.
/lsc:export-config, /lsc:import-config, /lsc:diff-orgslsc-data-migration — for loading data records (accounts, HCPs, territory assignments), not configuration.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub salesforcelabs/lsc-for-claude --plugin lsc39 skills in this plugin
/lsc-account-managementGuides Life Sciences Cloud (LSC) Account Management configuration for web and mobile apps. Use when user asks about provider card, addresses, affiliations, ratings, account search, search before create (SBC), data change requests (DCR), business licenses, multi-object component, ARC graph, ContactPointAddress, HealthcareProvider, ProviderAffiliation, Admin Console account settings, or a web HCO picker that returns no organizations./lsc-activity-planGuides Life Sciences Cloud (LSC) Activity Plan configuration for web and mobile apps. Use when user asks about activity plans, account goals, weighted territory goals, shared territory goals, provider activity goals, goal measures, product goals, activity plan review, activity plan batch jobs, time periods, plan cycle, or Admin Console activity plan settings./lsc-agentforceGuides Agentforce for Life Sciences Cloud (LSC) configuration (Winter '26 feature). Use when user asks about Field Sales Agent, agent topics, agent actions, daily briefing, HCP summarization, next best action predictions, visit logging via voice, Einstein Studio integration, or Agentforce customization. For Agentforce Welcome Center utterances/prompts on the mobile home page, use the lsc-home-page-configuration skill instead./lsc-app-alertsGuides Life Sciences Cloud (LSC) App Alerts and Notifications configuration for web and mobile apps. Use when user asks about app alerts, record alerts, notifications, recommendations, guided actions, home office announcements, app alert territory, app alert user response, notification pane, bell icon, or AppAlert objects./lsc-briefingsGuides Briefings (Daily Podcasts) configuration and troubleshooting. Use when user asks about Briefings, Field Insights, Daily Podcasts, audio briefings, Kokoro TTS, PresentationContent, podcast text generation, or on-device audio./lsc-calendar-tot-routineGuides Life Sciences Cloud (LSC) Calendar, Time Off Territory, Routine, and My Team configuration. Use when user asks about calendar settings, Planner Administration, time off territory (TOT), routines, shared calendar, colleague visits, calendar event types, Time Off Territory events, business hours, slot-based TOT, My Team in LSC, or a shared Visit that is on the Activity Timeline and missing from Calendar.Other plugins' skills for the same job