convex-component-authoring

Create, structure, and publish self-contained Convex components with isolated database tables and functions.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a structured approach to creating, organizing, and publishing self-contained Convex components, ensuring proper isolation and dependency management for reusable backend logic.

Core Features & Use Cases

  • Component Structure: Defines a clear directory layout for Convex components, including schema, functions, and exports.
  • Isolation: Enables database tables and functions to be scoped within a component, preventing conflicts with the main application.
  • Publishing: Guides on configuring package.json and tsconfig.json for distributing components as npm packages.
  • Use Case: Develop a generic authentication component that can be easily integrated into multiple Convex projects without code duplication.

Quick Start

Follow the provided examples to define your component's schema, functions, and exports, then configure its package.json for publishing.

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 for backend development?

To create reusable Convex components, define a clear directory layout containing your schema, functions, and exports. This structures self-contained packages with isolated database tables, allowing you to share backend logic without duplicating code across different projects.

How do I isolate database tables when building a Convex npm package?

Isolating database tables in a Convex npm package involves scoping them within the component's defined structure. This encapsulation prevents conflicts with the main application schema, keeping your reusable backend logic self-contained and modular.

What's the best way to publish a Convex component as an npm package?

The best way to publish a Convex component is by configuring your package.json and tsconfig.json files for distribution. This packages your isolated schema and functions, allowing other projects to install and integrate your reusable backend logic via npm.

Can I use a generic authentication component across multiple Convex projects?

Yes, you can integrate a generic authentication component across multiple Convex projects. By properly structuring the component and defining its exports, you facilitate code sharing and reuse without duplicating backend logic in each application.

Do I need specific dependencies to manage exports in reusable Convex packages?

No external dependencies are required to manage exports in reusable Convex packages. You handle exports by properly configuring your package.json and structuring your component directory, ensuring self-contained backend logic is available for sharing.