In short.
convex-test is an instruction skill for developers who want an AI assistant to write tests for Convex functions, but it leaves configuration and implementation details unspecified. It describes schema-based test setup, data seeding, function calls, identity handling and scheduled-function completion using convex-test and Vitest. No runnable examples or execution results are supplied, so compatibility and generated-test quality are not assessed.
Researched and written by an AI model and checked by a second AI model. How it works
The scope is skills/convex-test/SKILL.md in convex/agent-skills at revision 3fa4a566ba5d843d8a3db303983839ba93e8531d, plus the repository-root LICENSE and THIRD_PARTY_NOTICES.md. The supplied folder scope is complete and contains only SKILL.md. Other skills, the referenced generator input, dependency implementations and external documentation are outside this scope. No installation, test generation or execution was performed; compatibility, coverage quality and runtime behavior remain unassessed.
The overview
identity
The resource is skills/convex-test/SKILL.md in the convex/agent-skills repository. Its stated purpose is to generate convex-test tests for an application's Convex functions. It contains instructions for an assistant, rather than an implementation of the convex-test library.
The original folder address is [https://github.com/convex/agent-skills/tree/main/skills/convex-test]. The supplied source is pinned to revision 3fa4a566ba5d843d8a3db303983839ba93e8531d.
assessment
This is useful as a compact test-generation checklist for an existing Convex application. Its strongest guidance is concrete: test against an in-memory backend, include authentication and error cases, and avoid real time and network access.
Its brevity leaves substantial work to the developer and assistant. It supplies no configuration, runnable tests or results demonstrating that generated tests cover the intended behavior.
users
The intended users are developers with Convex functions who use an AI coding assistant to generate tests. Experienced developers can use the file as a reminder of coverage areas and relevant testing APIs.
Beginners will need additional guidance on their application's schema, function behavior, authentication rules and test configuration. The skill names these concepts without teaching them.
capabilities
The skill requests checks for function arguments and return values, authentication paths, indexes and scheduled functions. It identifies t.run for seeding data, t.query and t.mutation for function calls, withIdentity for authentication cases, and t.finishInProgressScheduledFunctions for scheduled work.
These are instructions for tests an assistant should produce. The source contains no implemented test suite demonstrating those capabilities.
Using it
requirements
The documented workflow requires convex-test, Vitest and an application's Convex schema and functions. Using the file as an assistant skill also requires a host that can load such instructions; supported hosts and loading methods are unspecified.
Required runtime versions, compatible Convex and package versions, and dependency configuration are unknown.
mechanism
The file guides an assistant through writing tests around convexTest(schema), which the source describes as an in-memory backend. Tests seed data, call queries or mutations, and assert outcomes. Authentication cases use withIdentity, while scheduled-function tests use the named completion helper.
Vitest runs the resulting tests. The skill explicitly excludes live deployments and asks for deterministic tests without real time or network access.
setup
The documented setup begins with installing convex-test and Vitest, followed by writing tests using convexTest(schema). It then calls for authentication, error and scheduled-function cases before running Vitest.
No installation commands, configuration files, test-discovery settings or assistant installation instructions are included. The skill alone does not establish a complete working setup.
example
An illustrative application is testing a mutation intended for signed-in users: seed prerequisite data through t.run, establish an identity with withIdentity, call t.mutation and assert the expected result. Add cases for unauthenticated access and invalid input according to the application's rules.
This scenario illustrates the documented approach. It is not a supplied runnable example, and no tests were executed.
Assessment & evidence
limitations
The source provides no concrete index test, authentication fixture, scheduled-function example or complete test file. It gives a determinism rule without explaining how to configure time-dependent tests.
Its prescribed scope is an in-memory backend. It supplies no evidence about live-deployment behavior, external integrations or end-to-end application journeys. Installation success, API compatibility and generated-test correctness are not assessed.
reasoning
The intended benefit is focused, repeatable testing of Convex function behavior without relying on a live deployment. Explicit authentication and error-path requirements give the assistant more direction than a general request to write tests.
That benefit is inferred from the instructions, not demonstrated by results. Useful coverage still depends on understanding the application's expected behavior and writing assertions that check it.
alternatives
A developer could follow the same convex-test and Vitest workflow manually instead of loading this skill into an assistant. This is an inferred alternative using the tools named in the source; no comparison is provided.
Tests involving a live deployment would address a different scope, which this skill explicitly excludes. The evidence does not compare other testing frameworks or assistant skills.
evidence
The functional description comes from the complete supplied SKILL.md at [https://raw.githubusercontent.com/convex/agent-skills/3fa4a566ba5d843d8a3db303983839ba93e8531d/skills/convex-test/SKILL.md]. The accompanying repository LICENSE and THIRD_PARTY_NOTICES.md establish the supplied licensing context.
The selected folder contains one captured file. No test implementations, dependency manifests, benchmarks or execution logs are included.
Access & freshness
costs
The repository license grants copyright permissions without license fees or royalties, subject to its terms. The skill gives no pricing information for an assistant, model provider or development environment.
The in-memory workflow does not establish a total operating cost. Any assistant usage charges and other project costs remain unknown.
rights
The supplied repository LICENSE provides Apache License 2.0 terms permitting reproduction, modification and redistribution. Redistribution requires a license copy, notices identifying modified files, retention of applicable source notices, and any attribution required by a distributed NOTICE file. The work is supplied without warranty, and trademark rights are not generally granted.
THIRD_PARTY_NOTICES.md identifies some repository metadata icons as Heroicons under MIT terms, which require retaining the copyright and permission notice. No icon file appears in the supplied skill scope. These notices do not establish licensing terms for separately installed dependencies or an assistant service.
freshness
The supplied snapshot was captured on 17 November 2026 at revision 3fa4a566ba5d843d8a3db303983839ba93e8531d. The file identifies itself as generated from convex-agents content/capabilities/test.json.
No skill release number, dependency versions or last-modified date are supplied. Changes after this revision and compatibility with other package versions are unknown.
actions
Before using the skill, confirm how your assistant loads SKILL.md files and how your project configures convex-test and Vitest. Check the APIs against the package versions you intend to use.
Start with one existing function and review the generated assertions against its intended behavior. Include authentication and error cases, add index and scheduled-function checks where relevant, and verify that the tests avoid real time and network dependencies.
