chore(plugins): add Claude display name#487
Conversation
📝 WalkthroughWalkthroughThis PR adds the ChangesPlugin Display Name Configuration
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Suggested labels
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.claude-plugin/marketplace.json:
- Line 14: Remove the unsupported "displayName" field from the
.claude-plugin/marketplace.json manifest: locate the "displayName": "Desktop
Commander" entry and delete that key/value pair so the JSON only uses supported
manifest fields (e.g., "name", "owner", "plugins" and other documented
optionals); ensure the JSON remains valid (comma positions adjusted) after
removal.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 8593fdd0-c2cf-4931-8a50-a2a87e0c4937
📒 Files selected for processing (2)
.claude-plugin/marketplace.jsonplugins/claude/.claude-plugin/plugin.json
| "plugins": [ | ||
| { | ||
| "name": "desktop-commander", | ||
| "displayName": "Desktop Commander", |
There was a problem hiding this comment.
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
# Description: Search for schema definitions or documentation for Claude plugin marketplace.json format
# Look for schema files or documentation that define the marketplace.json structure
fd -e json -e md -e txt --exec rg -l "marketplace.*schema|claude.*plugin.*schema" {} \;
# Search for other examples of displayName usage in plugin configurations
rg -n "displayName" --type json -C 2Repository: wonderwhy-er/DesktopCommanderMCP
Length of output: 58
🌐 Web query:
What is the official schema for Claude plugin marketplace.json file and does it support a displayName field?
💡 Result:
As of June 1, 2026, the official schema for the Claude plugin marketplace.json file does not support a displayName field [1][2]. The marketplace.json file, typically located at .claude-plugin/marketplace.json, is used to define a plugin marketplace for Claude Code [1][3]. According to official documentation, the required and supported fields are as follows: Required Fields: - name: A kebab-case identifier for the marketplace [1][2]. - owner: An object containing marketplace maintainer information (typically including a name) [1][2]. - plugins: An array listing the available plugins [1][2]. Optional Fields: - $schema: A URL for JSON Schema validation [1][2]. - description: A brief description of the marketplace [1][2]. - version: The version of the marketplace manifest [1][2]. - metadata.pluginRoot: A base directory path for relative plugin sources [1][2]. - allowCrossMarketplaceDependenciesOn: An array of other permitted marketplaces [1]. While there have been community requests to add a displayName field to marketplace.json to allow for more user-friendly naming, it has not been implemented as part of the official schema [4]. Developers currently rely on the name field, which is required to be in kebab-case and is used for installation commands [1][2]. Official JSON schemas for these manifest files are hosted at json.schemastore.org for validation purposes [2].
Citations:
- 1: https://code.claude.com/docs/en/plugin-marketplaces
- 2: [BUG] JSON schema specified in the marketplace.json doesn't exist anthropics/claude-code#9686
- 3: https://github.com/anthropics/claude-code/blob/main/.claude-plugin/marketplace.json
- 4: [Feature Request] Customizable Plugin Display Names via marketplace.json anthropics/claude-code#18333
Remove unsupported displayName from .claude-plugin/marketplace.json
- Claude Code’s official
marketplace.jsonmanifest schema does not define adisplayNamefield for marketplace/plugin entries (only fields likename,owner,plugins, plus other documented optionals). This means thedisplayNamevalue ("Desktop Commander") will be ignored and may fail schema validation if strict checking is enabled. - Remove the
"displayName": "Desktop Commander",entry at line 14 and rely on supported fields instead.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In @.claude-plugin/marketplace.json at line 14, Remove the unsupported
"displayName" field from the .claude-plugin/marketplace.json manifest: locate
the "displayName": "Desktop Commander" entry and delete that key/value pair so
the JSON only uses supported manifest fields (e.g., "name", "owner", "plugins"
and other documented optionals); ensure the JSON remains valid (comma positions
adjusted) after removal.
Adding CC plugin displayname for better visibility
Summary by CodeRabbit