convex-component-authoring

Build self-contained Convex components with isolated schemas and modular exports.

Updated Feb 26, 2026
One-click install
npx skills add https://github.com/NitzanSelwyn/MomentumTrackerAdmin --skill convex-component-authoring-nitzanselwyn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-component-authoring
Source: https://github.com/NitzanSelwyn/MomentumTrackerAdmin/tree/main/.claude/skills/Convex%20Component%20Authoring
Command: npx skills add https://github.com/NitzanSelwyn/MomentumTrackerAdmin --skill convex-component-authoring-nitzanselwyn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Convex component authoring addresses the need to create self-contained, isolated, and reusable components that can be published and shared across projects.

Core Features & Use Cases

  • Self-contained components with isolated schema, tables, functions, and optional frontend hooks.
  • Structured component layout (schema.ts, component.ts, functions/, and convex.config.ts) for easy reuse and publishing.
  • Use across multiple apps and teams by packaging as a standalone Convex component.

Quick Start

Create a new component folder with the standard convex layout and follow the examples to publish.

Frequently Asked Questions about convex-component-authoring

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

FAQPage Schema
How do I build self-contained Convex components with isolated schemas?

Self-contained Convex components use a structured layout with isolated schemas and modular exports. This isolates tables and functions, allowing you to package and reuse them across multiple projects.

What is the best way to share reusable Convex functions across multiple apps?

The best way to share reusable Convex functions is to package them as self-contained components. This provides a publish-ready layout with exportable queries, mutations, and type definitions for easy sharing.

What file structure do I need for a publish-ready Convex component?

A publish-ready Convex component requires a structured layout including schema.ts, component.ts, a functions directory, and convex.config.ts. This layout ensures isolated data and modular exports.

Can I include frontend hooks in a modular Convex component?

Yes, you can include optional frontend hooks in modular Convex components. Alongside isolated schemas and exportable functions, these hooks enable seamless integration when reusing components across different applications.

Does packaging Convex components work for teams reusing code within monorepos?

Packaging Convex components works effectively for teams reusing code within monorepos. The isolated schema and modular exports allow multiple apps and teams to share the same self-contained component easily.

Why should I isolate data when creating Convex components for package registries?

Isolating data when creating Convex components for package registries prevents schema conflicts. It ensures the published component remains self-contained with its own tables and functions, guaranteeing safe reuse across projects.