convex-create-component

Create modular Convex components with isolated tables and dedicated APIs.

1|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/MarcoDava/MockCortex --skill convex-create-component-marcodava
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-create-component
Source: https://github.com/MarcoDava/MockCortex/tree/main/frontend/.agents/skills/convex-create-component
Command: npx skills add https://github.com/MarcoDava/MockCortex --skill convex-create-component-marcodava

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Convex Create Component enables building modular, reusable backend modules with isolated tables and a dedicated app-facing API, improving maintainability and scalability of large apps.

Core Features & Use Cases

  • Defines a self-contained component with its own schema and server logic.
  • Supports app wiring via app.use and local wrappers for authenticated access.
  • Enables creating reusable backend modules or isolating cross-app boundaries for complex features.

Quick Start

Design, implement, and wire a new Convex component under convex/components/<name>/ with its own convex.config.ts, schema.ts, and server logic, then connect it to the app using app.use and appropriate wrappers.

Frequently Asked Questions about convex-create-component

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

FAQPage Schema
How do I create a modular Convex component with isolated backend state?

You create a modular Convex component by defining a self-contained directory with its own schema.ts, convex.config.ts, and server logic, ensuring isolated tables and a dedicated API for clean boundaries.

What is the best way to structure reusable backend logic in a Convex application?

Structuring reusable backend logic involves building a Convex component under convex/components/<name>/ with isolated tables, then wiring it into the host app using app.use and local wrappers.

When should I isolate features into separate Convex components?

Isolate features into separate Convex components when building new functionality that requires backend state, reusable logic, or cross-app sharing, ensuring clean boundaries between components and the main app.

How do I wire a Convex component into a host app with authenticated access?

Wire a Convex component into a host app by calling app.use and implementing appropriate local app wrappers, which manage authenticated access and connect the isolated component to your main application.

Does a Convex component need its own schema and configuration file?

Yes, a Convex component requires its own schema.ts and convex.config.ts files to define isolated tables and manage its dedicated API, ensuring full separation from the main app's backend state.