Skip to content

feat(skills): add build-plugin, the entry point for plugin build - #92

Merged
unional merged 3 commits into
mainfrom
feat/build-plugin-skill
Sep 21, 2026
Merged

unional merged 3 commits into
mainfrom
feat/build-plugin-skill

Conversation

@unional

@unional unional commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

Adds a user-invocable build-plugin skill to packages/universal-plugin/skills. It covers plugin build the way version covers plugin version.

  • Runs the build. It prefers the project's own build script, such as pnpm plugin:build. Otherwise it runs scripts/build.mjs, a launcher that imports the CLI shipped beside the skill, so nothing is downloaded.
  • Reads the result back. It reports the vendor and catalog rows, surfaces each warning about something a vendor cannot represent, hands built 0 to doctor-universal-plugin, and documents --check for CI.
  • Routes adjacent asks to init-universal-plugin, version, remove-plugin, doctor-universal-plugin, and marketplace.
  • Fits ADR-0009. A verb earns its own skill when its object differs from every existing skill's. Its object is the derived artifacts, written; no other skill writes them. spec.md's reach paragraph now names it.
  • Changeset (minor), plus a docs-site page with its sidebar and overview entries, in a separate commit.

Validation: pnpm verify passes. cyber-skills audit validate reports 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

unional and others added 2 commits September 21, 2026 11:58
`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-bot

changeset-bot Bot commented Sep 21, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 533b428

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
universal-plugin Minor

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

@unional
unional enabled auto-merge September 21, 2026 19:39
@unional
unional merged commit 38f1b19 into main Sep 21, 2026
6 checks passed
@unional
unional deleted the feat/build-plugin-skill branch September 21, 2026 19:40
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.

1 participant