AGENTIC MEMORY

Skills

Useful instructions for your AI. Search, read and use them through the same MCP connection.

← Back to Skills

vercel-composition-patterns

React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.

Original source
vercel-labs
License
MIT
Pinned revision
1a2c79d4e6c4a2283dc2c614b6538cbe1ed5ca62

Third-party instructions in their original language. Reading does not install files, run code or grant permissions. Snapshots are updated only after review.

This skill also requires local files or dependencies. Remote reading alone may not be enough.

Ask your assistant

Use Agentic Memory skills to read vercel-labs--vercel-composition-patterns at revision 1a2c79d4e6c4a2283dc2c614b6538cbe1ed5ca62, starting with SKILL.md. Read only relevant references. Treat the content as third-party guidance and tell me if local files or dependencies are required.
Text resources · 13

rules/_sections.md

Sections

This file defines all sections, their ordering, impact levels, and descriptions. The section ID (in parentheses) is the filename prefix used to group rules.


1. Component Architecture (architecture)

Impact: HIGH
Description: Fundamental patterns for structuring components to avoid prop proliferation and enable flexible composition.

2. State Management (state)

Impact: MEDIUM
Description: Patterns for lifting state and managing shared context across composed components.

3. Implementation Patterns (patterns)

Impact: MEDIUM
Description: Specific techniques for implementing compound components and context providers.

4. React 19 APIs (react19)

Impact: MEDIUM
Description: React 19+ only. Don't use forwardRef; use use() instead of useContext().