convex-create-component
Installation
Summary
Design and build isolated, reusable Convex backend components with clear boundaries and app-facing wrappers.
- Supports three component shapes: local (single-app), packaged (npm), and hybrid (both), with a decision tree to choose the right fit
- Enforces architectural boundaries: components own their tables and functions, while the app handles authentication, environment access, and client-facing wrappers
- Provides a complete workflow from planning (tables, public API, data flow) through implementation, wiring with
app.use(...), and validation vianpx convex dev - Includes patterns for authentication handoff, ID passing across boundaries, function handles for callbacks, and class-based client wrappers for published components
SKILL.md
Convex Create Component
Create reusable Convex components with clear boundaries and a small app-facing API.
When to Use
- Creating a new Convex component in an existing app
- Extracting reusable backend logic into a component
- Building a third-party integration that should own its own tables and workflows
- Packaging Convex functionality for reuse across multiple apps
When Not to Use
- One-off business logic that belongs in the main app
- Thin utilities that do not need Convex tables or functions
- App-level orchestration that should stay in
convex/ - Cases where a normal TypeScript library is enough
Related skills
More from get-convex/agent-skills
convex-quickstart
Creates or adds Convex to an app. Use for new Convex projects, npm create
44.8Kconvex-performance-audit
Audits Convex performance for reads, subscriptions, write contention, and
44.4Kconvex-setup-auth
Sets up Convex auth, identity mapping, and access control. Use for login, auth
44.2Kconvex-migration-helper
Plans Convex schema and data migrations with widen-migrate-narrow and
44.2Kconvex
Routes general Convex requests to the right project skill. Use when the user
20.7Kconvex-helpers-guide
Discover and use convex-helpers utilities for relationships, filtering, sessions, custom functions, and more. Use when you need pre-built Convex patterns.
572