convex-mutations

Community

Master Convex mutations: define, call, and schedule.

AuthorSstobo
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill standardizes and accelerates the creation of Convex mutation functions by providing best practices, patterns, and tooling guidance for defining, registering, and scheduling mutations, including transaction semantics and error handling.

Core Features & Use Cases

  • Guided mutation function definitions with validators and file-based routing.
  • Reference-driven workflow spanning definition, registration (mutation and internalMutation), and mutation calls from queries.
  • Scheduling support using ctx.scheduler.runAfter and transactional guarantees.
  • Comprehensive mutation guidelines with examples and patterns, including database operations (insert, patch, replace) and error handling.
  • Real-world example: define a "sendMessage" mutation and schedule a response to run after a delay.

Quick Start

Review the reference documentation at references/mutation-guidelines.md to implement a sample mutation following the patterns described. Then create a simple mutation in your Convex project and validate it against the guidelines.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: convex-mutations
Download link: https://github.com/Sstobo/convex-skills/archive/main.zip#convex-mutations

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.