Resets and extends the local seed data for Saltmarsh Booking. Use when asked to "seed the database", "add a seed campsite", or "I need more local data".
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Seed Data?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/mblode-seed-data)
---
name: seed-data
description: Resets and extends the local seed data for Saltmarsh Booking. Use when asked to "seed the database", "add a seed campsite", or "I need more local data".
---
# Seed Data
1. Start Postgres with `docker compose up db`.
2. Apply migrations with `pnpm db:migrate`.
3. Run `pnpm --filter @saltmarsh/api exec node scripts/seed.mjs`. It creates three campsites and forty pitches.
4. To add a campsite, extend the array in `packages/api/scripts/seed-data.json`. Coordinates are `(longitude, latitude)`.