Skip to content

fix: complete plugin schema compatibility for Claude Code installation#2

Open
crashish wants to merge 2 commits intoBlevene:mainfrom
crashish:fix/marketplace-schema
Open

fix: complete plugin schema compatibility for Claude Code installation#2
crashish wants to merge 2 commits intoBlevene:mainfrom
crashish:fix/marketplace-schema

Conversation

@crashish
Copy link
Copy Markdown

@crashish crashish commented Apr 6, 2026

Summary

Fixes all schema validation errors that prevent the plugin from installing via claude plugin install.

marketplace.json

  • Add owner object (required by schema)
  • Rename path to source in plugins array
  • Move top-level description into metadata object (unrecognized key)
  • Add version field to plugin entry
  • Change source from . to ./plugin (validator rejects .)

plugin.json

  • Change author from string to object (schema expects object)
  • Change repository from object to plain string URL (schema expects string)
  • Remove homepage (not in schema)

Directory structure

  • Move skills/ and plugin.json into plugin/ subdirectory to match the source path convention

Without these changes, installation fails with multiple validation errors.

crashish and others added 2 commits April 6, 2026 20:51
Add missing `owner` field (required object) and rename `path` to
`source` in the plugins array to match the current plugin
marketplace schema.
- marketplace.json: move description to metadata object, add version,
  set source to ./plugin (validator rejects ".")
- plugin.json: author must be object not string, repository must be
  string URL not object
- Move skills/ and plugin.json into plugin/ subdirectory to match
  the source path convention used by working plugins

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@crashish crashish changed the title fix: update marketplace.json schema for plugin compatibility fix: complete plugin schema compatibility for Claude Code installation Apr 7, 2026
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