drupal-canvas
Skill81 starsChanged 42 days agoMITView on GitHub
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.
In this repository25 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- acquia-sourceSkill
- canvas-contributionSkill
- claude-code-mcp-setupSkill
- design-reviewSkill
- drupal-api-endpointsSkill
- drupal-at-your-fingertipsSkill
- drupal-canvas-sdcSkill
- drupal-config-mgmtSkill
- drupal-config-reconcileSkill
- drupal-contrib-mgmtSkill
- drupal-ddevSkill
- drupal-deploy-safetySkill
- drupal-mailSkill
- drupal-performanceSkill
- drupal-search-apiSkill
- drupal-simple-oauthSkill
- drupal-testingSkill
- drupal-views-patternsSkill
- drupal-vite-themeSkill
- ivangrynenko-cursorrules-drupalSkill
- mockup-paritySkill
- sentry-integrationSkill
- skill-developerSkill
The file
Files
Drupal Canvas Code Components — use the upstream suite
Canvas Code Components (React/JSX) are covered by the officially maintained 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:
npx skills add drupal-canvas/skillsTo 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-composabilitycanvas-component-definitioncanvas-component-metadatacanvas-component-pushcanvas-component-utilscanvas-content-templatescanvas-data-fetchingcanvas-design-decompositioncanvas-headlesscanvas-navigation-componentscanvas-page-definitioncanvas-regionscanvas-styling-conventionscanvas-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.ymlschemas, Canvas registration rules, component config entities, versioning, and deploy pitfalls.canvas-contribution— contributing Canvas features and fixes back to drupal.org (issue forks, merge requests, composer patches).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

