components-guide

Organize backend features into reusable components with isolated data and API surfaces.

Updated Apr 15, 2026
One-click install
npx skills add https://github.com/RestartDK/project-europe --skill components-guide-restartdk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: components-guide
Source: https://github.com/RestartDK/project-europe/tree/main/.agents/skills/components-guide
Command: npx skills add https://github.com/RestartDK/project-europe --skill components-guide-restartdk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Convex components provide a way to build self-contained backends by isolating data, APIs, and logic into reusable units, reducing coupling and enabling independent deployment and reuse.

Core Features & Use Cases

  • Self-contained components with their own schema, functions, and data
  • Clear API boundaries and ability to compose multiple components
  • Sibling components pattern enabling modular feature encapsulation across a project

Quick Start

Create a new component by placing your code under convex/components/<name> and register it in convex.config.ts.

Frequently Asked Questions about components-guide

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

FAQPage Schema
How do I organize backend features into reusable components?

To organize backend features into reusable components, place your code under the convex/components/<name> directory and register it in convex.config.ts. This encapsulates features with their own schema, functions, and data, creating clear API boundaries for modular architectures.

What are reusable backend components and when do I need them?

Reusable backend components are self-contained units that isolate data, APIs, and logic to reduce coupling. You need them when building modular architectures requiring independent deployment, multi-tenant setups, or plugging components across different features and modules.

Does the sibling components pattern support multi-tenant backend architectures?

Yes, the sibling components pattern supports multi-tenant backend architectures by isolating data and logic into reusable units. This enables teams to plug components across features and modules while maintaining clear API boundaries and independent deployment.

What is the best way to reduce coupling in a modular backend architecture?

The best way to reduce coupling in a modular backend architecture is using self-contained components with their own schema, functions, and data. This canonical component pattern isolates logic into reusable units, enabling independent deployment and composition across features.

How do I register a new component in convex.config.ts?

To register a new component in convex.config.ts, first create your code under the convex/components/<name> directory. This establishes a frontmatter-based identity for the component, providing a dedicated workspace with optional scripting and reference assets.

Can I compose multiple self-contained components with separate schemas?

Yes, you can compose multiple self-contained components with separate schemas. This design pattern allows teams to encapsulate distinct features independently, enabling modular feature encapsulation across a project while maintaining clear API boundaries between each component.