canvas-component-definition — community canvas-component-definition, nebula, community, ide skills

v1.0.0

About this Skill

Perfect for Frontend Agents needing compatible Canvas component creation for Drupal Canvas, utilizing React implementation and metadata. The canvas-component-definition skill helps developers create compatible Canvas components for Drupal Canvas, ensuring proper React implementation and metadata. It benefits developers working with Can

acquia acquia
[0]
[0]
Updated: 3/12/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 7/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Locale and body language aligned
Review Score
7/11
Quality Score
26
Canonical Locale
en
Detected Body Locale
en

Perfect for Frontend Agents needing compatible Canvas component creation for Drupal Canvas, utilizing React implementation and metadata. The canvas-component-definition skill helps developers create compatible Canvas components for Drupal Canvas, ensuring proper React implementation and metadata. It benefits developers working with Can

Core Value

Empowers agents to craft compatible Canvas components with proper React implementation, Canvas metadata/schema, and naming structure, ensuring seamless integration with Drupal Canvas using component.yml and index.jsx files.

Ideal Agent Persona

Perfect for Frontend Agents needing compatible Canvas component creation for Drupal Canvas, utilizing React implementation and metadata.

Capabilities Granted for canvas-component-definition

Creating reusable Canvas components for Drupal projects
Validating component compatibility with Drupal Canvas
Automating component metadata generation for efficient development

! Prerequisites & Limits

  • Requires Drupal Canvas environment
  • Must adhere to specific naming and structure conventions
  • Limited to React implementation

Why this page is reference-only

  • - The underlying skill quality score is below the review floor.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

After The Review

Decide The Next Action Before You Keep Reading Repository Material

Killer-Skills should not stop at opening repository instructions. It should help you decide whether to install this skill, when to cross-check against trusted collections, and when to move into workflow rollout.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is canvas-component-definition?

Perfect for Frontend Agents needing compatible Canvas component creation for Drupal Canvas, utilizing React implementation and metadata. The canvas-component-definition skill helps developers create compatible Canvas components for Drupal Canvas, ensuring proper React implementation and metadata. It benefits developers working with Can

How do I install canvas-component-definition?

Run the command: npx killer-skills add acquia/nebula/canvas-component-definition. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for canvas-component-definition?

Key use cases include: Creating reusable Canvas components for Drupal projects, Validating component compatibility with Drupal Canvas, Automating component metadata generation for efficient development.

Which IDEs are compatible with canvas-component-definition?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for canvas-component-definition?

Requires Drupal Canvas environment. Must adhere to specific naming and structure conventions. Limited to React implementation.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add acquia/nebula/canvas-component-definition. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use canvas-component-definition immediately in the current project.

! Reference-Only Mode

This page remains useful for installation and reference, but Killer-Skills no longer treats it as a primary indexable landing page. Read the review above before relying on the upstream repository instructions.

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

canvas-component-definition

Install canvas-component-definition, an AI agent skill for AI agent workflows and automation. Review the use cases, limitations, and setup path before...

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

Canonical definition

A Canvas component is a package of:

  1. A React implementation (index.jsx)
  2. Canvas metadata/schema (component.yml)
  3. Naming and structure compatibility (machineName, folder path, story path)
  4. Canvas-compatible props/slots modeling

All four parts are required for the component to be usable in Drupal Canvas.

Minimum contract (MUST)

Every Canvas component MUST satisfy all checks below:

  • Component folder exists at <components-root>/<machine-name>/ (use the repository's configured components root, which may be defined in .env)
  • React implementation exists at <components-root>/<machine-name>/index.jsx
  • Metadata exists at <components-root>/<machine-name>/component.yml
  • component.yml includes required top-level keys (name, machineName, status, required, props, slots)
  • Folder name exactly matches machineName in component.yml (kebab-case)
  • A matching story exists at <stories-root>/<machine-name>.stories.jsx (use the repository's configured stories root)
  • Props/slots follow Canvas rules (for example, avoid unsupported array-of-object prop shapes; use slots for repeatable complex content)

If any item is missing, the component is incomplete for Canvas usage.

Naming guidance

Use references/naming.md for naming rules and examples.

Skill coordination

Evaluate using companion skills in this order.

  1. canvas-component-metadata
    • Use when creating/changing component.yml, props/slots, enums, or fixing prop validation errors.
  2. canvas-component-composability
    • Use when designing prop/slot structure, decomposing large components, deciding props vs slots, or modeling repeatable list/grid content.
  3. canvas-styling-conventions
    • Use for all styling work: new components, style props, Tailwind token usage, CVA variants, class changes, and prop changes that affect styles.
  4. canvas-component-utils
    • Use when rendering formatted HTML text or media via FormattedText and Image.
  5. canvas-data-fetching
    • Use when fetching/rendering Drupal content with JSON:API, SWR, includes, and filter patterns.
  6. canvas-component-upload
    • Use after implementation is complete and validated, when uploading and recovering from upload failures.

Related Skills

Looking for an alternative to canvas-component-definition or another community skill for your workflow? Explore these related open-source skills.

View All

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

Generate customizable widget plugins for the prompts.chat feed system

149.6k
0
AI

flags

Logo of vercel
vercel

The React Framework

138.4k
0
Browser

pr-review

Logo of pytorch
pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration

98.6k
0
Developer