Dane i analityka · Automatyzacja
seed-data
/seed-data
Wgrywa lub ponownie wgrywa dane encyklopedii i pojęć z plików CSV, uruchamiając skrypty seed w projekcie.
Dla kogo
- Autor
- KyRocks19 ↗
- Repozytorium
- divination-station-takeoff ↗
- Licencja
- AGPL-3.0
- Ostatnia zmiana repozytorium
- 02.11.2026
Ocena i bezpieczeństwo
90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Przestarzałość
Brak sygnałów. Repozytorium zmienione 02.11.2026, bez odwołań do wycofanych modeli i API.
Licencja
AGPL-3.0, copyleft: przeróbki udostępniane innym muszą mieć tę samą licencję.
Co robi i kiedy
Wgrywa lub ponownie wgrywa dane encyklopedii i pojęć z plików CSV, uruchamiając skrypty seed w projekcie.
Oryginalny opis (EN)
Seed or re-seed encyclopedia/concept/reversed-meaning data from the CSVs. Use when importing CSV or concept data or running scripts/seed-*.ts.
Jak działa
- Scripts and their source data
- Workflow (live Neon DB guard rails)
- Conventions
Sekcje z nagłówków SKILL.md, w oryginale · 33 linii, 323 słów
Podgląd SKILL.md
--- 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.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · KyRocks19/divination-station-takeoff | 90 | AGPL-3.0 |
| voxtechnologies/transmute-framework | 100 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 13051a8aa3f9 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100seed-script
Tworzy dane startowe dla skryptu BTEQ w migracji przed przechwyceniem stanu bazowego. - 100seed
Generuje deterministyczne dane przykładowe z schematu bazy z kluczami obcymi w kolejności zależności, bez zapisu do bazy. - 100aidp-fusion-seed
Zamienia prośbę o seed w zakresowy i strzeżony przebieg seed z kontrolami walidacji, bootstrapu, klastra, nadpisywania i wznowienia: pierwsze ładowania, wybrane zbiory i warstwy, mart i odzyskiwanie. - 100azuresql-db-seed
Wypełnia lokalną bazę appdb w kontenerze Azure SQL Database realistycznymi danymi testowymi: skrypty seed, dane przykładowe i ładowanie plików CSV. - 100export-data
Eksportuje dane sesji użytkownika, na przykład do pliku CSV, gdy użytkownik chce pobrać lub wyeksportować swoje dane. - 100haven-seed
Wypełnia stos haven zasianymi danymi poleceniem haven db seed, w tym automatycznym seedem przy pustym stosie, i pokazuje dane logowania zasianych użytkowników.