convex-queries

Community

Master Convex queries with best practices.

AuthorSstobo
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Convex queries are essential for retrieving data in Convex apps, but without structured patterns and conventions it’s easy to write inconsistent, hard-to-maintain code. This skill provides clear guidance for defining, registering, calling, and optimizing queries, including pagination, indexing, and full-text search.

Core Features & Use Cases

  • Guidance on function definition, argument validators, and return value patterns for both public queries and internal queries.
  • Practical patterns for registering queries, calling them from mutations or actions via ctx.runQuery, and leveraging file-based routing references.
  • Pagination, indexing, and full-text search guidelines to build scalable, high-performance read paths.
  • Use Case: When building a Convex-backed application that lists or filters large datasets, these patterns help ensure correctness, performance, and maintainability.

Quick Start

Read the reference guidelines in references/query-guidelines.md and apply them to implement a sample query function with validators, indexing, and a straightforward call path from a mutation using ctx.runQuery.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: convex-queries
Download link: https://github.com/Sstobo/convex-skills/archive/main.zip#convex-queries

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.