Canvas authoring plugin
Create a canvas app with the Microsoft Canvas Toolkit. This skill-only
companion adds toolkit setup and a counter or read-only Azure resource-group
starter to the host's native create-canvas workflow. Installing it does not
open a canvas.
Requirements
- A canvas-capable GitHub Copilot host with its installed
create-canvasskill. The plugin does not replace or install that host skill. - Node.js 22+ (24 recommended) and npm.
- The exact
@microsoft/canvas-toolkit@0.1.0-preview.2release exporting@microsoft/canvas-toolkit/build, or an approved local.tgzcontaining that API. Do not treat a missing/buildexport as success. - For live Azure reads: Azure CLI 2.61+ and permission to read the subscription.
Install
Version 0.1.1 is published at the immutable
canvas-authoring-v0-1-1-8af10f8 tag, and canvas-authoring-latest points to
that release. Add the production marketplace and install the plugin:
copilot plugin marketplace add microsoft/azure-dev-tools
copilot plugin install canvas-authoring@azure-dev-tools
To install the exact tagged package:
git clone --depth 1 --branch canvas-authoring-v0-1-1-8af10f8 https://github.com/microsoft/azure-dev-tools.git canvas-authoring-plugin
copilot --plugin-dir "./canvas-authoring-plugin/plugins/canvas-authoring"
To try another approved local export:
copilot --plugin-dir "<export-directory>/plugins/canvas-authoring"
Use the exported plugin, not the source folder build/canvas-authoring/.
This page describes the installed plugin; its bundled documentation links
resolve after export. Installing it adds a skill, not a running canvas app.
Create an app
Ask your agent:
Build a read-only Azure canvas that lists resource groups.
Use the native create-canvas skill and the create-canvas-app companion's
Azure starter. Help me choose a compatible toolkit version.
The agent creates the native scaffold, generates the source app, and connects the copied host entry. You choose the project location and toolkit package. For a non-Azure example, ask for the counter starter.
What you can do
- Generate a native canvas scaffold with a working counter starter.
- Start a read-only Azure resource-group viewer with explicit subscription choice.
- Build and smoke-test the generated app before installing its complete output.
Prompts to try
Use the native create-canvas skill and the create-canvas-app companion to build a counter canvas.
Build a read-only Azure canvas that lists resource groups. Use the native create-canvas skill and the create-canvas-app companion's Azure starter.
Use the create-canvas-app companion to help me choose a compatible toolkit version before creating files.
Setup accepts one exact npm version or one local tarball. It does not install dependencies or contact Azure, and it refuses existing output directories rather than overwriting files. For command-line setup, see the skill instructions.
Build and run
In the generated app:
npm install
npm run build
npm test
npm run smoke
smoke is available in the Azure starter. It uses installed Chrome, or the
executable specified by CANVAS_BROWSER, with labelled synthetic data.
Keep package-lock.json and use npm ci for later installs.
Follow the generated README and host skill to install the complete dist/
directory and reload the provider. A browser refresh does not load rebuilt
provider code; a build-ID warning indicates a mismatch.
The Azure app does nothing until you act: load the CLI profile, select a subscription, then choose List resource groups. It never signs in, chooses a subscription, or writes Azure resources automatically. Browser checks do not replace trying the app in the native host with your Azure account.
Customize
Start with the generated README's source map and the Azure quickstart. Keep the shared UI/agent actions, explicit scope and cancellation when changing the reader or display. The integration reference covers the host adapter and build settings.
Toolkit guides are included in the plugin and generated from the toolkit sources. Their provenance records versions and checksums; it does not establish npm availability.