convex-component-authoring

Guide authoring, structuring, and publishing self-contained Convex components.

Updated Feb 21, 2026
One-click install
npx skills add https://github.com/mikeyfennelly1/hackeurope--210226 --skill convex-component-authoring-mikeyfennelly1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-component-authoring
Source: https://github.com/mikeyfennelly1/hackeurope--210226/tree/main/.agents/skills/convex-component-authoring
Command: npx skills add https://github.com/mikeyfennelly1/hackeurope--210226 --skill convex-component-authoring-mikeyfennelly1

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide to creating, structuring, and publishing self-contained Convex components, ensuring proper isolation, exports, and dependency management for reusable code across projects.

Core Features & Use Cases

  • Component Structure: Defines a clear directory layout for Convex components.
  • Schema and Function Definition: Demonstrates how to define isolated database schemas and functions (queries, mutations, actions) within a component.
  • Publishing and Usage: Explains how to package components for distribution (e.g., via npm) and how to integrate them into other Convex applications.
  • Use Case: Develop a generic rate-limiting component that can be easily plugged into any Convex application to manage API request frequency.

Quick Start

Follow the provided documentation to create a new Convex component by defining its schema, functions, and exports.

Frequently Asked Questions about convex-component-authoring

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

FAQPage Schema
How do I create reusable Convex components with isolated database tables?

This approach ensures proper isolation, exports, and dependency management for reusable code across projects.

What is the best way to structure a Convex component for npm publishing?

This structure allows the component to be packaged for distribution and easily integrated into other Convex applications.

How do I define isolated database schemas and functions within a Convex component?

This isolation prevents naming collisions and maintains data integrity across reusable packages.

Can I use a Convex component to implement generic rate limiting across multiple projects?

This allows you to manage API request frequency consistently without duplicating code.

What are common pitfalls when authoring self-contained Convex components?

Following best practices for component configuration and schema definition helps avoid these issues.

Do I need TypeScript to build and publish Convex components?

Using TypeScript helps maintain type safety and clarity when defining schemas and functions.