Skip to main content

seed

Seed the Convex database with starter/fixture data or import an existing dataset (CSV/JSON). TRIGGER when the user wants sample/seed data or to import a dataset into Convex. Idempotent, schema-matching.

설치로 이동

소스 정보

저장소
get-convex/convex-backend-skill
최근 소스 활동
2026년 7월 7일 16:41
감지된 SKILL.md 언어
영어
스타
6
포크
8

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
seed
description
Seed the Convex database with starter/fixture data or import an existing dataset (CSV/JSON). TRIGGER when the user wants sample/seed data or to import a dataset into Convex. Idempotent, schema-matching.
# Seed / import data Populate tables via an internalMutation seed function (re-runnable) or `npx convex import`, matching the schema. ## Steps 1. For fixtures: write an internalMutation that inserts sample rows; run it with `npx convex run`. 2. For bulk import: shape the data to the schema and use `npx convex import`. 3. Make seeding idempotent (clear-then-insert or upsert) so re-running is safe. 4. Verify row counts. ## Rules - Seed via internalMutation or convex import, matching validators. - Make seeding idempotent. - Never seed secrets/PII into a shared deployment.
GitHub에서 보기