seed-data
/seed-data
Seed or re-seed encyclopedia/concept/reversed-meaning data from the CSVs. Use when importing CSV or concept data or running scripts/seed-*.ts.
- Author
- KyRocks19 ↗
- Repository
- divination-station-takeoff ↗
- Licence
- AGPL-3.0
- Last repository change
- 02.11.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 02.11.2026, without references to retired models or APIs.
AGPL-3.0, copyleft: przeróbki udostępniane innym muszą mieć tę samą licencję.
What it does and when to use it
Seed or re-seed encyclopedia/concept/reversed-meaning data from the CSVs. Use when importing CSV or concept data or running scripts/seed-*.ts.
Original author description
Seed or re-seed encyclopedia/concept/reversed-meaning data from the CSVs. Use when importing CSV or concept data or running scripts/seed-*.ts.
How it works
- Scripts and their source data
- Workflow (live Neon DB guard rails)
- Conventions
SKILL.md preview
--- name: seed-data description: Seed or re-seed encyclopedia/concept/reversed-meaning data from the CSVs. Use when importing CSV or concept data or running scripts/seed-*.ts. --- # Seeding card & concept data Reference data (CSVs, `card_concepts.txt`, `concepts.txt`, `EncyclopediaArcana/`, legacy `tarot.db`) lives **outside the repo** in `../divination-station-reference/` (the old `../crossroads-of-tarot-reference/` is still found) (override with the `SEED_DATA_DIR` env var). ## Scripts and their source data | Script | Reads | Writes | |---|---|---| | `scripts/seed-encyclopedia.ts` | read the file for its sources | concepts, card_concepts | | `scripts/seed-reversed-concepts.ts` | `St. Cepesa Horat - R Meanings Duplicates.csv` | reversed card_concepts edges | | `scripts/seed-reversed-major-arcana.ts` | `St. Cepesa Horat - R Major Arcana Meanings.csv` | reversed Major Arcana edges | | `scripts/import-sqlite.ts` | legacy `tarot.db` | one-time import (see header usage) | Other CSVs in the root (Minor Arcana, Numerology, Zodiac, Major Arcana Associations, Reverses, R Matrix Duplicates, TowerIdeas) plus `card_concepts.txt` / `concepts.txt` are source material. Some are wired into `lib/card-associations.ts` and some are not yet imported, so check before assuming. ## Workflow (live Neon DB guard rails) 1. Read the script and the CSV header and first rows; summarize what will be inserted or updated. 2. Run `npx tsx scripts/<name>.ts --dry-run`. Every seed script supports it: the whole run happens inside a transaction that is rolled back, so you get real counts (parsed, new vs existing concepts and edges, unmatched names) and nothing is saved. New seed scripts must support `--dry-run` the same way. 3. Show the user the dry-run result and get an explicit OK before the real run. 4. Run `npx tsx scripts/<name>.ts` without the flag (the seed scripts load `.env.local` themselves). 5. Verify with a count query and report numbers. Scripts should be idempotent; confirm a second run changes nothing. ## Conventions - Concept names are normalized with a capitalizing helper (`toDisplayName`); keep new scripts consistent. - Reversed edges use `card_concepts.reversed = true` (migration 011); the primary key includes `reversed`. - New scripts: header comment with the CSV name, "Idempotent", and a `Usage:` line. - CSVs may contain curly quotes or BOMs; trim and normalize when matching names.
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · KyRocks19/divination-station-takeoff | 90 | AGPL-3.0 |
| voxtechnologies/transmute-framework | 100 | MIT |
Database snapshot: 13.11.2026 · package version 13051a8aa3f9 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100seed-script
Use when the migration state machine emits the `seedScript` task for a BTEQ script unit (`kind: "script"`, `source.format: "bteq"`), before baseline capture. - 100seed
Generate FK-aware, deterministic sample/seed data from a database schema, ORM model, or migrations — INSERT statements emitted in dependency order (parents first), values derived from row index so output is stable and reviewable. Read-only; never writes to a database. For… - 100aidp-fusion-seed
Turn a natural-language seed request into a scoped and guarded seed run with validation, bootstrap, cluster, overwrite, and resume checks. Use for first loads, selected datasets or layers, mart seeding, or seed recovery. - 100azuresql-db-seed
Populates the local Azure SQL Database container's database (appdb) with realistic sample/test data so a developer has something to build against. Use when the user says "seed the database", "add test data", "populate the dev database", "generate sample data", "fake data", "load… - 100export-data
Use when the user wants to export session data — e.g. 'export my sessions', 'download data', 'export to CSV', 'get my data - 100haven-seed
Fill a haven stack with seeded data and read its logins with `haven db seed`, including the auto-seed that `haven up` runs on an empty stack. Use when someone says 'haven seed', 'haven db seed', 'seed the stack', 'seed data', 'auto-seed', 'haven up --no-seed', 'who can I log in…