Add git-subdir source type support to plugin marketplace schema
- Dominant language
- Shell
- Stars
- 11.2k
- Forks
- 1.9k
- Avg merge
- 14h 16m
- Merged PRs (30d)
- 6
Description
### Describe the feature or problem you'd like to solve
/plugin marketplace add anthropics/claude-plugins-official fails with ~40 plugins.N.source: Invalid input errors because Copilot CLI's marketplace schema doesn't accept the git-subdir source type used widely in the Claude Code plugin ecosystem.
### Proposed solution
_No response_
### Example prompts or workflows
Example of a rejected entry (valid in Claude Code, rejected by Copilot CLI):
{
"name": "stripe",
"source": {
"source": "git-subdir",
"url": "https://github.com/stripe/ai.git",
"path": "providers/claude/plugin",
"ref": "main",
"sha": "ec93d4c4b9ffdbc994ac45ce692d4ec1cdb755f0"
}
}
Currently only string paths and {"source": "url", "url": "...", "sha": "..."} (whole-repo) are accepted. Without git-subdir support, ~40 of ~170 plugins in Anthropic's
official marketplace — including AWS, Stripe, Zapier, Shopify, Microsoft Dataverse, SAP, Auth0, Airtable, Expo, Railway, Neon, Snowflake, ServiceNow, and others — cannot be
installed via Copilot CLI. Please add git-subdir to the accepted source schema for plugin marketplace entries so the Claude Code ecosystem works out of the box.
Repro: /plugin marketplace add anthropics/claude-plugins-official
### Additional context
_No response_
Contributor guide
Research direction
Start at the `/plugin marketplace add anthropics/claude-plugins-official` entry point and locate the marketplace source validation or schema. Reproduce the `git-subdir` rejection, then confirm entries containing `source`, `url`, `path`, `ref`, and `sha` are accepted and the marketplace installs successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100