A technical blueprint for building flexible, maintainable React components by replacing boolean props with compound components and context-driven state lifting.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install react-composition
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install react-composition using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
This skill provides a comprehensive methodology for React component architecture, focusing on composition over complex configuration. It addresses the common industry problem of boolean prop proliferation, which often leads to unmaintainable code and impossible component states. By implementing these Openclaw Skills, developers can transition from monolithic components to modular, compound architectures that are easier to test and extend.
The core philosophy centers on using React Context for dependency injection and state lifting, allowing sibling components to interact seamlessly without deep prop drilling. This approach is essential for building professional-grade component libraries and complex enterprise dashboards where flexibility is a primary requirement.
To deploy these patterns in your local development environment using the recommended Openclaw Skills toolchain, execute the following command:
npx clawhub@latest install react-composition
The architecture organizes components into a clear hierarchy that decouples logic from layout. The following table describes the organizational schema:
| Component Layer | Responsibility | Pattern |
|---|---|---|
| Provider | State management and API implementation | Dependency Injection |
| Context | Shared data contract and type definitions | React Context |
| Atomic Components | Individual UI elements (Input, Submit, etc.) | Compound Components |
| Layout Frames | Structural wrapper for atomic elements | Children Composition |
| Explicit Variants | Pre-configured assemblies for specific tasks | Composition |
Loading
A comprehensive set of 57 performance optimization rules for React and Next.js applications developed by Vercel Engineering.

An automated framework for enforcing technical standards and security protocols at every stage of the software development lifecycle.

A comprehensive framework for deploying production-grade Prometheus monitoring, alerting, and service discovery.

A comprehensive meta-skill for establishing a professional docs-first development workflow using standardized templates and directory structures.

A comprehensive system for upgrading React applications from legacy class components to modern hooks and the latest React 19 concurrent features.

A technical guide and workflow for optimizing React and Next.js application performance across critical rendering and data fetching categories.








































