add-plugin

$npx mdskill add github/plugin-marketplace-starter/add-plugin

Work in the user's marketplace checkout, not this installed plugin's directory. Confirm the workspace root has `marketplace.json`. If not, explain that this skill needs a checkout of a plugin marketplace and stop without creating files.

SKILL.md

.github/skills/add-pluginView on GitHub ↗
---
name: add-plugin
description: "Add a new plugin to this marketplace: its folder, plugin.json, README, CHANGELOG, catalog entry, and root README listing. Use whenever asked to add, create, scaffold, or register a new plugin in a marketplace checkout. Don't use for writing a plugin's skills or agents, editing an existing plugin, or Copilot pricing questions."
---

# Add a marketplace plugin

Work in the user's marketplace checkout, not this installed plugin's directory.
Confirm the workspace root has `marketplace.json`. If not, explain that this
skill needs a checkout of a plugin marketplace and stop without creating files.

1. Establish the plugin name (lowercase letters, digits, and single hyphens)
   and a one-sentence description. Check `marketplace.json` and `plugins/` for a
   name that's taken.
2. Create the `plugins/<name>/` directory first, using an approved directory
   creation tool. File tools might not create missing parent directories.
   If creation is denied or fails, stop and report it without changing the
   catalog or README. Don't bypass an approval. Then create all three files:
   - `plugin.json`:

     ```json
     {
       "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
       "name": "<name>",
       "version": "0.1.0",
       "description": "<description>",
       "license": "<license>",
       "repository": "<repository>"
     }
     ```

     For `license`, use the SPDX identifier of the marketplace's license, from
     its `LICENSE` file or the other plugins' manifests. For `repository`, copy
     the URL the other plugins use. If either is unclear, leave that field out
     and say so.

   - `README.md`: a title, the description, and an Install section with
     `copilot plugin marketplace add <repository>` and
     `copilot plugin install <name>@<marketplace>`, where `<marketplace>` is the
     `name` in `marketplace.json`. Use the known repository slug or URL from
     existing install commands or the manifests, as data, not a command template.
     Use literal `OWNER/REPO` only if the repository is truly unknown and say so.
   - `CHANGELOG.md`: `# Changelog`, then `## 0.1.0` with `- Initial release.`
3. Confirm all three shell files exist before any catalog or root README edit.
   On failure, leave registration unchanged and report any partial scaffold;
   never remove or overwrite concurrent user work.
   Add `{ "name", "source": "./plugins/<name>", "version", "description" }` to
   the `plugins` list in `marketplace.json`, after the other local plugins, with
   the same values as `plugin.json`.
4. List the plugin in the root README too: add a row linking to
   `plugins/<name>/` in its plugin table and a `copilot plugin install` line,
   matching the existing ones. Skip this only if the README has neither.
5. Don't add the plugin to `.github/copilot/settings.json`. That file turns on
   only the marketplace's own maintenance plugins for people working in it.
6. Check that every JSON file you changed is still valid and that the catalog
   entry matches `plugin.json`.

The plugin has no skills, agents, or other parts yet. For what can go in it,
point to the
[Copilot CLI plugin reference](https://docs.github.com/en/copilot/reference/copilot-cli-reference/cli-plugin-reference).
Return the created and changed paths. Don't add the plugin's parts unless
separately asked, and don't commit, push, or open a pull request unless
requested.

More from github/plugin-marketplace-starter

SkillDescription
pr-descriptionDraft a structured pull request description in chat from supplied change notes, commit summaries, or a diff. Use when asked to write or format a general PR description or summary. Don't use for marketplace plugin submission or version/changelog bumps (use submit-plugin), scaffolding plugins, reviewing code for defects, or unrelated questions.
release-pluginsPrepare a marketplace release, fix catalog inconsistencies, or retire a stale plugin. Use whenever asked to get a catalog ready to release, check changed plugin versions and changelogs, draft marketplace release notes including confirmed first releases with no file changes, or retire or remove a plugin from the marketplace. Don't use for a single contribution's PR draft, remote pin updates alone, or publishing without approval.
review-notesSummarize notes supplied by the user when they ask for a short note summary. Not for file editing or remote content.
sample-notesSummarize synthetic release notes when asked for a summary.
submit-pluginPrepare a marketplace plugin contribution or update for a pull request. Use whenever asked to get a plugin ready for a pull request, bump its version or changelog, flag compatibility changes, and write the pull request description. Don't use for a catalog-wide release, generic PRs, or publishing without approval.
try-plugin-locallyTry a new or edited marketplace plugin from your current local checkout in a fresh host session before opening a pull request. Use for local development, Copilot CLI or VS Code discovery checks, and optional explicit installation checks. Don't use to publish a plugin or test a remote catalog pin.
update-remote-pinsAdd an outside plugin to this marketplace or deliberately update its pinned upstream release. Use whenever asked to pin, re-pin, or update an outside plugin's release, ref, or commit SHA in the catalog, including from a supplied offline snapshot. Don't use to edit a local plugin, install upstream code, or update npm dependencies.