convex-patterns

Implement reactive Convex app patterns with LLM integration and secure access.

Updated Jan 30, 2026
One-click install
npx skills add https://github.com/gensart-projs/cp-kit --skill convex-patterns-gensart-projs
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: convex-patterns
Source: https://github.com/gensart-projs/cp-kit/tree/main/packages/cp-toolkit/templates/skills/convex-patterns
Command: npx skills add https://github.com/gensart-projs/cp-kit --skill convex-patterns-gensart-projs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Convex reference patterns provide ready-to-use patterns to integrate Convex with LLMs, reactive queries, and orchestration, reducing boilerplate and increasing reliability.

Core Features & Use Cases

  • Core primitives and patterns for Documents, Queries, Functions, and Auth within Convex.
  • Reactive and streaming patterns for live updates and AI-assisted decision making in Convex-powered apps.
  • Use cases include building dashboards, chatbots, and real-time workflows with secure access controls.

Quick Start

Install and configure the Convex reference patterns in your project to begin applying the patterns.

Frequently Asked Questions about convex-patterns

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

FAQPage Schema
How do I integrate LLMs with Convex reactive queries?▼

You can integrate LLMs with Convex reactive queries by applying reference patterns for streaming updates and state management. These patterns reduce boilerplate by providing ready-to-use orchestration logic for real-time, AI-assisted applications.

What are the core Convex primitives needed for real-time apps?▼

Core Convex primitives for real-time apps include Documents, Queries, Functions, and Auth. These primitives form the foundation for managing state, securing access, and orchestrating live data workflows.

Can I use Convex patterns for building chatbots and dashboards?▼

Yes, Convex patterns support building chatbots, dashboards, and real-time workflows. The patterns provide secure access controls, reactive queries, and streaming updates specifically designed for these interactive use cases.

How do I handle streaming updates in a Convex application?▼

You handle streaming updates in a Convex application by implementing the reactive and streaming patterns provided. These patterns enable live data synchronization and AI-assisted decision making through orchestrated, real-time queries.

Does Convex support secure access controls for AI-enabled apps?▼

Convex supports secure access controls through its Auth primitives and reference patterns. These patterns ensure secure data retrieval and conversations across real-time workflows with integrated LLM capabilities.

What is the best way to reduce boilerplate in Convex real-time apps?▼

The best way to reduce boilerplate is by using Convex reference patterns for documents, queries, and functions. These patterns provide example-driven guidance and pre-built orchestration logic for reactive, AI-enabled applications.