What problem does it solve?
Provides a reliable way to start, reuse, and verify a local Canvas Workbench dev server so developers can preview components and pages without guessing commands or configuration details.
Core Features & Use Cases
- Package runner detection and launch: Detects the project's package manager and uses the matching runner to start @drupal-canvas/workbench.
- Installation gate: Offers to install @drupal-canvas/workbench as a dev dependency if it is missing and uses the matching install command.
- Configuration and verification workflow: Checks canvas.config.json defaults, updates configuration when needed, reuses an existing server, and guides iterative preview, mocks.json authoring, and page verification.
- Use Case: When a developer needs to validate a UI change, this Skill starts or reuses Workbench, opens the component or page preview, and helps confirm visual and mock-based behavior.
Quick Start
Start the Canvas Workbench using the repository's package runner and open the preview for the component at src/components/my-card to verify the Default and mocks.json states.