C
convex-reviewer
by @convexv
4.6(120)
convex/ ディレクトリのコードを構造的にレビューする Skill です。セキュリティ・パフォーマンス・コード品質の3パスで、認証とリソース所有権の確認、引数/戻り値バリデータ、インデックス利用、internal.* へのスケジューリングなどを点検し、Critical / Important / Suggestion の重要度別に修正理由つきで報告します。出荷前にデータ漏えいや全表スキャンなどの問題を止めたい場面で役立ちます。
インストール方法
npx skills add https://github.com/convex/agent-skills --skill convex-reviewercompare_arrows
Before / After 効果比較
1 组使用前
開発者が convex/ 配下の関数を目視で読み、認証・バリデータ・インデックスを記憶頼りに確認するため、認証なしの公開 mutation や .filter() による全表スキャンを見落とし、リリース後に発覚しがちです。
使用後
この Skill がセキュリティ・パフォーマンス・コード品質の3パスを固定チェックリストで点検し、Critical / Important / Suggestion の重要度別に修正理由つきで報告するため、出荷前にリスクを潰せます。
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
- 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
- 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.
ユーザーレビュー (0)
レビューを書く
効果
使いやすさ
ドキュメント
互換性
レビューなし
統計データ
インストール数35.0K
評価4.6 / 5.0
バージョン
更新日2026年10月23日
比較事例1 件
ユーザー評価
4.6(120)
5
37%
4
43%
3
13%
2
5%
1
2%
この Skill を評価
0.0
対応プラットフォーム
🤖claude-code
タイムライン
作成2026年10月17日
最終更新2026年10月23日