An app that forgets its data on restart, or lets one user change another's records, is not ready to share. This skill guides your coding agent through adding persistence for one feature, from prerequisites to a checked result.
The agent models one feature first: entities, required fields, relationships and ownership rules, using your project's existing database stack. It generates and inspects a migration, tests it on a disposable database with representative data, and backs up existing data before a change that can remove or transform it. Server operations validate input and enforce ownership inside the database operation, with transactions for related writes and credentials kept out of browser code.
It finishes by proving persistence: create, read, update and delete through the app, restart and confirm the data remains, and confirm that invalid input and another user's record are rejected. If a migration fails, it inspects the current schema and migration history instead of erasing a populated database to make tests pass.
You need a running app, a database chosen for where it will be deployed, and a coding agent. Provider accounts, model weights, GPU compute and hosting are not included.