Skip to content

chore: add new plugin bootstrap script - #2989

Merged
JasonYeMSFT (JasonYeMSFT) merged 6 commits into
microsoft:mainfrom
JasonYeMSFT:chuye/new-plugin-command
Aug 3, 2026
Merged

chore: add new plugin bootstrap script#2989
JasonYeMSFT (JasonYeMSFT) merged 6 commits into
microsoft:mainfrom
JasonYeMSFT:chuye/new-plugin-command

Conversation

@JasonYeMSFT

Copy link
Copy Markdown
Member

Description

Add a helper script to bootstrap a brand new plugin with reusable files.

Checklist

  • Tests pass locally (cd tests && npm test)
  • Title has one of the prefixes: fix:, feat:, feature:, chore:, misc:, test:, eval:
  • If modifying skill descriptions: verified routing correctness with integration tests (In tests/, npm run test:integration -- <skill> or npm run test:vally -- --skill <skill>)

Related Issues

#2803

Copilot AI review requested due to automatic review settings July 29, 2026 18:01
@JasonYeMSFT
JasonYeMSFT (JasonYeMSFT) requested a review from a team as a code owner July 29, 2026 18:01

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 a new plugin:new npm script that scaffolds a new plugin directory under plugins/ by generating plugin manifests, copying shared hooks, and creating basic placeholder files to support partner/plugin onboarding work from #2803.

Changes:

  • Added scripts/src/plugin/bootstrap.ts to generate a new plugin skeleton (manifests, hooks, version.json, README, LICENSE, skills dir).
  • Registered plugin:new in scripts/package.json and exposed it at the repo root package.json.
Show a summary per file
File Description
scripts/src/plugin/bootstrap.ts New bootstrap script that scaffolds a plugin directory and manifests from a template.
scripts/package.json Adds a plugin:new script entry to run the bootstrap script via tsx.
package.json Adds a root-level plugin:new convenience script that delegates into scripts/.

Review details

  • Files reviewed: 3/3 changed files
  • Comments generated: 6
  • Review effort level: Low

Comment thread scripts/src/plugin/bootstrap.ts Outdated
Comment thread scripts/src/plugin/bootstrap.ts
Comment thread scripts/src/plugin/bootstrap.ts
Comment thread scripts/src/plugin/bootstrap.ts Outdated
Comment thread scripts/src/plugin/bootstrap.ts
Comment thread scripts/src/plugin/bootstrap.ts Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
add mcpServers to base plugin manifest
@JasonYeMSFT
JasonYeMSFT (JasonYeMSFT) marked this pull request as ready for review August 3, 2026 17:20
@JasonYeMSFT
JasonYeMSFT (JasonYeMSFT) merged commit 7febff2 into microsoft:main Aug 3, 2026
10 checks passed
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.

3 participants