nebula-component-creation

Official

Quickly create and integrate React components

Authoracquia
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provides a repeatable workflow for creating, copying, and integrating React components into a Drupal Canvas codebase so developers avoid inconsistent implementations, missing dependencies, and incomplete preview coverage.

Core Features & Use Cases

  • Example-driven component creation: Start from a matching example in examples/components and copy it into src/components to preserve conventions and metadata.
  • Recursive dependency resolution: Analyze imports to discover nested @/components dependencies and copy only the missing components without overwriting existing ones.
  • Structure and preview enforcement: Ensure each component folder contains both index.jsx and component.yml and maintain or author mocks.json to preserve Workbench preview coverage; run validation before marking work complete.
  • Use Cases: Adding a new UI element from an example, migrating examples into production components, or assembling complex components composed of nested examples.

Quick Start

Copy a similar example from examples/components into src/components, update the copied index.jsx and component.yml, ensure mocks.json provides preview states if needed, and run component validation.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: nebula-component-creation
Download link: https://github.com/acquia/nebula/archive/main.zip#nebula-component-creation

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.