canvas-component-upload

Upload validated Canvas components to Drupal Canvas with retry logic.

1|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/AJV009/drupal-devkit --skill canvas-component-upload
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: canvas-component-upload
Source: https://github.com/AJV009/drupal-devkit/tree/main/plugins/migrate-drupal-canvas/reference/canvas-starter/canvas-component-upload
Command: npx skills add https://github.com/AJV009/drupal-devkit --skill canvas-component-upload

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Upload validated Canvas components to Drupal Canvas and recover from common upload failures. Use after component work is complete and validated. Handles upload failures including dependency-related issues that require retry.

Core Features & Use Cases

  • Gate setup verification: ensure Canvas CLI is installed and environment is configured before upload.
  • Retry logic for dependency-related failures: automatically retry uploads when dependencies are resolved.
  • Clear error guidance and documentation references: point users to official docs for OAuth and CLI setup.

Quick Start

Execute the Canvas upload once all components are validated using the Canvas CLI.

Frequently Asked Questions about canvas-component-upload

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I upload validated components to Drupal Canvas using the CLI?

Upload validated Canvas components by executing the Canvas upload via the Drupal Canvas CLI after completing and validating component work. This skill automates the upload process and provides clear error guidance for setup issues.

Why do my Canvas component uploads fail when dependencies are missing?

Canvas component uploads fail when required dependencies are unresolved. This skill implements retry logic that automatically attempts the upload again once dependency-related failures are addressed across projects.

Do I need a configured .env file to upload components to Drupal Canvas?

Yes, uploading components requires a configured .env file containing CANVAS_SITE_URL, CANVAS_CLIENT_ID, and CANVAS_CLIENT_SECRET. The skill verifies this environment setup before attempting any upload.

What is the best way to recover from Drupal Canvas CLI upload failures?

The best way to recover from Drupal Canvas CLI upload failures is using automated retry logic for dependency-related issues. This skill handles gate setup verification and points to official OAuth and CLI documentation.

Canvas CLI upload not working, how do I verify my environment is configured correctly?

To fix Canvas CLI upload issues, ensure the Drupal Canvas CLI is installed and your .env file contains the correct CANVAS_SITE_URL, CANVAS_CLIENT_ID, and CANVAS_CLIENT_SECRET variables as required by the setup docs.