What problem does it solve?
Provides a validated, safety-first workflow to create, update, import, export, and remove Salesforce org data without guesswork or accidental production impact by enforcing describe-first checks, bulk-safe patterns, and clear cleanup strategies.
Core Features & Use Cases
- CLI-first CRUD & Bulk: Wraps sf data commands and Bulk API 2.0 for single-record operations, large imports/exports, and tree imports.
- Describe-first validation & safety: Inspects required/createable fields and picklists before writes, enforces savepoint/rollback and delete-by-pattern cleanup, and grades operations against a 130-point checklist.
- Factories, anonymous Apex & assets: Provides Apex factory patterns, JSON/CSV/tree assets for hierarchical seeding, and guidance for 201/251+ record bulk-trigger testing.
- Real-world example: Seed 251 Accounts with varied Industries to validate trigger bulkification, verify relationships, and then run a cleanup-by-pattern or savepoint rollback.
Quick Start
Create 251 test Account records with varied Industries in org dev using the sf-data workflow.