What problem does it solve? Developers building Convex backends often write functions without argument validators, use slow filter-based queries instead of indexes, and create non-idempotent mutations that fail under optimistic concurrency control, leading to runtime errors and performance issues. ## Core Features & Use Cases - Function Organization Patterns: Provides domain-based file structure with public and internal functions using the modern object syntax with handlers. - Validation & Type Safety: Enforces argument and return validators with convex/values, plus proper use of Id and Doc TypeScript types. - Query & Mutation Optimization: Demonstrates index-based queries, idempotent mutations, direct patching, and ConvexError for user-facing errors. - Use Case: When adding a new tasks feature to a Convex app, apply these patterns to define the schema with indexes, write validated CRUD functions, and handle write conflicts correctly. ## Quick Start Review my Convex functions in the backend package and refactor them to follow Convex best practices with validators and indexes.