Skip to main content
Back to registry

schema-builder

get-convex/agent-skills

Build well-structured Convex schemas following best practices for relationships, indexes, and validators.

Installs483
Install command
npx skills add https://github.com/get-convex/agent-skills --skill schema-builder
Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykPASS
About this skill
Build well-structured Convex schemas following best practices for relationships, indexes, and validators. Single-field indexes : For simple lookups Compound indexes : For filtered queries Remove redundant : by_a_and_b usually covers by_a If converting from nested structures: Before: After: - Creating a new convex/schema.ts file - Adding tables to existing schema - Designing data model relationships - Adding or optimizing indexes - Converting nested data to relational structure - Document-Relational : Use flat documents with ID references, not deep nesting - Index Foreign Keys : Always index fields used in lookups (userId, teamId, etc.) - Limit Arrays : Only use arrays for small, bounded collections (<8192 items) - Type Safety : Use strict validators with v.* types - Single-field indexes : For simple lookups - by_user: ["userId"] - by_email: ["email"] - Compound indexes : For filtered queries - by_user_and_status: ["userId", "status"] - by_team_and_created: ["teamId", "createdAt"] - Remove redundant : by_a_and_b usually covers by_a

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does schema-builder do?

Build well-structured Convex schemas following best practices for relationships, indexes, and validators.

Is schema-builder good?

schema-builder does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does schema-builder work with?

schema-builder currently lists compatibility with codex, gemini-cli, opencode, kimi-cli, amp, github-copilot.

What are alternatives to schema-builder?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install schema-builder?

npx skills add https://github.com/get-convex/agent-skills --skill schema-builder

Related skills

More from get-convex/agent-skills

Related skills

Alternatives in Software Engineering