What problem does it solve?
Convex backend code can ship with missing auth checks, unindexed queries, and validator gaps that cause data leaks or slow queries. This Skill applies a structured Convex-specific review checklist so these issues are caught before deployment.
Core Features & Use Cases
- Security Audit: Verifies every public function checks ctx.auth.getUserIdentity(), confirms resource ownership before reads/writes, and flags client-provided user IDs.
- Performance Review: Detects .filter() on database queries, missing indexes on foreign keys, Date.now() in query handlers, and unbounded .collect() calls.
- Code Quality Checks: Confirms args and returns validators on public functions, no any types, awaited promises, and bounded arrays.
- Use Case: Before merging a pull request that adds new Convex mutations, run this review to get findings grouped by severity (Critical / Important / Suggestion) with explanations and suggested fixes.
Quick Start
Review the code in my convex/ directory for security, performance, and validator issues before I ship it.