convex-reviewer

安装量: 10.1K
排名: #1562

安装

npx skills add https://github.com/get-convex/agent-skills --skill convex-reviewer

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 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.. 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. 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). Report findings grouped by severity; explain why each issue matters and suggest a fix. Rules Show more Installs 916 Repository get-convex/agent-skills GitHub Stars 42 First Seen 2 days ago Security Audits Gen Agent Trust Hub Pass Socket Pass Snyk Pass

返回排行榜