Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
jaganpro avatar

Sf Industry Commoncore Datamapper

  • 944 installs
  • 423 repo stars
  • Updated April 27, 2026
  • jaganpro/sf-skills

sf-industry-commoncore-datamapper is a Claude Code skill that generates OmniStudio DataRaptor Extract, Transform, and Load templates for developers who implement Salesforce Data Mapper integrations with consistent naming

About

sf-industry-commoncore-datamapper is a jaganpro/sf-skills agent skill for scaffolding Salesforce OmniStudio DataRaptor definitions. It emits JSON templates for DR_Extract, DR_Load, and related OmniDataTransformItem records with placeholders for object API names, field mappings, filter operators, and parent transform IDs. Templates follow naming patterns like DR_Extract_{{Object}}_{{Purpose}} and include InputObjectName, OutputFieldName, and OmniDataTransformItemOrder fields. Developers reach for this skill when bootstrapping industry cloud data integrations instead of hand-authoring repetitive Data Mapper metadata.

  • Generates DR_Extract_{{Object}}_{{Purpose}}, DR_Transform_{{Object}}_{{Purpose}}, and DR_Load_{{Object}}_{{Purpose}} tem
  • Produces ready-to-import OmniDataTransform and OmniDataTransformItem JSON structures
  • Enforces naming and field-mapping conventions used by the Salesforce OmniStudio community
  • Includes cross-component relationship awareness for Data Mapper, Integration Procedures, and OmniScripts
  • Built on patterns from sf-explorer/omnistudio-mcp-server

Sf Industry Commoncore Datamapper by the numbers

  • 944 all-time installs (skills.sh)
  • +4 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Ranked #413 of 4,347 Backend & APIs skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/jaganpro/sf-skills --skill sf-industry-commoncore-datamapper

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs944
repo stars423
Security audit3 / 3 scanners passed
Last updatedApril 27, 2026
Repositoryjaganpro/sf-skills

How do you scaffold OmniStudio DataRaptor extract and load templates?

Generate consistent OmniStudio DataRaptor templates for extract, transform, and load operations in Salesforce projects.

Who is it for?

Salesforce OmniStudio developers who need repeatable DataRaptor Extract, Transform, and Load JSON scaffolds for industry cloud integrations.

Skip if: Non-OmniStudio Salesforce projects, raw Apex SOQL ETL, or teams not using DataRaptor/Data Mapper metadata.

When should I use this skill?

The user asks to create, scaffold, or standardize OmniStudio DataRaptor Extract, Load, or field mapping JSON templates.

What you get

JSON DataRaptor definition files for Extract and Load transforms with mapped Salesforce object fields and transform item ordering.

  • DR_Extract JSON template
  • DR_Load JSON template
  • OmniDataTransformItem mappings

Files

SKILL.mdMarkdownGitHub ↗

sf-industry-commoncore-datamapper: OmniStudio Data Mapper Creation and Validation

Expert OmniStudio Data Mapper developer specializing in Extract, Transform, Load, and Turbo Extract configurations. Generate production-ready, performant, and maintainable Data Mapper definitions with proper field mappings, query optimization, and data integrity safeguards.

Core Responsibilities

1. Generation: Create Data Mapper configurations (Extract, Transform, Load, Turbo Extract) from requirements 2. Field Mapping: Design object-to-output field mappings with proper type handling, lookup resolution, and null safety 3. Dependency Tracking: Identify related OmniStudio components (Integration Procedures, OmniScripts, FlexCards) that consume or feed Data Mappers 4. Validation & Scoring: Score Data Mapper configurations against 5 categories (0-100 points)

---

CRITICAL: Orchestration Order

sf-industry-commoncore-omnistudio-analyze -> sf-industry-commoncore-datamapper -> sf-industry-commoncore-integration-procedure -> sf-industry-commoncore-omniscript -> sf-industry-commoncore-flexcard (you are here: sf-industry-commoncore-datamapper)

Data Mappers are the data access layer of the OmniStudio stack. They must be created and deployed before Integration Procedures or OmniScripts that reference them. Use sf-industry-commoncore-omnistudio-analyze FIRST to understand existing component dependencies.

---

Key Insights

InsightDetails
Extract vs Turbo ExtractExtract uses standard SOQL with relationship queries. Turbo Extract uses server-side compiled queries for read-heavy, high-volume scenarios (10x+ faster). Turbo Extract does not support formula fields, related lists, or write operations.
Transform is in-memoryTransform Data Mappers operate entirely in memory with no DML or SOQL. They reshape data structures between steps in an Integration Procedure. Use for JSON-to-JSON transformations, field renaming, and data flattening.
Load = DMLLoad Data Mappers perform insert, update, upsert, or delete operations. They require proper FLS checks and error handling. Always validate field-level security before deploying Load Data Mappers to production.
OmniDataTransform metadataData Mappers are stored as OmniDataTransform and OmniDataTransformItem records. Retrieve and deploy using these metadata type names, not the legacy DataRaptor API names.

---

Workflow (5-Phase Pattern)

Phase 1: Requirements Gathering

Ask the user to gather:

  • Data Mapper type (Extract, Transform, Load, Turbo Extract)
  • Target Salesforce object(s) and fields
  • Target org alias
  • Consuming component (Integration Procedure, OmniScript, or FlexCard name)
  • Data volume expectations (record counts, frequency)

Then: 1. Check existing Data Mappers: Glob: **/OmniDataTransform* 2. Check existing OmniStudio metadata: Glob: **/omnistudio/** 3. Create a task list

---

Phase 2: Design & Type Selection

TypeUse CaseNaming PrefixSupports DMLSupports SOQL
ExtractRead data from one or more objects with relationship queriesDR_Extract_NoYes
Turbo ExtractHigh-volume read-only queries, server-side compiledDR_TurboExtract_NoYes (compiled)
TransformIn-memory data reshaping between procedure stepsDR_Transform_NoNo
LoadWrite data (insert, update, upsert, delete)DR_Load_YesNo

Naming Format: [Prefix][Object]_[Purpose] using PascalCase

Examples:

  • DR_Extract_Account_Details -- Extract Account with related Contacts
  • DR_TurboExtract_Case_List -- High-volume Case list for FlexCard
  • DR_Transform_Lead_Flatten -- Flatten nested Lead data structure
  • DR_Load_Opportunity_Create -- Insert Opportunity records

---

Phase 3: Generation & Validation

For Generation: 1. Define the OmniDataTransform record (Name, Type, Active status) 2. Define OmniDataTransformItem records (field mappings, input/output paths) 3. Configure query filters, sort order, and limits for Extract types 4. Set up lookup mappings and default values for Load types 5. Validate field-level security for all mapped fields

For Review: 1. Read existing Data Mapper configuration 2. Run validation against best practices 3. Generate improvement report with specific fixes

Run Validation:

Score: XX/100 Rating
|- Design & Naming: XX/20
|- Field Mapping: XX/25
|- Data Integrity: XX/25
|- Performance: XX/15
|- Documentation: XX/15

---

Generation Guardrails (MANDATORY)

BEFORE generating ANY Data Mapper configuration, Claude MUST verify no anti-patterns are introduced.

If ANY of these patterns would be generated, STOP and ask the user:

"I noticed [pattern]. This will cause [problem]. Should I:
A) Refactor to use [correct pattern]
B) Proceed anyway (not recommended)"
Anti-PatternDetectionImpact
Extracting all fieldsNo field list specified, wildcard selectionPerformance degradation, excessive data transfer
Missing lookup mappingsLoad references lookup field without resolutionDML failure, null foreign key
Writing without FLS checkLoad Data Mapper with no security validationSecurity violation, data corruption in restricted profiles
Unbounded Extract queryNo LIMIT or filter on ExtractGovernor limit failure, timeout on large objects
Transform with side effectsTransform attempting DML or calloutRuntime error, Transform is in-memory only
Hardcoded record IDs15/18-char ID literal in filter or mappingDeployment failure across environments
Nested relationship depth >3Extract with deeply nested parent traversalQuery performance degradation, SOQL complexity limits
Load without error handlingNo upsert key or duplicate rule considerationSilent data corruption, duplicate records

DO NOT generate anti-patterns even if explicitly requested. Ask user to confirm the exception with documented justification.

See: references/best-practices.md for detailed patterns See: references/naming-conventions.md for naming rules

---

Phase 4: Deployment

Step 1: Validation Use the sf-deploy skill: "Deploy OmniDataTransform [Name] to [target-org] with --dry-run"

Step 2: Deploy (only if validation succeeds) Use the sf-deploy skill: "Proceed with actual deployment to [target-org]"

Post-Deploy: Activate the Data Mapper in the target org. Verify it appears in OmniStudio Designer.

---

Phase 5: Testing & Documentation

Completion Summary:

Data Mapper Complete: [Name]
  Type: [Extract|Transform|Load|Turbo Extract]
  Target Object(s): [Object1, Object2]
  Field Count: [N mapped fields]
  Validation: PASSED (Score: XX/100)

Next Steps: Test in Integration Procedure, verify data output, monitor performance

Testing Checklist:

  • [ ] Preview data output in OmniStudio Designer
  • [ ] Verify field mappings produce expected JSON structure
  • [ ] Test with representative data volume (not just 1 record)
  • [ ] Validate FLS enforcement with restricted profile user
  • [ ] Confirm consuming Integration Procedure/OmniScript receives correct data shape

---

Best Practices (100-Point Scoring)

CategoryPointsKey Rules
Design & Naming20Correct type selection; naming follows DR_[Type]_[Object]_[Purpose] convention; single responsibility per Data Mapper
Field Mapping25Explicit field list (no wildcards); correct input/output paths; proper type conversions; null-safe default values
Data Integrity25FLS validation on all fields; lookup resolution for Load types; upsert keys defined; duplicate handling configured
Performance15Bounded queries with LIMIT/filters; Turbo Extract for read-heavy scenarios; minimal relationship depth; indexed filter fields
Documentation15Description on OmniDataTransform record; field mapping rationale documented; consuming components identified

Thresholds: ✅ 90+ (Deploy) | ⚠️ 67-89 (Review) | ❌ <67 (Block - fix required)

---

CLI Commands

Query Existing Data Mappers

sf data query -q "SELECT Id,Name,Type FROM OmniDataTransform" -o <org>

Query Data Mapper Field Mappings

sf data query -q "SELECT Id,Name,InputObjectName,OutputObjectName,LookupObjectName FROM OmniDataTransformItem WHERE OmniDataTransformationId='<id>'" -o <org>

Retrieve Data Mapper Metadata

sf project retrieve start -m OmniDataTransform:<Name> -o <org>

Deploy Data Mapper Metadata

sf project deploy start -m OmniDataTransform:<Name> -o <org>

---

Cross-Skill Integration

From SkillTo sf-industry-commoncore-datamapperWhen
sf-industry-commoncore-omnistudio-analyze-> sf-industry-commoncore-datamapper"Analyze dependencies before creating Data Mapper"
sf-metadata-> sf-industry-commoncore-datamapper"Describe target object fields before mapping"
sf-soql-> sf-industry-commoncore-datamapper"Validate Extract query logic"
From sf-industry-commoncore-datamapperTo SkillWhen
sf-industry-commoncore-datamapper-> sf-industry-commoncore-integration-procedure"Create Integration Procedure that calls this Data Mapper"
sf-industry-commoncore-datamapper-> sf-deploy"Deploy Data Mapper to target org"
sf-industry-commoncore-datamapper-> sf-industry-commoncore-omniscript"Wire Data Mapper output into OmniScript"
sf-industry-commoncore-datamapper-> sf-industry-commoncore-flexcard"Display Data Mapper Extract results in FlexCard"

---

Edge Cases

ScenarioSolution
Large data volume (>10K records)Use Turbo Extract; add pagination via Integration Procedure; warn about heap limits
Polymorphic lookup fieldsSpecify the concrete object type in the mapping; test each type separately
Formula fields in ExtractStandard Extract supports formula fields; Turbo Extract does not -- fall back to standard Extract
Cross-object Load (master-detail)Insert parent records first, then child records in a separate Load step; use Integration Procedure to orchestrate sequence
Namespace-prefixed fieldsInclude namespace prefix in field paths (e.g., ns__Field__c); verify prefix matches target org
Multi-currency orgsMap CurrencyIsoCode explicitly; do not rely on default currency assumption
RecordType-dependent mappingsFilter by RecordType in Extract; set RecordTypeId in Load; document which RecordTypes are supported

---

Notes

  • Metadata Type: OmniDataTransform (not DataRaptor -- legacy name deprecated)
  • API Version: Requires OmniStudio managed package or Industries Cloud
  • Scoring: Block deployment if score < 67
  • Dependencies (optional): sf-deploy, sf-metadata, sf-industry-commoncore-omnistudio-analyze, sf-industry-commoncore-integration-procedure
  • Turbo Extract Limitations: No formula fields, no related lists, no aggregate queries, no polymorphic fields
  • Activation: Data Mappers must be activated after deployment to be callable from Integration Procedures
  • Draft DMs can't be retrieved: sf project retrieve start -m OmniDataTransform:<Name> only works for active Data Mappers. Draft DMs return "Entity cannot be found".
  • Creating via Data API: Use sf api request rest --method POST --body @file.json to create OmniDataTransform and OmniDataTransformItem records. The sf data create record --values flag cannot handle JSON in textarea fields. Write the JSON body to a temp file first.
  • Foreign key field name: The parent lookup on OmniDataTransformItem is OmniDataTransformationId (full word "Transformation"), not OmniDataTransformId.

---

License

MIT License. Copyright (c) 2026 David Ryan (weytani)

Related skills

How it compares

Choose sf-industry-commoncore-datamapper when you need opinionated DataRaptor JSON scaffolds instead of manual OmniStudio UI clicking or generic Salesforce metadata API dumps.

FAQ

What templates does sf-industry-commoncore-datamapper generate?

sf-industry-commoncore-datamapper generates OmniStudio DataRaptor JSON templates for Extract and Load operations, including OmniDataTransformItem field mapping records with Salesforce object and field placeholders.

Does sf-industry-commoncore-datamapper handle transform items?

Yes. sf-industry-commoncore-datamapper scaffolds OmniDataTransformItem entries with InputObjectName, OutputFieldName, filter operators, and OmniDataTransformItemOrder for Data Mapper configurations.

Is Sf Industry Commoncore Datamapper safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

Backend & APIsautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.