Appearance
04 — Package, install, and verify
Goal and starting workspace
- Begin in author, after 03; finish with a clean sibling consumer using an installed package.
- Packaging and installation are learner activities. This release preparation does not install anything into a client.
Build it yourself
- Author
toolkit/plugin.json: Agent Plugins 1.0 schema, nameuser-search-toolkit, version1.0.0, description. - Write
toolkit/catalog.md: purpose, learner-maintained owner role (no invented repository owner), compatibility, source, version, permissions, rollback. - Run
npm run toolkit:build. Inspect exact skill-only files, manifest, and provenance. - Run
npm run consumer:create -- --destination ../workshop-consumer. - Open consumer, run
npm ciand baseline. Confirm.github/skillsis absent and client has no duplicate lab registration. - Explicitly install/register the author-built package using your route below; invoke planning in consumer.
Inspect the example
- Browse examples branch.
- Only metadata/catalog; use the explicit 03 prerequisite if needed. Never distribute an opaque prebuilt archive.
Bring in this step
sh
# AUTHOR only
npm run lab:example -- --step 04-plugin --preview
npm run lab:example -- --step 04-plugin --stage
npm run lab:example -- --step 04-plugin --apply
npm run toolkit:buildIf you already changed these files
- Stage and merge metadata/catalog yourself. Do not replace learner skill content.
- Existing package version with different bytes is refused; bump version rather than overwrite. Existing consumer path is refused; choose a new sibling.
- Safe imports · Complete installation/update/rollback procedure.
Client steps
VS Code
- Open consumer in a separate window; merge one absolute author-package path under workspace
chat.pluginLocations, valuetrue. - Reload consumer, inspect plugin and skill source/version, then invoke planning through the packaged skill.
- Do not register the canonical source and package simultaneously. See the exact settings shape in plugin procedure.
Copilot CLI
- In consumer, inspect
copilot plugin list --json, then explicitly runcopilot plugin install "/ABSOLUTE/AUTHOR/toolkit/dist/user-search-toolkit-1.0.0". - Inspect list JSON again;
/skills reloadand/skills info; retain installed source/version and planning invocation. - This registration may affect your user profile. Installation needs your approval; preparation has not performed it.
Copilot app
- CLI-assisted bridge, unverified: perform the CLI install, then open the consumer project/session and inspect Customize Plugins/Skills.
- If actual app discovery shows this package, record version/source and invoke. Otherwise continue with CLI/VS Code or label walkthrough-only.
- Never call this app-native local installation or simulate it by copying
.github/skills.
Verify the result
- Author:
npm run verify:exercise -- --step 04-plugin;npm run toolkit:buildrepeated unchanged. - Consumer:
npm run verify:baseline; local skill absent, one package registration, actual source/version and invocation observed. - Recovery/cleanup: remove/disable only the lab package registration, preserve all unrelated settings. No broad cache/profile cleanup.
- Next: 05 — MCP and update.