convex-backend

Convex Backend - Realtime Database & Functions

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "convex-backend" with this command: npx skills add nilecui/skillsbase/nilecui-skillsbase-convex-backend

Convex Backend - Realtime Database & Functions

When to use this skill

  • Building real-time collaborative applications

  • Implementing reactive data that auto-updates

  • Writing Convex queries, mutations, and actions

  • Creating serverless backend functions with TypeScript

  • Implementing optimistic UI updates

  • Handling file uploads with Convex storage

  • Implementing authentication with Convex Auth

  • Designing Convex database schemas

  • Building chat applications or live dashboards

  • Creating applications with instant data sync

  • Implementing scheduled functions (crons)

  • Building backends without managing infrastructure

When to use this skill

  • Building realtime apps with Convex, implementing reactive queries, or managing backend logic with type-safe functions.

  • When working on related tasks or features

  • During development that requires this expertise

Use when: Building realtime apps with Convex, implementing reactive queries, or managing backend logic with type-safe functions.

Core Concepts

Queries (Read Data)

import { query } from './_generated/server';
import { v } from 'convex/values';

export const list = query({
args: {},
handler: async (ctx) => {
return await ctx.db.query('users').collect();
}
});

export const get = query({
args: { id: v.id('users') },
handler: async (ctx, args) => {
return await ctx.db.get(args.id);
}
});

Mutations (Write Data)

import { mutation } from './_generated/server';

export const create = mutation({
args: { name: v.string(), email: v.string() },
handler: async (ctx, args) => {
return await ctx.db.insert('users', args);
}
});

Resources

  • Convex Docs

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

drawio-diagrams-enhanced

No summary provided by upstream source.

Repository SourceNeeds Review
General

using-shadcn-ui

No summary provided by upstream source.

Repository SourceNeeds Review
General

documentation-writing

No summary provided by upstream source.

Repository SourceNeeds Review