Agent skill

convex-schema-builder

Design and evolve Convex schemas with proper indexes, relationships, and repo-specific constraints. Use when editing convex/schema.ts or adding tables.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/convex-schema-builder

Metadata

Additional technical details for this skill

author
agentforge
source
get-convex/convex-agent-plugins@f104efb49a787a1ef4a6c84df496d58800ce334a

SKILL.md

Convex Schema Builder

Use this skill for convex/schema.ts work.

Core rules

  • Prefer flat, relational documents over deep nesting.
  • Index foreign keys and common filter paths early.
  • Use arrays only for small, naturally bounded sets.
  • Keep schema changes compatible with current data unless the task explicitly includes a migration.

AgentForge-specific guidance

  • Schema should support the data layer only. Do not model Mastra runtime execution inside Convex unless the repo already does so intentionally.
  • If a schema change is for daemon memory or runtime coordination, cross-check docs/TECH-REFERENCE.md before changing table shapes.

References

  • Read schema-checklist.md for indexing, pagination, and anti-patterns.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results