convex-patterns
OfficialConvex backend patterns for scalable apps.
System Documentation
What problem does it solve?
This Skill addresses the complexity and fragmentation of building large Convex backends by providing a cohesive set of architectural patterns. It guides you on organizing queries, mutations, and actions, implementing robust authentication, and adopting resilient generation practices to ensure progress even during long-running tasks.
Core Features & Use Cases
- Standardized Query/Mutation/Action patterns for real-time Convex apps
- TypeScript recursion workarounds via internal helpers to avoid depth limits
- Auth patterns to reliably fetch or create the current user in mutations and actions
- Normalized schema guidance and indexing strategies for scalable data models
- Resilient generation patterns with long-running actions and DB-persisted state
- Testing patterns and utilities to validate Convex workflows
Quick Start
Review the convex-patterns documentation and start refactoring your project to reuse the provided patterns. Begin by extracting authentication and helper logic into internal queries and using actions for long-running tasks, ensuring DB persistence for resilience.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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-patterns Download link: https://github.com/planetaryescape/blah.chat/archive/main.zip#convex-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.