Build Convex functions with clear data contracts.
Guides implementation of Convex backend functions with validated inputs and outputs, appropriate function types, and safe runtime boundaries.
When to use it
Use when adding or changing exported functions in convex/*.ts, or choosing between a query, mutation, and action.
It changes how the agent implements Convex functions by requiring validators and choosing function types according to what each handler touches.
What you provide
The coding rules apply to the Convex library, including validators imported from convex/values.
No additional actions listed.