canvas-page-definition

Installation
SKILL.md

Canonical definition

A Canvas page is a JSON page spec stored in the repository's configured pagesDir.

Workbench uses these files for local page previews, and the Canvas CLI push/pull workflow uses them to sync pages between the local project and Drupal Canvas.

Page specs should fully mirror what authors can build in Drupal Canvas.

Minimum contract (MUST)

Every Canvas page MUST satisfy all checks below:

  • The page file exists in the configured pages directory (pagesDir in canvas.config.json; default ./pages)
  • The page file is a JSON object
  • The page includes a non-empty title
Related skills
Installs
43
GitHub Stars
1
First Seen
Apr 7, 2026