Add demo accounts and starter content to production
@slashclone/seed-through-the-real-path
Fill a production app with demo accounts and starter content safely, through its own API or CLI instead of raw database inserts. Validation and audit logs run as for any user. Idempotent scripts with a dry run, short-lived tokens in a private file, a cleanup step that revokes them, and a guard that shows which database you are about to write to. Never prints tokens.
- Activity
- New: be the first to try it
- Installs
- 0 installs
- Likes
- 0 likes
- Clones
- 0 clones
- 1{
- 2 "name": "seed-through-the-real-path",
- 3 "owner": "slashclone",
- 4 "version": "0.1.1",
- 5 "type": "skill",
- 6 "title": "Add demo accounts and starter content to production",
- 7 "description": "Fill a production app with demo accounts and starter content safely, through its own API or CLI instead of raw database inserts. Validation and audit logs run as for any user. Idempotent scripts with a dry run, short-lived tokens in a private file, a cleanup step that revokes them, and a guard that shows which database you are about to write to. Never prints tokens.",
- 8 "category": "devops",
- 9 "license": "MIT",
- 10 "compat": [
- 11 "claude-code"
- 12 ],
- 13 "permissions": {
- 14 "shell": [
- 15 "node scripts/seed-guard.mjs"
- 16 ],
- 17 "files": {
- 18 "read": [
- 19 "./examples/**"
- 20 ]
- 21 }
- 22 },
- 23 "tests": {
- 24 "cases": [
- 25 {
- 26 "name": "later env file wins and only the host is checked",
- 27 "inputs": {},
- 28 "checks": [
- 29 {
- 30 "type": "command_exits_zero",
- 31 "command": "node scripts/seed-guard.mjs target --env-file examples/env.base --env-file examples/env.prod --var DATABASE_URL --expect prod-db"
- 32 }
- 33 ]
- 34 },
- 35 {
- 36 "name": "a single env file reaches the dev host",
- 37 "inputs": {},
- 38 "checks": [
- 39 {
- 40 "type": "command_exits_zero",
- 41 "command": "node scripts/seed-guard.mjs target --env-file examples/env.base --var DATABASE_URL --expect dev-db"
- 42 }
- 43 ]
- 44 }
- 45 ]
- 46 }
- 47}
