convex-security

Implement authentication, authorization, and row-level access control in Convex applications.

Updated Mar 17, 2026
One-click install
npx skills add https://github.com/roynulrohan/convex-skills --skill convex-security
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-security
Source: https://github.com/roynulrohan/convex-skills/tree/main/skills/convex-security
Command: npx skills add https://github.com/roynulrohan/convex-skills --skill convex-security

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill unit addresses security concerns in Convex applications by providing tools and guidelines for authentication, authorization, row-level access control, and other security patterns.

Core Features & Use Cases

  • Authentication Checks: Tools for ensuring users are authenticated before accessing sensitive data or functions.
  • Authorization (RBAC, Permissions): Implementation of role-based and permission-based access controls.
  • Row-Level Access Control: Controls to ensure users can only access their own data.
  • Environment Variable Handling: Securely manage sensitive data like API keys.

Quick Start

Run the convex-security skill to ensure your Convex application has the necessary security measures in place, including authentication and access control.

Frequently Asked Questions about convex-security

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

FAQPage Schema
How do I implement row-level access control in Convex applications?

Row-level access control in Convex applications is implemented by applying security patterns that ensure users can only access their own data. This Skill provides guidelines and scripts to enforce those specific data isolation rules.

What is the best way to set up role-based access control (RBAC) in Convex?

Role-based access control in Convex is established by implementing permission-based access patterns. This Skill provides the necessary tools to define and enforce authorization rules for different user roles.

How do I add authentication checks to sensitive Convex functions?

Authentication checks are added to Convex functions by utilizing specific tools that ensure users are authenticated before accessing sensitive data. This Skill provides the necessary patterns to secure those function entry points.

How do I securely manage environment variables and API keys in a Convex app?

Securely managing environment variables in a Convex app involves applying specific handling patterns for sensitive data like API keys. This Skill provides guidelines to securely manage those environment configurations.

Does this Skill provide security patterns for both authentication and authorization in Convex?

Yes, this Skill provides comprehensive security patterns for both authentication and authorization in Convex. It covers everything from basic user authentication checks to complex row-level access control and permission management.