convex-functions

Build Convex queries, mutations, actions, and HTTP actions with validators and error handling.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Master Convex functions including queries, mutations, actions, and HTTP endpoints with proper validation, error handling, and runtime considerations.

Core Features & Use Cases

  • Comprehensive templates for queries, mutations, actions, and HTTP actions with explicit validators and strong error handling.
  • Guidance on code quality, linting, and best practices from the Convex ecosystem.
  • Use cases across building data APIs and external integrations; see references for deeper guidance.

Quick Start

Create a simple query and a mutation following the provided validators to verify end-to-end flow.

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 queries and mutations?

To add argument validation to Convex queries and mutations, you define explicit validators for arguments and return values, ensuring robust server logic and strong error handling for your data workflows.

What are Convex HTTP actions and when should I use them?

Convex HTTP actions are server functions used for external integrations and building data APIs. You use them when you need to handle HTTP endpoints with rigorous argument validation and runtime considerations.

How do I handle errors in Convex actions and internal functions?

You handle errors in Convex actions by implementing robust error handling patterns and using internal scheduling patterns, ensuring end-to-end data workflows remain stable across queries and mutations.

Does this approach support scheduling patterns for Convex server logic?

Yes, this approach supports scheduling patterns for Convex server logic by demonstrating internal function usage and runtime considerations, allowing you to build robust end-to-end workflows and external integrations.

What's the best way to structure end-to-end data workflows in Convex?

The best way to structure end-to-end data workflows in Convex is by applying explicit validators across queries, mutations, and actions, while adhering to ecosystem best practices and linting guidance.