Skip to content
forcedotcom avatar

Data360 Code Extension Generate

Create PySpark code extensions for Data 360 with guided init, schema discovery, scanning, local runs, and deployment.

CCM score
83 of 100
skills.sh installs
5K
GitHub stars
1.2K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the full script workflow: environment check, init, schema discovery, development, scan, local run, and deploy
  • Includes check_env.sh for read-only readiness checks and scan, run, zip, and deploy steps through the sf data-code-extension plugin
  • Enforces explicit --target-org on run and deploy, schema-first development, and user confirmation before any org change
  • Designed for developers building custom Python transformations for Data Cloud who need local testing before deployment

Install

$ npx -y skills add forcedotcom/sf-skills --skill data360-code-extension-generate -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

data360-code-extension-generate

Overview

A Data 360 code extension is customer-owned Python (PySpark) that runs inside Data 360:

TypePurposeLocal test
scriptBatch transformation deployed as a data transform. Reads and writes DLOs or DMOs.script run against real org data
functionCustom node for Search Index Chunking (--use-in-feature SearchIndexChunking).function run --test-with test.json

Workflow: environment check → init → discover schemas → develop → scan → run locally → deploy → run the deployed transform. The skill needs only a shell, file editing, and the ability to ask the user questions. It works with a project venv or with a single system Python 3.11 (cloud workspaces, containers).

Use it to set up a code extension environment, create a script or function package, change payload/entrypoint.py, scan, run locally, deploy, redeploy, or clean up.

Agent Rules (apply to every phase)

Details

Repository
github.com/forcedotcom/sf-skills
Categories
Data Science & Analytics, Python
First seen
Jul 14, 2026

Questions

What does the data360-code-extension-generate skill do?

It creates, tests and deploys Data 360 (Data Cloud) Code Extensions, which are customer-owned Python PySpark transformations, using the sf CLI data-code-extension plugin. It covers environment setup, init, scan, local run, zip and deploy for script and function packages.

How do I install the data360-code-extension-generate skill?

Run npx -y skills add forcedotcom/sf-skills --skill data360-code-extension-generate -y inside a project. The skill then guides the agent through creating and deploying a Data 360 code extension.

Where does data360-code-extension-generate rank in its category?

It sits in the Data Science & Analytics category and ranks in the top 50 on that category page. Other skills that lead the category include azure-kusto, analyze-project and run-train.

What does the skill need before it can run?

It needs the sf CLI with the data-code-extension plugin, Python 3.11, pip, and Java, plus Docker for deployment. It also needs an org connection, and Code Extension must be enabled in Data Cloud Setup by a user with Data 360 admin permissions.

More from forcedotcom/sf-skills

All 78

Similar to Data360 Code Extension Generate

More Data Science & Analytics