Repository navigation
feat(plugin): add publish skill fallback - #30
Open
lukasoppermann wants to merge 2 commits into
Open
lukasoppermann wants to merge 2 commits into
lukasoppermann wants to merge 2 commits into
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: b38cbd43-5aa9-4803-8aa5-3d1ba9eef40e
There was a problem hiding this comment.
🟡 Changes recommended
CRLF skill files block publishing, and existing integration assertions fail against the new prompt.
6 open issues
Update canvas-server integration assertions for the new prompt · New Normalize CRLF line endings before frontmatter parsing · New Remove unused _mode binding or project target via key allowlist · New Format extension tests to satisfy Prettier configuration · New Restore independent assertions for required safety guidance · New Restrict skill discovery to requests with verified canvas targets · New
What changed in this PR
Adds a publishing skill to the prototype canvas plugin, with inline fallback instructions when skill loading is unavailable.
Changes:
- Centralizes publishing instructions and passes verified target data and mode.
- Updates request tests, bundle checks, and plugin version.
- Documents skill invocation and fallback behavior.
| File | Description |
|---|---|
hub/docs/prototype-canvas.md |
Documents the publishing fallback. |
.github/extensions/replica-prototype/skills/replica-publish-prototype/SKILL.md |
Defines the guarded publishing procedure. |
.github/extensions/replica-prototype/request-publish/index.test.mjs |
Updates skill request assertions. |
.github/extensions/replica-prototype/request-publish/index.mjs |
Loads and includes fallback instructions. |
.github/extensions/replica-prototype/README.md |
Explains skill distribution and usage. |
.github/extensions/replica-prototype/plugin.json |
Bumps the plugin version. |
.github/extensions/replica-prototype/marketplace.test.mjs |
Checks the bundled skill and version. |
Review effort: Max
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: b38cbd43-5aa9-4803-8aa5-3d1ba9eef40e
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Why
The prototype canvas can request its publishing procedure through a skill bundled with the Replica plugin. Including the same instructions in the request keeps publishing available if Copilot cannot load the skill.
What changes
The plugin adds a
replica-publish-prototypeskill with the guarded publishing procedure. Canvas requests invoke the skill and include its instructions as a fallback, along with only verified target fields and the selected publishing mode. The plugin version and publishing documentation are updated.