convex-development
CommunityEnforce safe Convex development patterns.
Authorjanekm
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides standardized Convex development patterns to ensure consistent, secure, and maintainable code when building queries, mutations, and actions.
Core Features & Use Cases
- Function Syntax (REQUIRED): Use the new function syntax with explicit validators to enforce type-safety.
- Return Validators: Always declare returns validators for all mutations and queries.
- Query with Index: Prefer indexed queries over broad filters to optimize performance.
- Authentication & Authorization: Use getCurrentUser pattern and role checks for protected mutations.
- Computed Fields & Activity Tracking: Extend query results with computed fields and record user activity.
- Anti-Patterns & Best Practices: Avoid common mistakes such as missing returns or ad-hoc casting.
Quick Start
Use the Convex development patterns in this skill to start implementing a new protected endpoint, e.g., a mutation adding an item with proper validators and an index-based query.
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-development Download link: https://github.com/janekm/reviews/archive/main.zip#convex-development 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.