convex-component-authoring

Create, structure, and publish self-contained Convex components with isolated schemas.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Convex component authoring enables developers to create, organize, and publish modular Convex components that can be isolated from the host application, exported with a stable API, and reused across multiple projects.

Core Features & Use Cases

  • Self-contained schemas, functions, and types for a component.
  • Clear export surface and easy consumption in consuming apps.
  • Use cases include packaging domain logic, UI hooks, and data access layers into shareable components.

Quick Start

Create a new convex component by implementing src/, configuring convex.config.ts, and publishing it to your registry.

Frequently Asked Questions about convex-component-authoring

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

FAQPage Schema
How do I publish isolated Convex components with a stable public API?

Isolating Convex component schemas and data requires structuring self-contained modules with their own types and functions, then defining a clear export surface to prevent data leakage into the host application.

What's the best way to structure reusable Convex components for multiple projects?

Structuring reusable Convex components requires organizing domain logic, UI hooks, and data access layers into self-contained directories with isolated schemas and explicit exports for cross-project consumption.

How does schema isolation work when sharing Convex components?

Schema isolation works by encapsulating component data structures and functions independently from the host application, ensuring self-contained schemas prevent data leakage and maintain strict separation between shared components and consuming projects.

Do I need TypeScript to author and export Convex components?

TypeScript is used to author and export Convex components, providing strongly typed schemas, functions, and public API surfaces that ensure type safety when consuming components across different host applications.

Can I package domain logic and data access layers into shareable Convex components?

You can package domain logic, UI hooks, and data access layers into shareable Convex components by encapsulating them with self-contained schemas and exporting a stable public API interface for cross-project consumption.

What are the limitations of sharing data access layers through Convex component exports?

A limitation of sharing via Convex component exports is that consuming applications are restricted to the defined public API surface, preventing direct access to the component's isolated internal schemas and underlying data.