convex-backend

Build reactive backend applications with Convex queries, mutations, and actions in TypeScript.

3|Updated Aug 26, 2026
One-click install
npx skills add https://github.com/Fabric-Pro/fabric-oss --skill convex-backend-fabric-pro
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: convex-backend
Source: https://github.com/Fabric-Pro/fabric-oss/tree/main/.cursor/skills/convex-backend
Command: npx skills add https://github.com/Fabric-Pro/fabric-oss --skill convex-backend-fabric-pro

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Building real-time backends typically requires managing servers, websockets, and cache invalidation manually. This Skill provides guidance for implementing Convex queries, mutations, and actions so data stays synchronized across clients without custom infrastructure. ## Core Features & Use Cases - Reactive Queries: Write TypeScript query functions that automatically push updates to subscribed clients when underlying data changes. - Transactional Mutations: Implement write operations with transactional guarantees using typed argument validators. - Use Case: When building a collaborative chat application, use this Skill to define a messages table, a list query that auto-updates every connected client, and a create mutation that inserts messages with validated arguments. ## Quick Start Ask the AI to create a Convex query and mutation for a users table with typed arguments following the patterns in this Skill.

Frequently Asked Questions about convex-backend

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

FAQPage Schema
How do I write a Convex query in TypeScript?▼

Define a query using the query function from the generated server module, specify args with Convex validators, and return data via ctx.db in the handler. Queries automatically re-run and push updates to subscribed clients when underlying data changes.

How do I create a mutation in Convex?▼

Use the mutation function with typed argument validators like v.string() and call ctx.db.insert or ctx.db.patch inside the handler. Mutations run transactionally, so all reads and writes in a single mutation either succeed or roll back together.

What is the difference between Convex queries, mutations, and actions?▼

Queries read data reactively and auto-update subscribers, mutations write data with transactional guarantees, and actions run arbitrary server-side logic such as calling external APIs. Queries and mutations access the database directly, while actions invoke queries and mutations indirectly.

Does Convex support authentication and file uploads?▼

Convex supports authentication through Convex Auth and file uploads through its built-in storage system. The Skill covers implementing both patterns alongside reactive queries and mutations.

When should I not use Convex for a backend?▼

Convex may not fit when you need direct SQL access, existing relational database infrastructure, or long-running compute jobs beyond serverless limits. In those cases, a traditional database-backed API server is a better choice.