sf-data

Automate Salesforce data operations and testing workflows via sf CLI v2.

6|Updated Dec 20, 2023
One-click install
npx skills add https://github.com/ronitnuguru/Package-Visualizer --skill sf-data-ronitnuguru
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sf-data
Source: https://github.com/ronitnuguru/Package-Visualizer/tree/main/.cursor/skills/sf-data
Command: npx skills add https://github.com/ronitnuguru/Package-Visualizer --skill sf-data-ronitnuguru

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) and references (resource) components.

What problem does it solve?

Salesforce data operations are complex, error-prone, and time-consuming without structured tooling, making test data setup, bulk imports, and cleanup fragile.

Core Features & Use Cases

  • 130-point validation scoring across query efficiency, bulk safety, data integrity, security, test patterns, cleanup/isolation, and documentation
  • Factory-based test data generation and bulk operations via the Salesforce CLI
  • Cross-skill integration with sf-metadata, sf-flow, and sf-deploy for end-to-end testing pipelines
  • Reproducible data workflows for querying, inserting, updating, deleting, and cleanup across orgs
  • Real-world scenario: bulk-create 251 records to exercise batch boundaries and trigger behavior

Quick Start

Create 251 Accounts in a test org to exercise end-to-end data operations and automatic cleanup.

Frequently Asked Questions about sf-data

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Salesforce bulk data imports and test data generation?

Automate Salesforce bulk data imports and test data generation by using factory-based operations via the Salesforce CLI. This approach creates reproducible workflows for inserting, updating, and deleting records across dev orgs while enforcing bulk safety.

What is the best way to query Salesforce records using SOQL for testing workflows?

Querying Salesforce records with SOQL for testing workflows is best handled through structured automation that enforces query efficiency and data integrity. This ensures reproducible data workflows across orgs without fragile manual queries.

Can I use the Salesforce CLI v2 to bulk-create records and exercise batch boundaries?

Yes, you can use Salesforce CLI v2 to bulk-create records and exercise batch boundaries. A practical scenario involves bulk-creating 251 Accounts in a test org to trigger batch behavior and validate end-to-end data operations.

How does Salesforce data cleanup work across dev orgs after bulk operations?

Salesforce data cleanup across dev orgs works by applying reproducible workflows that automatically isolate and delete test records after bulk operations. This enforces data integrity and cleanup validation as part of the 130-point scoring.

Does Salesforce data automation integrate with metadata and deployment pipelines?

Yes, Salesforce data automation integrates cross-skill with sf-metadata, sf-flow, and sf-deploy to build end-to-end testing pipelines. This ensures data operations align seamlessly with metadata management and deployment workflows.