Skip to content

fix: remove invalid category field from plugin.json manifests#9

Open
rshelekhov wants to merge 1 commit intoMadAppGang:mainfrom
rshelekhov:fix/remove-category-from-plugin-manifests
Open

fix: remove invalid category field from plugin.json manifests#9
rshelekhov wants to merge 1 commit intoMadAppGang:mainfrom
rshelekhov:fix/remove-category-from-plugin-manifests

Conversation

@rshelekhov
Copy link

Summary

  • Remove the category field from 10 plugin.json files that was causing plugin installation failures
  • Add 4 missing plugins (bun, frontend, instantly, autopilot) to .claude-plugin/marketplace.json to preserve their category values

Problem

When installing plugins via /plugin install, the following error occurs:

Failed to install: Plugin has an invalid manifest file at .../plugin.json.
Validation errors: : Unrecognized key: "category"

The category field is a marketplace-specific property valid only in .claude-plugin/marketplace.json entries, not in individual plugin manifests (plugin.json). Per the Claude Code plugin marketplace documentation, fields like category, tags, source, and strict belong exclusively to marketplace registry entries.

Changes

Removed category from plugin.json in:

Plugin Category value
plugins/code-analysis/plugin.json development
plugins/bun/plugin.json development
plugins/frontend/plugin.json development
plugins/dev/plugin.json development
plugins/seo/plugin.json content
plugins/video-editing/plugin.json media
plugins/nanobanana/plugin.json media
plugins/statusline/plugin.json utility
plugins/instantly/plugin.json productivity
plugins/autopilot/plugin.json automation

Added 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 category entries in marketplace.json.

Test plan

  • Verify all modified JSON files are valid (validated locally with python3 -m json.tool)
  • Verify no category field remains in any plugins/*/plugin.json
  • Test plugin installation with /plugin install — should no longer produce Unrecognized key: "category" error

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
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.

1 participant

Comments