.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/agent-skills/convex-performance-audit
home/skills/get-convex/agent-skills/convex-performance-audit
get-convex avatar

convex-performance-audit

byget-convex· 29 skills

Installs

93k

Stars

40

Forks

8

Category

Backend & APIs

View on GitHub

TL;DR

Audits Convex performance for reads, subscriptions, write contention, and function limits. Use for slow features, insights findings, OCC conflicts, or read amplification.

How to install convex-performance-audit?

get-convex/agent-skills/convex-performance-audit
$npx -y skills add get-convex/agent-skills --skill convex-performance-audit

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Use this skill

Run `npx skills use "https://github.com/get-convex/agent-skills" --skill "get-convex/agent-skills/convex-performance-audit"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.

Use the whole pack

Use the skills in "https://github.com/get-convex/agent-skills" that are relevant to the current task. Run `npx skills add "https://github.com/get-convex/agent-skills"` and select the relevant skills, then follow their instructions.

Files · 1

View on GitHub
SKILL.md
1# Convex Performance Audit
2 
3Diagnose and fix performance problems in Convex applications, one problem class
4at a time.
5 
6## When to Use
7 
8- A Convex page or feature feels slow or expensive
9- `npx convex insights --details` reports high bytes read, documents read, or
10 OCC conflicts
11- Low-freshness read paths are using reactivity where point-in-time reads would
12 do
13- OCC conflict errors or excessive mutation retries
14- High subscription count or slow UI updates
15- Functions approaching execution or transaction limits
16- The same performance pattern needs fixing across sibling functions
17 
18## When Not to Use
19 
20- Initial Convex setup, auth setup, or component extraction
21- Pure schema migrations with no performance goal
22- One-off micro-optimizations without a user-visible or deployment-visible
23 problem
24 
25## Guardrails
26 
27- Prefer simpler code when scale is small, traffic is modest, or the available
28 signals are weak
29- Do not recommend digest tables, document splitting, fetch-strategy changes, or
30 migration-heavy rollouts unless there is a measured signal, a clearly
31 unbounded path, or a known hot read/write path
32- In Convex, a simple scan on a small table is often acceptable. Do not invent
33 structural work just because a pattern is not ideal at large scale
34 
35## First Step: Gather Signals
36 
37Start with the strongest signal available:
38 
391. If deployment Health insights are already available from the user or the
40 current context, treat them as a first-class source of performance signals.
412. If CLI insights are available, run `npx convex insights --details`. Use
42 `--prod`, `--preview-name`, or `--deployment-name` when needed.
43 - If the local repo's Convex CLI is too old to support `insights`, try
44 `npx -y convex@latest insights --details` before giving up.
453. If the repo already uses `convex-doctor`, you may treat its findings as
46 hints. Do not require it, and do not treat it as the source of truth.
474. If runtime signals are unavailable, audit from code anyway, but keep the
48 guardrails above in mind. Lack of insights is not proof of health, but it is
49 also not proof that a large refactor is warranted.
50 
51## Signal Routing
52 
53After gathering signals, identify the problem class and read the matching
54reference file.
55 
56| Signal | Reference |
57| -------------------------------------------------------------- | ----------------------------------------- |
58| High bytes or documents read, JS filtering, unnecessary joins | `references/hot-path-rules.md` |
59| OCC conflict errors, write contention, mutation retries | `references/occ-conflicts.md` |
60| High subscription count, slow UI updates, excessive re-renders | `references/subscription-cost.md` |
61| Function timeouts, transaction size errors, large payloads | `references/function-budget.md` |
62| General "it's slow" with no specific signal | Start with `references/hot-path-rules.md` |
63 
64Multiple problem classes can overlap. Read the most relevant reference first,
65then check the others if symptoms remain.
66 
67## Escalate Larger Fixes
68 
69If the likely fix is invasive, cross-cutting, or migration-heavy, stop and
70present options before editing.
71 
72Examples:
73 
74- introducing digest or summary tables across multiple flows
75- splitting documents to isolate frequently-updated fields
76- reworking pagination or fetch strategy across several screens
77- switching to a new index or denormalized field that needs migration-safe
78 rollout
79 
80When correctness depends on handling old and new states during a rollout,
81consult the `convex-migration-helper` skill for the migration workflow.
82 
83## Workflow
84 
85### 1. Scope the problem
86 
87Pick one concrete user flow from the actual project. Look at the codebase,
88client pages, and API surface to find the flow that matches the symptom.
89 
90Write down:
91 
92- entrypoint functions
93- client callsites using `useQuery`, `usePaginatedQuery`, or `useMutation`
94- tables read
95- tables written
96- whether the path is high-read, high-write, or both
97 
98### 2. Trace the full read and write set
99 
100For each function in the path:
101 
1021. Trace every `ctx.db.get()` and `ctx.db.query()`
1032. Trace every `ctx.db.patch()`, `ctx.db.replace()`, and `ctx.db.insert()`
1043. Note foreign-key lookups, JS-side filtering, and full-document reads
1054. Identify all sibling functions touching the same tables
1065. Identify reactive stats, aggregates, or widgets rendered on the same page
107 
108In Convex, every extra read increases transaction work, and every write can
109invalidate reactive subscribers. Treat read amplification and invalidation
110amplification as first-class problems.
111 
112### 3. Apply fixes from the relevant reference
113 
114Read the reference file matching your problem class. Each reference includes
115specific patterns, code examples, and a recommended fix order.
116 
117Do not stop at the single function named by an insight. Trace sibling readers
118and writers touching the same tables.
119 
120### 4. Fix sibling functions together
121 
122When one function touching a table has a performance bug, audit sibling
123functions for the same pattern.
124 
125After finding one problem, inspect both sibling readers and sibling writers for
126the same table family, including companion digest or summary tables.
127 
128Examples:
129 
130- If one list query switches from full docs to a digest table, inspect the other
131 list queries for that table
132- If one mutation isolates a frequently-updated field or splits a hot document,
133 inspect the other writers to the same table
134- If one read path needs a migration-safe rollout for an unbackfilled field,
135 inspect sibling reads for the same rollout risk
136 
137Do not leave one path fixed and another path on the old pattern unless there is
138a clear product reason.
139 
140### 5. Verify before finishing
141 
142Confirm all of these:
143 
1441. Results are the same as before, no dropped records
1452. Eliminated reads or writes are no longer in the path where expected
1463. Fallback behavior works when denormalized or indexed fields are missing
1474. Frequently-updated fields are isolated from widely-read documents where
148 needed
1495. Every relevant sibling reader and writer was inspected, not just the original
150 function
151 
152## Reference Files
153 
154- `references/hot-path-rules.md` - Read amplification, invalidation,
155 denormalization, indexes, digest tables
156- `references/occ-conflicts.md` - Write contention, OCC resolution, hot document
157 splitting
158- `references/subscription-cost.md` - Reactive query cost, subscription
159 granularity, point-in-time reads
160- `references/function-budget.md` - Execution limits, transaction size, large
161 documents, payload size
162 
163Also check the official
164[Convex Best Practices](https://docs.convex.dev/understanding/best-practices/)
165page for additional patterns covering argument validation, access control, and
166code organization that may surface during the audit.
167 
168## Checklist
169 
170- [ ] Gathered signals from insights, dashboard, or code audit
171- [ ] Identified the problem class and read the matching reference
172- [ ] Scoped one concrete user flow or function path
173- [ ] Traced every read and write in that path
174- [ ] Identified sibling functions touching the same tables
175- [ ] Applied fixes from the reference, following the recommended fix order
176- [ ] Fixed sibling functions consistently
177- [ ] Verified behavior and confirmed no regressions

Security

Passed

  • Gen Agent Trust Hubpass
  • Socketpass
  • Snykpass
  • ZeroLeakspass

Preview

get-convex/agent-skillsget-convex/agent-skills

$ npx -y skills add get-convex/agent-skills --skill convex-performance-audit

▸ installing to .claude/skills…

✓ convex-performance-audit ready

Repoget-convex/agent-skills
TypeSkills
CategoryBackend & APIs
ForDeveloperOps
UpdatedJul 2026
License—
First seenJul 26, 2026

Tags

Skill

Related

6 picks
Type
  1. microsoft avatarazure-messagingTroubleshoot and resolve issues with Azure Messaging SDKs for Event Hubs and Service Bus.SkillsJul 2026473k1.3k
  2. larksuite avatarlark-openapi-explorer飞书/Lark 原生 OpenAPI 探索:从官方文档库中挖掘未经 CLI 封装的原生 OpenAPI 接口。当用户的需求无法被现有 lark-* skill 或 lark-cli 已注册命令满足,需要查找并调用原生飞书 OpenAPI 时使用。SkillsJul 2026386k16k
  3. larksuite avatarlark-skill-maker创建 lark-cli 的自定义 Skill。当用户需要把飞书 API 操作封装成可复用的 Skill(包装原子 API 或编排多步流程)时使用。SkillsJul 2026385k16k
  4. mattpocock avatarimplementImplement a piece of work based on a spec or set of tickets.SkillsJul 2026237k189k
  5. supabase avatarsupabaseUse when doing ANY task involving Supabase. Triggers: Supabase products (Database, Auth, Edge Functions, Realtime, Storage, Vectors, Cron, Queues); client…SkillsJul 2026188k2.4k
  6. firebase avatarfirebase-basicsProvides foundational setup, authentication, and project management workflows for Firebase using the Firebase CLI.SkillsJul 2026117k389