Skip to content

Add Version Check script to canvas configure skill - #331

Open
McCall Saltzman (lesaltzm) wants to merge 2 commits into
mainfrom
lesltzm/version-check
Open

Add Version Check script to canvas configure skill#331
McCall Saltzman (lesaltzm) wants to merge 2 commits into
mainfrom
lesltzm/version-check

Conversation

@lesaltzm

Copy link
Copy Markdown
Contributor

We've seen folks not using the latest versions of the plugin. This adds a reminder script to the configure skill for canvas apps. We use dotnet file run as users should already have dotnet installed to use this plugin.

Copilot AI review requested due to automatic review settings July 28, 2026 23:36
@lesaltzm
McCall Saltzman (lesaltzm) requested a review from a team as a code owner July 28, 2026 23:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an advisory “plugin out-of-date” reminder to the canvas-apps plugin by running a small version-check script at the start of the configure-canvas-mcp skill, and bumps related versions/docs to reflect the change.

Changes:

  • Added a .NET file-based script to compare the local canvas-apps plugin version vs the canonical manifest on main and print update instructions when newer exists.
  • Updated configure-canvas-mcp to run the version check before starting the skill workflow.
  • Bumped the plugin manifest versions (and updated plugin guidance) to include the new script.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
plugins/canvas-apps/skills/configure-canvas-mcp/SKILL.md Adds an upfront “Plugin check” step and bumps the skill version.
plugins/canvas-apps/scripts/check-version.cs New .NET script that fetches the latest manifest and prints update instructions when local is behind.
plugins/canvas-apps/AGENTS.md Documents the new script and its intended best-effort behavior.
plugins/canvas-apps/.plugin/plugin.json Bumps the canvas-apps plugin version.
plugins/canvas-apps/.claude-plugin/plugin.json Keeps the legacy mirror manifest version in sync.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

allowed-tools: Bash, AskUserQuestion, mcp__canvas-authoring__connect
---

> **Plugin check**: Run `dotnet run --file "${PLUGIN_ROOT}/scripts/check-version.cs" --verbosity quiet -- --plugin-root "${PLUGIN_ROOT}"` — if it outputs a message, show it to the user before proceeding.
Comment on lines +67 to +73
private static void WriteUpdateCommands(string cli, string pluginName, string indent)
{
Console.WriteLine($"{indent}{cli} plugin marketplace update {MarketplaceName}");
Console.WriteLine(
$"{indent}{cli} plugin update {pluginName}@{MarketplaceName}"
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants