[DOCS] Plugin docs missing dependency declaration and marketplace auto-resolution behavior
Documentation Type
Missing documentation (feature not documented)
Documentation Location
https://code.claude.com/docs/en/plugins-reference
Section/Topic
plugin.json manifest/schema docs and the plugin marketplace install flow for plugin dependencies
Current Documentation
The plugin installation guide currently describes marketplaces as a simple two-step flow:
A marketplace is a catalog of plugins that someone else has created and shared. Using a marketplace is a two-step process: Add the marketplace This registers the catalog with Claude Code so you can browse what's available. No plugins are installed yet. Install individual plugins Browse the catalog and install the plugins you want.
The plugin manifest reference currently shows this plugin.json schema:
{ "name": "plugin-name", "version": "1.2.0", "description": "Brief plugin description", "author": { "name": "Author Name", "email": "author@example.com", "url": "https://github.com/author" }, "homepage": "https://docs.example.com/plugin", "repository": "https://github.com/author/plugin", "license": "MIT", "keywords": ["keyword1", "keyword2"], "skills": "./custom/skills/", "commands": ["./custom/commands/special.md"], "agents": "./custom/agents/", "hooks": "./config/hooks.json", "mcpServers": "./mcp-config.json", "outputStyles": "./styles/", "lspServers": "./.lsp.json", "monitors": "./monitors.json" }
The marketplace schema likewise says plugin entries can include manifest fields plus marketplace-specific fields, but only documents:
Each plugin entry in thepluginsarray describes a plugin and where to find it. You can include any field from the plugin manifest schema (likedescription,version,author,commands,hooks, etc.), plus these marketplace-specific fields:source,category,tags, andstrict.
The CLI docs for adding marketplaces currently say only:
claude plugin marketplace add <source> [options]<source>: GitHubowner/reposhorthand, git URL, remote URL to amarketplace.jsonfile, or local directory path.
What's Wrong or Missing?
Changelog v2.1.117 describes plugin dependency behavior that is not documented in the plugin docs:
Plugin dependency errors now say "not installed" with an install hint, and claude plugin marketplace add now auto-resolves missing dependencies from configured marketplaces.
The current docs do not explain plugin-to-plugin dependencies at all.
A. No documented way to declare plugin dependencies
The plugin.json reference does not document any dependency field or dependency semantics, so plugin authors cannot learn how to declare that one plugin requires another.
B. No documented user-facing dependency resolution behavior
The install and marketplace guides do not explain what happens when a required plugin dependency is missing, what the new "not installed" error means, or when Claude Code offers an install hint.
C. Marketplace add side effects are undocumented
discover-plugins currently says adding a marketplace only registers the catalog and installs nothing yet, but the v2.1.117 behavior implies claude plugin marketplace add can now resolve missing plugin dependencies from already-configured marketplaces. That dependency-resolution behavior is not described anywhere.
Suggested Improvement
Document plugin dependencies as a first-class part of the plugin system.
Suggested updates:
- In
plugins-reference, add the dependency field(s) supported inplugin.json, including format, scope, and resolution rules. - In
discover-plugins, add a short section explaining missing-dependency errors, the new install hint wording, and whether dependency plugins are auto-installed or prompted. - In
plugin-marketplaces, document thatclaude plugin marketplace addcan resolve missing dependencies from configured marketplaces, including what counts as a configured marketplace. - Clarify the "No plugins are installed yet" wording so it matches current dependency auto-resolution behavior, or explicitly call out dependency-related exceptions.
- Add one end-to-end example showing a plugin that depends on another plugin and how Claude Code resolves it.
Impact
Medium - Makes feature difficult to understand
Additional Context
Affected Pages:
| Page | Line(s) | Context |
|------|---------|---------|
| https://code.claude.com/docs/en/plugins-reference | 291-315, 342-355 | plugin.json schema and field tables list manifest fields but do not document plugin dependency fields or dependency behavior |
| https://code.claude.com/docs/en/discover-plugins | 23-49, 256-375 | Marketplace/install guide says marketplace add just registers a catalog, then users install plugins separately; no dependency resolution or install-hint docs |
| https://code.claude.com/docs/en/plugin-marketplaces | 188-225, 818-828 | Marketplace entry schema and claude plugin marketplace add CLI docs omit plugin dependency fields and auto-resolution behavior |
| https://code.claude.com/docs/en/settings | 568-577 | extraKnownMarketplaces explains configured marketplaces for a repository, but does not connect that concept to plugin dependency resolution |
Total scope: 4 pages affected
Source: Changelog v2.1.117
Exact changelog entry: Plugin dependency errors now say "not installed" with an install hint, and claude plugin marketplace add now auto-resolves missing dependencies from configured marketplaces
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗