convex/agent-skills49k installs
convex-test
Generate convex-test tests for the app's Convex functions.
How do I install this agent skill?
npx skills add https://github.com/convex/agent-skills --skill convex-testIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill provides standard development guidelines for generating unit tests for Convex functions using official and well-known testing libraries. No security risks were identified.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
<!-- GENERATED from convex-agents content/capabilities/test.json — do not edit by hand. -->
Generate Convex tests
Use convex-test + vitest to test functions against an in-memory backend: args/returns, auth paths, indexes, and scheduled functions.
Workflow
- Install convex-test + vitest.
- Write tests using convexTest(schema): seed via t.run, call t.query/t.mutation, assert.
- Cover auth (withIdentity), error paths, and scheduled functions (t.finishInProgressScheduledFunctions).
- Run vitest; keep tests deterministic.
Rules
- Use convex-test (in-memory), not a live deployment.
- Cover auth + error paths, not just the happy path.
- Keep tests deterministic (no real time/network).
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/convex/agent-skills/convex-test">View convex-test on skillZs</a>