convex-guidelines

Review Convex backend code for performance, security, and maintainability best practices.

49|12|Updated Aug 18, 2025
One-click install
npx skills add https://github.com/stickerdaniel/saas-starter --skill convex-guidelines-stickerdaniel
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: convex-guidelines
Source: https://github.com/stickerdaniel/saas-starter/tree/main/skills/convex-guidelines
Command: npx skills add https://github.com/stickerdaniel/saas-starter --skill convex-guidelines-stickerdaniel

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides a comprehensive guide to writing robust, efficient, and secure Convex backend code, addressing common pitfalls and ensuring code quality.

Core Features & Use Cases

  • Canonical Patterns: Defines best practices for validators, function registration, queries, mutations, actions, and more.
  • Authentication: Covers Better Auth integration with Convex, including server-side and client-side setup.
  • File Storage: Guidelines on handling file storage within Convex.
  • Use Case: Ideal for developers new to Convex or looking to optimize their existing backend code.

Quick Start

Use the convex-guidelines skill to ensure your Convex backend code adheres to established best practices.

Frequently Asked Questions about convex-guidelines

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

FAQPage Schema
How do I set up authentication in a Convex backend?▼

Authentication in a Convex backend requires integrating Better Auth, which involves configuring both server-side and client-side setup to secure your queries and mutations properly.

What are the best practices for writing Convex queries and mutations?▼

Best practices for Convex queries and mutations include using canonical patterns for validators, proper function registration, and applying strict validation to ensure performance, security, and maintainability.

How should I handle file storage in Convex?▼

File storage in Convex should follow specific guidelines for handling file uploads and retrieval to ensure robust and efficient backend code without hitting common performance pitfalls.

Do I need specific validators for every Convex function?▼

Validators are required for Convex functions to enforce data integrity. Applying proper validation to function registration ensures your backend code remains secure and maintainable.

Can I use Better Auth with my existing Convex backend code?▼

Better Auth can be integrated with existing Convex backend code by following specific server-side and client-side setup guidelines to properly align authentication with your current queries and mutations.