What problem does it solve?
This Skill helps teams turn backend logic into reusable Convex components that own their tables, functions, and app-facing APIs instead of scattering code across the app.
Core Features & Use Cases
- Component-first design: Choose whether the component should be local, packaged, or hybrid based on sharing and reuse needs.
- Clear boundary wiring: Create component-local
convex.config.ts/schema.ts/functions, then install with app.use(...) and call via ctx.runQuery, ctx.runMutation, or ctx.runAction.
- Correct auth/env handling: Keep authentication and environment access in the app layer while passing explicit values across the component boundary.
Example use case: Extract an app feature like “workspace membership notifications” into a Convex component that owns its tables and exposes small, well-typed functions, while the app provides auth-aware wrappers for clients.
Quick Start
Ask for a new Convex component that encapsulates the required tables and public functions, then follow the workflow to choose a shape, implement the component-local schema and functions, and wire app-side wrappers using ctx.runMutation or ctx.runQuery.