fix: remove invalid category field from plugin.json manifests#9
Open
rshelekhov wants to merge 1 commit intoMadAppGang:mainfrom
Open
fix: remove invalid category field from plugin.json manifests#9rshelekhov wants to merge 1 commit intoMadAppGang:mainfrom
category field from plugin.json manifests#9rshelekhov wants to merge 1 commit intoMadAppGang:mainfrom
Conversation
The `category` field is a marketplace-specific property that belongs in `.claude-plugin/marketplace.json`, not in individual plugin manifests. Its presence in `plugin.json` causes validation errors during plugin installation: `Unrecognized key: "category"`. - Remove `category` from 10 plugin.json files - Add 4 missing plugins (bun, frontend, instantly, autopilot) to marketplace.json with their category values preserved
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
categoryfield from 10plugin.jsonfiles that was causing plugin installation failures.claude-plugin/marketplace.jsonto preserve their category valuesProblem
When installing plugins via
/plugin install, the following error occurs:The
categoryfield is a marketplace-specific property valid only in.claude-plugin/marketplace.jsonentries, not in individual plugin manifests (plugin.json). Per the Claude Code plugin marketplace documentation, fields likecategory,tags,source, andstrictbelong exclusively to marketplace registry entries.Changes
Removed
categoryfromplugin.jsonin:plugins/code-analysis/plugin.jsondevelopmentplugins/bun/plugin.jsondevelopmentplugins/frontend/plugin.jsondevelopmentplugins/dev/plugin.jsondevelopmentplugins/seo/plugin.jsoncontentplugins/video-editing/plugin.jsonmediaplugins/nanobanana/plugin.jsonmediaplugins/statusline/plugin.jsonutilityplugins/instantly/plugin.jsonproductivityplugins/autopilot/plugin.jsonautomationAdded to
.claude-plugin/marketplace.json:4 plugins that were missing from the marketplace registry (bun, frontend, instantly, autopilot) — added with their respective category values to ensure no data is lost.
The remaining 6 plugins already had matching
categoryentries inmarketplace.json.Test plan
python3 -m json.tool)categoryfield remains in anyplugins/*/plugin.json/plugin install— should no longer produceUnrecognized key: "category"error