| v.string() | string | "hello" | | v.number() | number | 42 | | v.boolean() | boolean | true | | v.null() | null | null | | v.id("table") | Id | Document reference | | v.array(v) | T[] | [1, 2, 3] | | v.object({}) | { ... } | { name: "..." } | | v.optional(v) | T \| undefined | Optional field | | v.union(...) | T1 \| T2 | Multiple types |
Code organization patterns and TypeScript best practices for Convex. Use when structuring a Convex project, writing helper functions, defining schemas, working with types like QueryCtx/MutationCtx/ActionCtx, or organizing code in a convex/model directory. Source: aaronvanston/skills-convex.
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/aaronvanston/skills-convex --skill convex-patterns Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw