feat(skills): add build-plugin, the entry point for plugin build - #92
Merged
Merged
Conversation
`plugin build` writes every derived artifact a runtime reads: the vendor manifests, the Copilot CLI component tree, this plugin's catalog entries, and the governance copies inside skills. Yet no skill owned it. The other skills ran it as a side step, so an agent asked to "regenerate the manifests" had nothing to match. build-plugin runs the project's own build script when there is one, and otherwise the CLI shipped beside it through scripts/build.mjs. It reads the rows back, reports each dropped-for-a-vendor warning, hands `built 0` to doctor, and documents `--check` for CI. Under ADR-0009 it earns a skill of its own because its object, the derived artifacts it writes, is not one any existing skill writes. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
🦋 Changeset detectedLatest commit: 533b428 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
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.
Adds a user-invocable
build-pluginskill topackages/universal-plugin/skills. It coversplugin buildthe wayversioncoversplugin version.pnpm plugin:build. Otherwise it runsscripts/build.mjs, a launcher that imports the CLI shipped beside the skill, so nothing is downloaded.built 0todoctor-universal-plugin, and documents--checkfor CI.init-universal-plugin,version,remove-plugin,doctor-universal-plugin, andmarketplace.spec.md's reach paragraph now names it.Validation:
pnpm verifypasses.cyber-skills audit validatereports no critical findings. Its two warnings, "Use this skill when" wording and description length, match the sibling skills' existing convention.node skills/build-plugin/scripts/build.mjs --dry-run --root .builds all four vendors. The docs site builds.🤖 Generated with Claude Code