← Back to list

convex-utility
by amirrudd
⭐ 0🍴 0📅 Jan 22, 2026
SKILL.md
name: convex-utility description: Skill for standardizing and accelerating Convex backend development with boilerplate generation and pattern enforcement.
Convex Utility Skill
This skill enforces FlyerBoard's backend patterns for Convex mutations and queries.
Core Patterns
1. Authentication Check
All mutations must verify the user's identity.
const userId = await getDescopeUserId(ctx);
if (!userId) throw new Error("Must be logged in");
2. Soft Delete Filter
All queries fetching "active" flyers must filter out deleted records.
.filter(q => q.neq(q.field("isDeleted"), true))
3. Ownership Verification
Modifying a resource requires checking the userId.
const resource = await ctx.db.get(args.id);
if (resource.userId !== userId) throw new Error("Unauthorized");
Scripts
generate-mutation (via prompt instructions)
When asked to create a new Convex mutation, follow the template in examples/mutation-template.ts.
Examples
standard-mutation.ts
See examples/standard-mutation.ts for a complete implementation of a compliant mutation.
Quality Standards
- No hard deletes.
- Always use
v.id("tableName")for ID arguments. - Return meaningful errors (e.g., "Not found", "Unauthorized").
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon