convex-create-component

Create reusable Convex components with isolated state and app-facing APIs.

Updated Mar 20, 2026
One-click install
npx skills add https://github.com/nickthelegend/crewkill --skill convex-create-component-nickthelegend
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-create-component
Source: https://github.com/nickthelegend/crewkill/tree/main/frontend/.agents/skills/convex-create-component
Command: npx skills add https://github.com/nickthelegend/crewkill --skill convex-create-component-nickthelegend

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Convex components enable you to encapsulate backend logic, UI state, and data access behind a clean, reusable boundary, reducing duplication across apps.

Core Features & Use Cases

  • Isolated component state and boundaries for each feature
  • App-facing wrappers to safely expose component functionality
  • Ability to extract reusable logic into a single component or package for reuse across apps

Quick Start

Create a new Convex component, wire it into the app, and run npx convex dev to generate the scaffolding.

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 reusable Convex components with isolated state?

To create reusable Convex components, you encapsulate backend logic and data access behind clean boundaries, define component-local schemas, and generate server bindings to isolate state and expose app-facing APIs safely.

What's the best way to package backend logic for reuse across multiple Convex apps?

Packaging backend logic for reuse involves extracting feature logic into a single Convex component, scaffolding its schemas, and wiring app-side wrappers to handle authentication and cross-boundary calls across multiple apps.

How do I handle authentication when wiring Convex components into my app?

Handle authentication for Convex components by building app-facing wrappers that intercept cross-boundary calls, ensuring your app retains control over environment access and secure authentication before interacting with component APIs.

What does running npx convex dev do for component scaffolding?

Running npx convex dev generates the required scaffolding for your new Convex component, automatically producing the server bindings and structural files needed to wire the isolated state into your application.

When should I extract backend logic into a Convex component instead of keeping it in my main app?

Extract backend logic into a Convex component when you need to reduce duplication across apps, encapsulate isolated UI state, or package reusable data access boundaries for consistent feature implementation.

Can I use Convex components to manage isolated schemas separately from my main app database?

Yes, Convex components enforce component-local schemas, allowing you to define isolated state and data access boundaries that operate independently from your main application database structure.