Build Convex schemas, queries, mutations, actions, and client usage with strict validators and indexes.
Use for data modeling, function authoring, argument/return validation, and performance guidance.
Use proactively when work touches convex/schema.ts, functions, or api.* references.
Examples:
- user: "Design tables for multi-tenant app" → defineSchema/defineTable with indexes
- user: "Write a mutation" → args/returns validators + auth checks
- user: "Optimize query" → add index and withIndex range expression
- user: "Use useQuery" → show generated hook usage