Skip to content

Make marketplace and plugins discoverable by both GitHub Copilot CLI and Claude Code#3

Open
Copilot wants to merge 3 commits intomainfrom
copilot/update-plugins-and-marketplace
Open

Make marketplace and plugins discoverable by both GitHub Copilot CLI and Claude Code#3
Copilot wants to merge 3 commits intomainfrom
copilot/update-plugins-and-marketplace

Conversation

Copy link
Contributor

Copilot AI commented Mar 14, 2026

Plugins were only discoverable by Copilot CLI (via .github/plugin/). Both Copilot CLI and Claude Code share support for .claude-plugin/ as a canonical plugin directory, so consolidating there eliminates duplication while enabling both tools.

Changes

  • Manifest locations — renamed .github/plugin/marketplace.json.claude-plugin/marketplace.json and plugins/linting/.github/plugin/plugin.jsonplugins/linting/.claude-plugin/plugin.json
  • Marketplace format — added $schema (Claude Code) and top-level description (Claude Code) alongside the existing metadata.version (Copilot CLI)
  • README — split installation into Copilot CLI / Claude Code subsections with per-tool commands; added Sharing with contributors section documenting .claude/settings.json for project-level plugin recommendations in Claude Code (Copilot CLI has no equivalent mechanism)
  • AGENTS.md — updated path references and description to reflect dual-tool compatibility
  • Versions — linting 0.2.3 → 0.2.4, marketplace 0.4.2 → 0.4.3

Sharing with contributors (Claude Code)

Commit a .claude/settings.json to any repo to recommend plugins to contributors. When contributors trust the project folder in Claude Code, they are prompted to install the marketplace and any enabled plugins automatically — no prior marketplace registration required:

{
  "extraKnownMarketplaces": {
    "heaths-plugins": {
      "source": {
        "source": "github",
        "repo": "heaths/plugins"
      }
    }
  },
  "enabledPlugins": {
    "linting@heaths-plugins": true
  }
}
Original prompt

Using https://code.claude.com/docs/en/plugins and https://docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/plugins-creating, update plugins and the marketplace in this repo so that they are discoverable and installable by both copilot cli and Claude code with little to no duplication. Since copilot seems to support Claude code directories, that probably means just using those. Update documentation appropriately. Also update the readme with how to add the marketplace and/or plugins to another repo to share with other contributors in that repo - almost like recommended extensions. Claude code seems to support this but not sure about copilot. Try to figure out and update the readme accordingly. It autos be a new section below how to install the plugins.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

…and Claude Code

Co-authored-by: heaths <1532486+heaths@users.noreply.github.com>
Copilot AI changed the title [WIP] Update plugins and marketplace for better discoverability Make marketplace and plugins discoverable by both GitHub Copilot CLI and Claude Code Mar 14, 2026
Copilot AI requested a review from heaths March 14, 2026 07:41
@heaths heaths marked this pull request as ready for review March 14, 2026 07:44
README.md Outdated
```json
{
"plugins": [
"linting@heaths-plugins"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would require the marketplace to always be installed. Try to fetch documentation again (I allowed those URLs). The individual plugins with source locations probably need to be in settings.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in d215272. The example now uses extraKnownMarketplaces to register the marketplace source directly (no prior marketplace install needed) and enabledPlugins to opt into specific plugins. Claude Code prompts contributors to install both when they trust the project folder.

Co-authored-by: heaths <1532486+heaths@users.noreply.github.com>
Copilot AI requested a review from heaths March 14, 2026 07:52
Copy link
Owner

@heaths heaths left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but I want to test this out first.

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.

2 participants