Skip to content

plugin-invalid-marketplace-manifest

marketplace.json must conform to the marketplace schema

Error

Rule Details

This rule validates marketplace.json files against the official Claude Code marketplace schema. A valid marketplace.json requires a name, owner (with name), and plugins array. Each plugin entry must have a name and source. The rule checks JSON syntax, schema conformance, and that each plugin entry has the required fields.

Incorrect

marketplace.json missing required owner field

json
{
  "name": "my-marketplace",
  "plugins": []
}

Plugin entry missing required source field

json
{
  "name": "my-marketplace",
  "owner": { "name": "Dev Team" },
  "plugins": [
    { "name": "my-plugin" }
  ]
}

Correct

Valid marketplace.json with relative path source

json
{
  "name": "my-marketplace",
  "owner": { "name": "Dev Team" },
  "plugins": [
    {
      "name": "my-plugin",
      "source": "./plugins/my-plugin",
      "description": "A useful plugin"
    }
  ]
}

Valid marketplace.json with GitHub source

json
{
  "name": "my-marketplace",
  "owner": { "name": "Dev Team" },
  "plugins": [
    {
      "name": "my-plugin",
      "source": { "source": "github", "repo": "owner/repo" }
    }
  ]
}

How To Fix

Ensure marketplace.json has the required fields: name (string), owner (object with name), and plugins (array). Each plugin entry needs name and source. See the official docs.

Options

This rule does not have any configuration options.

Resources

Version

Available since: v0.2.0