Skip to content
Back to skills

Convex Reviewer

ASecurity

Convex code reviewer — security, auth, validators, performance, and pattern checks for code in a convex/ directory. Use to review or audit Convex functions before shipping.

  • 3 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 7, 2026
toolsrustreactapisecurityperformance

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 7, 2026

npx -y skills add evanharmon1/harmon-devkit --skill convex-reviewer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Convex Reviewer?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Convex Reviewer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/evanharmon1-convex-reviewer/badge)](https://www.skillsdirectory.com/skills/evanharmon1-convex-reviewer)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: convex-reviewer
description: "Convex code reviewer — security, auth, validators, performance, and pattern checks for code in a convex/ directory. Use to review or audit Convex functions before shipping."
---

> Originally created by Convex (https://convex.dev) and redistributed under the Apache-2.0 License.
> See [UPSTREAM.md](UPSTREAM.md) for provenance and local modifications.

<!-- GENERATED from convex-agents content/capabilities/convex-reviewer.json — do not edit by hand. -->

# 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

- Flag missing auth checks as Critical — any unauthenticated public mutation is a data-loss risk.
- Flag .filter() on DB queries as Important — it is a full table scan.
- Flag Date.now() in query handlers as Important — it breaks reactivity.
- Flag missing args or returns validators as Important.
- Flag scheduling to `api.*` (not `internal.*`) as Important.
- Always explain why a change is needed, not just what to change.

Files in this skill

  • LICENSE.upstream10.7 KB
  • SKILL.md1.9 KB
  • UPSTREAM.md628 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.