Skip to content

fix: restructure to proper marketplace format#16

Closed
gzb1128 wants to merge 1 commit intoaffaan-m:mainfrom
gzb1128:fix-marketplace-format
Closed

fix: restructure to proper marketplace format#16
gzb1128 wants to merge 1 commit intoaffaan-m:mainfrom
gzb1128:fix-marketplace-format

Conversation

@gzb1128
Copy link
Copy Markdown
Contributor

@gzb1128 gzb1128 commented Jan 22, 2026

Problem

Fixes /plugin marketplace add validation error: "Invalid schema: plugins.0.source: Invalid input"

The original structure had plugin content at the repository root, but the marketplace schema expects plugins to be in subdirectories.

Reference

Changes

Directory restructuring:

  • Move plugin content to plugins/everything-claude-code/ subdirectory

marketplace.json fixes:

  • Add $schema reference for validation
  • Remove metadata wrapper (description should be at root level per official schema)
  • Change source from .\ to ./plugins/everything-claude-code\

plugin.json fixes:

  • Remove invalid fields: version, homepage, repository, keywords
  • Remove auto-discovered fields: commands, agents, skills, hooks
  • Keep only required fields: name, description, author

Testing

Tested with:

/plugin marketplace add affaan-m/everything-claude-code
/plugin install everything-claude-code@everything-claude-code

Plugin installs successfully without validation errors.

Summary by CodeRabbit

  • Chores
    • Restructured plugin configuration files and marketplace metadata organization to improve plugin management and configuration clarity.

✏️ Tip: You can customize this high-level summary in your review settings.

Fixes /plugin marketplace add validation error: "Invalid schema: plugins.0.source: Invalid input"

## Problem
The original structure had plugin content at the repository root, but the marketplace
schema expects plugins to be in subdirectories (plugins/<plugin-name>/).

## Reference
- Official marketplace: https://github.com/anthropics/claude-plugins-official
- Official marketplace.json: https://github.com/anthropics/claude-plugins-official/blob/main/.claude-plugin/marketplace.json
- Schema discussion: anthropics/claude-code#9686
- Community marketplace example: https://github.com/kivilaid/plugin-marketplace

## Changes
**Directory restructuring:**
- Move plugin content to plugins/everything-claude-code/ subdirectory

**marketplace.json fixes:**
- Add $schema reference for validation
- Remove metadata wrapper (description should be at root level per official schema)
- Change source from "." to "./plugins/everything-claude-code"

**plugin.json fixes:**
- Remove invalid fields: version, homepage, repository, keywords
- Remove auto-discovered fields: commands, agents, skills, hooks
- Keep only required fields: name, description, author

The marketplace format is designed to host multiple plugins in subdirectories.
For a single-plugin repo, the plugin still needs to be in a plugins/ subdirectory.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Jan 22, 2026

📝 Walkthrough

Walkthrough

The changes restructure the Claude plugin configuration by moving the plugin manifest into a subdirectory structure, updating the marketplace schema, consolidating metadata definitions, and refactoring the source path from the root to a dedicated plugins directory.

Changes

Cohort / File(s) Changes
Marketplace Configuration Update
.claude-plugin/marketplace.json
Added top-level $schema and description fields; removed nested metadata object; updated plugin source path from "." to "./plugins/everything-claude-code"
Plugin Manifest Restructuring
.claude-plugin/plugin.json (deleted)
plugins/everything-claude-code/.claude-plugin/plugin.json (added)
Removed root-level plugin manifest file; introduced new plugin manifest in subdirectory structure to align with new source organization

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 From root to nested paths so neat,
The plugins find their proper seat,
With schemas gleaming, manifest aligned—
A tidier structure, redesigned! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: restructuring the repository to proper Claude marketplace format to fix schema validation errors.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@gzb1128
Copy link
Copy Markdown
Contributor Author

gzb1128 commented Jan 22, 2026

fixes #15

fusionfx1 added a commit to fusionfx1/everything-claude-code that referenced this pull request Jan 22, 2026
- Restructure repository for plugin marketplace
- Move all plugin content to plugins/everything-claude-code/
- Add marketplace.json with proper schema
- Create plugin.json in plugin directory
@nickzren
Copy link
Copy Markdown

@affaan-m simpler alternative: The validation error is caused by "source": "." — changing it to "source": "./" fixes it without restructuring, unless the repo plans to host multiple plugins in one marketplace.

@vikasbnsl
Copy link
Copy Markdown

please merge this 😄

@affaan-m
Copy link
Copy Markdown
Owner

Thanks for the detailed research and contribution! We've fixed the plugin structure differently - using source: './' instead of moving to subdirectories. The plugin now installs correctly. Appreciate all the references you provided! 🙏

@affaan-m affaan-m closed this Jan 23, 2026
@fbbp fbbp mentioned this pull request Feb 1, 2026
6 tasks
affaan-m pushed a commit that referenced this pull request Mar 13, 2026
Fix Windows CI: skip bash-path-incompatible test on win32
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.

4 participants