C

convex-seed

by @convexv
4.6(120)

A skill for seeding or bulk-importing data into a Convex database, using a re-runnable internalMutation seed function or `npx convex import` while matching the schema validators. It makes data initialization idempotent and verifiable across dev, preview, and demo deployments, so re-running seeds is safe and never pollutes shared environments with duplicates or secrets.

convexdatabaseseedingdata-importidempotentGitHub
Installation
npx skills add https://github.com/convex/agent-skills --skill convex-seed
compare_arrows

Before / After Comparison

2 组
Before

Developers hand-write one-off insert scripts whose fields often mismatch the schema validators, then iterate on errors; re-running duplicates rows and forces manual table wipes.

After

This Skill seeds via a re-runnable internalMutation or `npx convex import`, matching validators exactly with clear-then-insert or upsert semantics, so re-running is safe.

SKILL.md

Seed / import data

Populate tables via an internalMutation seed function (re-runnable) or npx convex import, matching the schema.

Workflow

  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.

User Reviews (0)

Write a Review

Effect
Usability
Docs
Compatibility

No reviews yet

Statistics

Installs34.8K
Rating4.6 / 5.0
Version
Updated2026年10月23日
Comparisons2

User Rating

4.6(120)
5
37%
4
43%
3
13%
2
5%
1
2%

Rate this Skill

0.0

Compatible Platforms

🤖claude-code

Timeline

Created2026年10月17日
Last Updated2026年10月23日
🎁 Agent Knowledge Cards
Survey