convex-backend

Design Convex backends with TypeScript schemas, functions, and real-time subscriptions.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Elric412/Leica-cam --skill convex-backend-elric412
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-backend
Source: https://github.com/Elric412/Leica-cam/tree/main/.agents/skills/convex-backend
Command: npx skills add https://github.com/Elric412/Leica-cam --skill convex-backend-elric412

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Convex backend development guidelines. Use when writing Convex functions, schemas, queries, mutations, actions, or any backend code in a Convex project. Triggers on tasks involving Convex database operations, real-time subscriptions, file storage, or serverless functions.

Core Features & Use Cases

Comprehensive guide for building Convex backends with TypeScript. Covers function syntax, validators, schemas, queries, mutations, scheduling, and file storage.

Quick Start

Create a new Convex backend module and implement a sample function following the TypeScript patterns shown.

Frequently Asked Questions about convex-backend

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I define database schemas with validators in a Convex backend?

You define Convex schemas using TypeScript and built-in validators to enforce strict data types. This approach structures backend logic and ensures data validation before executing queries, mutations, or real-time subscriptions.

What is the best way to write real-time subscriptions and queries in Convex?

The best way to write real-time subscriptions in Convex is by using TypeScript query functions. These functions automatically push live data updates to clients, satisfying requirements for reactive query patterns and structured backend logic.

Can I schedule serverless functions and manage file storage in Convex?

Yes, you can schedule serverless functions and define file storage in Convex. The system provides specific patterns for scheduling operations and managing file storage definitions within a structured TypeScript backend environment.

How do I structure mutations and actions for safe integration in a Convex TypeScript project?

Structure Convex mutations and actions using TypeScript syntax patterns that separate database writes from external side effects. This ensures safe integration practices and validated execution for your backend serverless functions.

Does Convex backend development require prior TypeScript experience?

Convex backend development requires TypeScript to implement validated schemas, functions, and serverless logic. Prior TypeScript experience is necessary to effectively apply query and mutation patterns and ensure safe integration practices.