convex avatar

Convex Reviewer

If you're shipping Convex functions and want a second pair of eyes before they go live, convex-reviewer walks through a `convex/` directory in three passes: security and auth first (every public function should check `ctx.auth.getUserIdentity()` and verify ownership), then performance (flagging `.filter()` on queries, missing indexes on foreign keys, and unbounded `.collect()`), then code quality like missing `args` and `returns` validators or unawaited promises. Findings come back grouped as Critical, Important, or Suggestion, with the reasoning attached rather than just the fix. The checklist is opinionated and Convex-specific, so it won't catch general JavaScript problems, but for catching the mistakes that actually bite Convex apps in production, it's a sensible pre-ship pass.

skills.sh installs
41.3K
GitHub stars
69
last updated
Oct 26, 2026

Install

$ npx -y skills add convex/agent-skills --skill convex-reviewer --agent claude-code

Installs into .claude/skills of the current project.

Files

Convex Code Reviewer

Structured review of Convex code for security, authorization, validators, performance, and schema design. Applies a Convex-specific checklist and flags anti-patterns with severity (Critical / Important / Suggestion).

Workflow

  1. First pass — Security: verify all public functions check ctx.auth.getUserIdentity(), verify resource ownership before reads/writes, confirm no client-provided user IDs are trusted, confirm scheduled functions target internal.* not api.*.
  2. Second pass — Performance: confirm no .filter() on DB queries (withIndex required), verify all foreign-key fields have indexes, confirm no Date.now() in query handlers, confirm .collect() is not used on unbounded queries.
  3. Third pass — Code quality: confirm args and returns validators on every public function, no any types, promises are awaited, arrays in documents are bounded (<8192 elements).
  4. Report findings grouped by severity; explain why each issue matters and suggest a fix.

Rules

Sponsors

Details

Repository
github.com/convex/agent-skills
Categories
Backend & APIs, Security, Git & Pull Requests, Code Review & Quality, AI & Agent Building, Debugging, Databases
First seen
Oct 26, 2026

More from convex/agent-skills

All 30
1convex avatarconvex-docsconvex/agent-skillsPull version-current Convex docs for the version this project uses — pin the installed version, fetch page-as-markdown or check node_modules types, freshness hi41.3Kskills.sh installs
2convex avatarconvex-designconvex/agent-skillsDesign and build reactive, type-safe, production-grade backends on Convex. Covers schema, queries/mutations/actions, indexes, auth, file storage, scheduling, re41.2Kskills.sh installs
3convex avatarconvex-launch-readinessconvex/agent-skillsRun every Convex audit (authz, reviewer, advisor, insights) into one scored, deduped readiness report with an ordered fix plan — Lighthouse for your backend.41Kskills.sh installs
4convex avatarconvex-explain-appconvex/agent-skillsExplain an existing Convex app — data model + relationships, public vs internal functions, auth/ownership model, components, a request→data flow — read from the41Kskills.sh installs
5convex avatarconvex-domainsconvex/agent-skillsPoint a domain you already own at your Convex app (DNS records, custom-domain attach, auth-origin rebind).41Kskills.sh installs
6convex avatarconvex-seedconvex/agent-skillsSeed or import data into the Convex database.41Kskills.sh installs