agentforce-architectur…
Declared architecture snapshot for one Agentforce agent: planner, topics, actions, flows, Apex, prompt templates, and NGA…
Salesforce data operations with 130-point scoring. Use to create, update, delete, bulk import/export, generate test data, and clean up org records via sf CLI and anonymous Apex. TRIGGER on creating test data, bulk import/export, sf data CLI commands, data-factory patterns for
Claude Code
$ npx -y skills add forcedotcom/sf-skills --skill platform-data-manage --agent claude-code
Codex
$ npx skills add forcedotcom/sf-skills --skill platform-data-manage -a codex -y
Cursor
$ npx skills add forcedotcom/sf-skills --skill platform-data-manage -a cursor -y
Gemini CLI
$ npx skills add forcedotcom/sf-skills --skill platform-data-manage -a gemini-cli -y
GitHub Copilot
$ npx skills add forcedotcom/sf-skills --skill platform-data-manage -a github-copilot -y
OpenCode
$ npx skills add forcedotcom/sf-skills --skill platform-data-manage -a opencode -y
Windsurf
$ npx skills add forcedotcom/sf-skills --skill platform-data-manage -a windsurf -y
name: platform-data-manage
description: "Salesforce data operations with 130-point scoring. Use to create, update, delete, bulk import/export, generate test data, and clean up org records via sf CLI and anonymous Apex. TRIGGER on creating test data, bulk import/export, sf data CLI commands, data-factory patterns for Apex tests, or seeding/cleaning org records. DO NOT TRIGGER for SOQL query writing only (use platform-soql-query), Apex test execution (use platform-apex-test-run), or metadata deployment (use platform-metadata-deploy)."
metadata:
version: "1.1"
domains: ["Platform"]
relatedSkills:
- "automation-flow-generate"
- "platform-apex-generate"
- "platform-apex-test-run"
- "platform-custom-field-generate"
- "platform-custom-object-generate"
- "platform-metadata-deploy"
- "platform-soql-query"
cliTools:
- tool: ["sf"]
semver: ">=2.0.0"
- tool: ["jq"]
semver: ">=1.6.0"
- tool: ["python3"]
semver: ">=3.8.0"Use this skill when the user needs **Salesforce data work**: record CRUD, bulk import/export, test data generation, cleanup scripts, or data factory patterns for validating Apex, Flow, or integration behavior.
Use `platform-data-manage` when the work involves:
Delegate elsewhere when the user is:
---
Confirm which mode the user wants:
| Mode | Use when | |---|---| | Script generation | they want reusable `.apex`, CSV, or JSON assets without touching an org yet | | Remote execution | they want records created / changed in a real org now |
Do not assume remote execution if the user may only want scripts.
---
Ask for or infer:
---
If metadata is missing, stop and hand off to:
---
Confirm object / field availability, org auth, and required parent records.
Before creating or updating records, use object describe data to validate:
See [references/sf-cli-data-commands.md](references/sf-cli-data-commands.md) for the `sf sobject describe` command and jq filter patterns for inspecting fields, picklist values, and createable constraints.
| Need | Default approach | |---|---| | small one-off CRUD | `sf data` single-record commands | | large import/export | Bulk API 2.0 via `sf data ... bulk` | | parent-child seed set | tree import/export | | reusable test dataset | factory / anonymous Apex script | | reversible experiment | cleanup script or savepoint-based approach |
Use the built-in templates under `assets/` when they fit:
Check counts, relationships, and record IDs after creation or update.
If creation fails: 1. try the primary CLI shape once 2. retry once with corrected parameters 3. re-run describe / validate assumptions 4. pivot to a different mechanism or provide a manual workaround
Do **not** repeat the same failing command indefinitely.
Provide exact cleanup commands or rollback assets whenever data was created.
---
Prefer one of:
This repository provides Salesforce agent skills, plugins, and sample apps for building applications.
Declared architecture snapshot for one Agentforce agent: planner, topics, actions, flows, Apex, prompt templates, and NGA…
Use this skill to Upgrade Einstein Bots into Agentforce agents end-to-end in a single pass, orchestrating per-bot Agent Spec…
Data Cloud 360° view of a single Agentforce session. TRIGGER when user asks to trace, inspect, summarize, or describe a specific…
Build, modify, audit, repair, optimize, debug, and deploy agents with Agentforce Agent Script. TRIGGER when: user creates,…
Analyze production Agentforce agent behavior using session traces and Data Cloud, and manage Agent Health Monitoring (AHM)…
Use to design an AI agent persona — identity, voice, tone, behavioral style, guardrails — and encode it into Agent Script (.agent…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.