Drupal Canvas
Entry point for Drupal Canvas Code Components (React/JSX). Points to the officially maintained drupal-canvas/skills suite (component definition, metadata, push, styling, data fetching, regions, page definition, content templates) and to this repo's complements for Twig SDCs and upstream contribution. Use when creating, modifying, or pushing Canvas Code Components, or when deciding which Canvas skill applies.
Install
npx skills add grasmash/drupal-claude-skills --skill drupal-canvasgit clone --depth 1 https://github.com/grasmash/drupal-claude-skills.git /tmp/drupal-claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/drupal-claude-skills/skills/drupal-canvas ~/.claude/skills/drupal-canvasPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Drupal Canvas Code Components — use the upstream suite Canvas Code Components (React/JSX) are covered by the officially maintained **[drupal-canvas/skills](https://github.com/drupal-canvas/skills)** suite (MIT licensed). This repo does not mirror it: a local copy goes stale as upstream evolves, and stale component rules are worse than none. Install the real thing: ```bash npx skills add drupal-canvas/skills ``` To scaffold a codebase for Code Components, upstream publishes a CLI: `npx @drupal-canvas/create <project>`. ## When This Skill Activates - Building, editing, or pushing a Canvas Code Component - Choosing between a Code Component and a Twig SDC - Looking for Canvas guidance and unsure which skill holds it ## Upstream skills The suite ships these skills (check the repo for the current list): - `canvas-component-composability` - `canvas-component-definition` - `canvas-component-metadata` - `canvas-component-push` - `canvas-component-utils` - `canvas-content-templates` - `canvas-data-fetching` - `canvas-design-decomposition` - `canvas-headless` - `canvas-navigation-components` - `canvas-page-definition` - `canvas-regions` - `canvas-styling-conventions` - `canvas-workbench` ## Complements in this repo The upstream suite is React/JSX only. For everything else: - **`drupal-canvas-sdc`** — Twig Single Directory Components in themes and modules: `component.yml` schemas, Canvas registration rules, component config entities, versioning, and deploy pitfalls.
Details
- Skill name
drupal-canvas- Repository
- grasmash/drupal-claude-skills
- Path
skills/drupal-canvas/SKILL.md- License
- MIT
- Repo updated
- 1 October 2026
FAQ
What does the Drupal Canvas skill do?
Entry point for Drupal Canvas Code Components (React/JSX). Points to the officially maintained drupal-canvas/skills suite (component definition, metadata, push, styling, data fetching, regions, page definition, content templates) and to this repo's complements for Twig SDCs and upstream contribution. Use when creating, modifying, or pushing Canvas Code Components, or when deciding which Canvas skill applies.
How do I install the Drupal Canvas skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add grasmash/drupal-claude-skills --skill drupal-canvas. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Drupal Canvas popular?
It lives in grasmash/drupal-claude-skills, which has 84 GitHub stars and 5 forks.
Related skills
Acquia Source
84grasmash/drupal-claude-skills
Connect to an Acquia Source ("Source powered by Drupal CMS") site — its JSON:API and MCP endpoints, OAuth2 auth, the @drupal-canvas CLI, and the Canvas Page API deploy workflow. Use when wiring an AI agent or app to a Source CMS site, building/uploading Drupal Canvas Code Components, deploying landing pages via the Page API, or registering the Source MCP server with Claude Code/Cursor.
Canvas Contribution
84grasmash/drupal-claude-skills
Workflow for contributing features and fixes to the Drupal Canvas module on drupal.org while consuming it from a separate project: the two-repository setup, Canvas UI development, issue forks, merge requests, and composer patches. Use when developing a Canvas feature or bug fix intended for upstream, or when moving a local Canvas change onto a drupal.org issue. Extends drupal-contrib-mgmt with Canvas-specific details.
Claude Code MCP Setup
84grasmash/drupal-claude-skills
Add and configure MCP (Model Context Protocol) servers in Claude Code. Use when adding new MCP servers, configuring remote MCP, setting up OAuth MCP servers, troubleshooting MCP connections, or running /mcp diagnostics. Covers stdio, HTTP, and SSE transport types.
Drupal Canvas Sdc
84grasmash/drupal-claude-skills
Drupal Canvas SDC (Single Directory Components) with Twig templates. Use when creating, modifying, or troubleshooting Twig-based Canvas components in themes/modules, component.yml schemas, Canvas registration (props need title, required props need examples), canvas.component config entities, component versioning and outdated instances, config drift after a Canvas upgrade, Canvas preview issues, or page builder functionality. For React/JSX Code Components, see the upstream drupal-canvas/skills suite.
Design Review
84grasmash/drupal-claude-skills
Use when a UI change is about to be declared done, when reviewing a user-facing diff, or when asked for a design/QA pass on a screen. Also use before merging any change that alters rendered output. Covers live-environment interaction review, mockup parity, visual polish, accessibility, robustness, and a triage-matrix report format.
Drupal Vite Theme
84grasmash/drupal-claude-skills
Patterns and pitfalls for a fast custom Drupal 10/11 theme built with Vite + Tailwind CSS v4 + Single Directory Components (SDC) via the drupal/vite module. Use when creating or changing a Vite-built theme, editing vite.config.js, *.libraries.yml with `vite:` keys, Tailwind v4 `@theme`/tokens/preflight, SDC component CSS, content-hashed dist assets or the Vite manifest; when a cold render is slow or 504s ("gateway timeout cold, fine after retries", "works for anonymous, hangs for logged-in"), assets 404 after a deploy, a JS/CSS fix "works locally but not in prod", styles silently vanish (token
Browse the most popular Claude skills, all frontend & design skills, or write your own with the skills generator.