What problem does it solve?
This Skill automates the creation of secure, type-safe Convex backend functions and API endpoints to prevent authentication, authorization, validation, and transactional mistakes that cause runtime errors or security vulnerabilities.
Core Features & Use Cases
- Structured Function Templates: Ready patterns and examples for queries, mutations, actions, and internal functions with explicit argument and return validators.
- Security and Reliability: Enforces authentication checks, authorization/ownership checks, error handling, indexed queries, transactional semantics for mutations, and clear separation for Node.js actions using "use node".
- Use Case: Build a task management backend that securely reads user tasks, performs transactional updates, and triggers external notifications from Node-only actions.
Quick Start
Create a Convex function that validates input arguments, verifies the caller's identity, checks resource authorization, and then performs the appropriate read or write operation with proper error handling.