canvas-component-push
Activation guard
Run this skill only when the user explicitly asks to push, publish, sync, or upload components to Canvas.
Do not run this skill automatically after component edits, validation, or task completion.
Before pushing, confirm the user has Drupal Canvas CLI installed and configured for their target site.
Setup gate
Before running any push command:
- Check that Canvas CLI auth is configured from a supported source. For local
project work, prefer a
.envfile in the project root. The CLI also reads shell environment variables,~/.canvasrc, and interactive-login tokens stored in~/.config/drupal-canvas/oauth.json(written by
More from drupal-canvas/skills
canvas-component-definition
Start here for any React component task to enforce the canonical Canvas
96canvas-component-metadata
Define valid component.yml metadata for Canvas components, including props,
94canvas-component-utils
Use utility components to render formatted text and media correctly. Use when
80canvas-data-fetching
Fetch and render Drupal content in Canvas components with JSON:API and SWR
80canvas-component-composability
Design Canvas-ready React components with slots and decomposition-first
78canvas-styling-conventions
Style Canvas components with Tailwind CSS 4 theme tokens and approved utility
77