What problem does it solve? Writing Convex backend functions correctly requires knowing when to use queries versus mutations versus actions, how to validate arguments and return values, and how to handle errors and external API calls. This Skill provides the patterns and rules to implement Convex functions without common mistakes. ## Core Features & Use Cases - Function Type Guidance: Clear rules for choosing between reactive queries, transactional mutations, external-API actions, and HTTP webhook endpoints. - Validation & Error Handling: Enforces args and returns validators with convex/values and ConvexError for user-facing failures. - Internal Functions & Scheduling: Patterns for internalMutation/internalAction to protect sensitive logic and ctx.scheduler for deferred execution. - Use Case: When adding a Stripe webhook to a Next.js + Convex app, use this Skill to create an HTTP action that verifies the signature and routes the event to an internal mutation that updates payment records. ## Quick Start Write a Convex mutation that creates an appointment with argument validation, a not-found error, and a scheduled reminder notification.