convex-functions

Create Convex queries, mutations, actions, and HTTP actions with explicit validators.

1|1|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/openridesph/openrides --skill convex-functions-openridesph
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-functions
Source: https://github.com/openridesph/openrides/tree/main/.agents/skills/convex-functions
Command: npx skills add https://github.com/openridesph/openrides --skill convex-functions-openridesph

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Convex Functions enables developers to implement queries, mutations, actions, and HTTP actions with strong argument validation and runtime-aware patterns, providing a cohesive framework for building Convex backends.

Core Features & Use Cases

  • Create and validate queries and mutations with explicit input validators and type-safe schemas.
  • Implement actions and HTTP actions for external integrations, including internal function calls for sensitive logic.
  • Use scheduling, error handling, and best-practice guidance to build resilient Convex apps across web and native backends.

Quick Start

Install the project dependencies and begin implementing Convex functions using the examples and guidelines provided.

Frequently Asked Questions about convex-functions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add argument validation to Convex mutations and queries?

To add argument validation to Convex mutations and queries, define explicit input validators and type-safe schemas directly within your function definitions. This enforces strict runtime checks and prevents invalid data from entering your backend.

What is the difference between Convex actions and HTTP actions?

Convex actions are server-side functions used for external integrations and multi-step logic, while HTTP actions specifically handle external HTTP requests. Both can isolate sensitive logic by calling internal functions to maintain security boundaries.

When should I use internal functions in my Convex backend?

Use internal functions in your Convex backend when you need to isolate sensitive logic from public access. They ensure that critical data access patterns and internal request flows cannot be triggered directly by external clients.

Does Convex support scheduling and error handling for backend functions?

Yes, Convex supports scheduling and error handling for backend functions. You can implement resilient data access patterns and external integrations using best-practice guidance for runtime-aware execution across web and native apps.

What is the best way to structure scalable Convex functions?

The best way to structure scalable Convex functions is to apply explicit validators for arguments and returns, isolate sensitive operations in internal functions, and follow runtime-aware patterns for queries, mutations, and actions.