components-guide

Guides structuring Convex backends into self-contained components with isolated schemas and APIs.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/tomrford/dotfiles --skill components-guide-tomrford
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: components-guide
Source: https://github.com/tomrford/dotfiles/tree/main/.agents/skills/components-guide
Command: npx skills add https://github.com/tomrford/dotfiles --skill components-guide-tomrford

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guides teams to structure Convex backends as self-contained components to improve modularity, reuse, and clear boundaries.

Core Features & Use Cases

  • Encapsulate features as independent components with isolated data schemas and APIs
  • Apply the sibling components pattern to compose features across projects
  • Decide when to extract functionality from monolithic code to improve maintainability

Quick Start

Explain how to create a new Convex component and wire it into your 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 structure a Convex backend to encapsulate features as independent components?

To structure a Convex backend as independent components, you encapsulate features with isolated data schemas and APIs, wire them into convex.config.ts, and maintain a root SKILL.md with YAML frontmatter to define clear boundaries for modularity and reuse.

When should I extract functionality from a monolithic Convex codebase into components?

You should extract functionality from a monolithic Convex codebase into components when you need to improve maintainability, isolate features, enable the sibling components pattern, or reduce monolithic dependencies across multiple development teams.

What is the sibling components pattern in Convex backends?

The sibling components pattern in Convex backends is a modular architecture approach where self-contained components with isolated data schemas and APIs are composed together across projects to enforce clear boundaries and enable feature reuse.

Does structuring Convex components require specific dependencies or scripts?

Structuring Convex components requires no external dependencies, but it enforces a root SKILL.md with YAML frontmatter including name and description, while allowing optional scripts, references, and assets directories for supplemental resources.

What is the best way to reduce monolithic dependencies across teams using Convex?

The best way to reduce monolithic dependencies across teams using Convex is to encapsulate features as self-contained components with isolated data schemas and APIs, enabling the sibling components pattern for clear architectural boundaries and project reuse.