SKILL-040 Data modeling and migrations Locked skill

Import / export data

Validate per row and report errors; never let one bad row roll back the whole file, and always scope the job to the tenant.

01

What this skill helps you build

Import a CSV as a background job that validates every row, collects errors into a report, and inserts only the good rows — plus exports that produce a downloadable file.

The production takeaway

Validate per row and report errors; never let one bad row roll back the whole file, and always scope the job to the tenant.

02

Inside this skill

The full skill expands these implementation areas with decisions, edge cases, prompts, tests, and framework-specific code.

Data modeling and migrations
What this helps you build

A trustworthy CSV import and export flow. The user uploads a spreadsheet, your app checks every row, imports the rows that pass, and hands back a clear error report for the ones th

🔒
Data modeling and migrations
When to use this

Use this whenever users bring their own data into your app, or need to take it out. Concretely, reach for a validated import/export job when you have: Bulk onboarding — customers p

🔒
Data modeling and migrations
The core idea

A bulk import is a background job that validates row by row , not a single all or nothing transaction. You parse the file, run each row through the same changeset/validation your n

🔒
03

Unlock the full implementation

Paid access includes the complete skill body, implementation prompt, common mistakes, production checklist, and code examples where this skill includes them.