What problem does it solve?
Convex development introduces specialized patterns for schema design, reactive queries, transactional mutations, and side-effect handling that are easy to misuse without clear guidance. This Skill captures proven Convex best practices to prevent race conditions, incorrect use of actions versus mutations, and poor index or pagination design that can harm real-time performance and correctness.
Core Features & Use Cases
- Schema-first patterns: guidance for defining tables, indexes, and validators to ensure consistent data models.
- Reactive query and real-time patterns: recommendations for using queries, subscriptions, and paginated real-time feeds in web and mobile apps.
- Transactional mutations and actions: rules for ACID mutations, using actions for side effects, and avoiding awaiting queries inside mutations.
- Deployment and maintenance: CLI workflows for local development, deployment, data import/export, and schema migrations.
- Use Case: Build a collaborative task tracker where users, projects, and tasks sync in real time, mutations remain transactional, and file uploads are handled by actions.
Quick Start
Ask the convex-database skill to design a Convex schema for a collaborative task app with users, projects, and tasks and provide queries and mutations for listing, creating, and updating tasks.