convex-trigger

Implement advanced trigger patterns for audit logging, authorization checks, and component integration in Convex apps.

434|33|Updated Jul 27, 2025
One-click install
npx skills add https://github.com/udecode/better-convex --skill convex-trigger
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-trigger
Source: https://github.com/udecode/better-convex/tree/main/.claude/skills/convex-trigger
Command: npx skills add https://github.com/udecode/better-convex --skill convex-trigger

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Advanced trigger patterns provide auditable, authorization-controlled, and smoothly integrated triggers for Convex apps.

Core Features & Use Cases

  • Advanced audit logging for trigger events across server and client boundaries
  • Flexible authorization enforcement at trigger points
  • Seamless component integration with existing Convex modules
  • Use Case: enforce data access rules when triggering updates and coordinate actions across services

Quick Start

Deploy an audit-enabled convex trigger to automatically log and authorize trigger events across modules.

Frequently Asked Questions about convex-trigger

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

FAQPage Schema
How do I implement audit logging for trigger events in a Convex app?

You implement audit logging for Convex trigger events by deploying patterns that automatically trace and log events across server and client boundaries. This ensures deterministic behavior and safe defaults for cross-module coordination.

What is the best way to enforce authorization checks at trigger points in Convex?

Enforcing authorization at Convex trigger points involves applying flexible access control rules directly within the trigger pattern. This enforces strict data access rules when triggering updates and coordinating actions across services.

Can I integrate Convex trigger patterns with existing client-side modules?

Yes, Convex trigger patterns support seamless component integration with existing modules. They are specifically designed to coordinate actions and integrate smoothly across server and client boundaries.

When do I need advanced trigger patterns for audit logging in Convex?

You need advanced trigger patterns for audit logging in Convex when your scenario requires traceable trigger events, strict access controls, and cross-module coordination. They ensure deterministic behavior and audit-readiness.

Does the convex-trigger pattern work without external dependencies?

Yes, the convex-trigger pattern operates without external dependencies. It relies on clear frontmatter metadata and references the convex-trigger.mdc file for execution to ensure safe defaults and deterministic behavior.