ClaudeCodeMod

All shelves / Skills

convex-reviewer

convex/agent-skills · 46.4k installs · 68 stars

Skill 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).

Marked Indirect Prompt Injection

Install

In your shell
npx -y skills add convex/agent-skills --skill convex-reviewer --agent claude-code

Run in a terminal. Claude loads the skill when a task calls for it. Check the repo's README before you run it.

Open the repo

Files

SKILL.md

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.

Facts

Kind
Skill
Repo
convex/agent-skills
Group
Uncategorized
Installs
46.4k
Stars
68

Same name on this shelf 1

  1. 1275convex-reviewerget-convex/agent-skills31.1k

From the same repo

  1. 903convex-docsconvex/agent-skills46.4k
  2. 906convex-designconvex/agent-skills46.3k
  3. 907convex-envconvex/agent-skills46.3k
  4. 908convex-deploy-guardconvex/agent-skills46.3k
  5. 909convex-optimizeconvex/agent-skills46.3k
  6. 910convex-cronsconvex/agent-skills46.3k