fix: restructure to proper marketplace format#16
fix: restructure to proper marketplace format#16gzb1128 wants to merge 1 commit intoaffaan-m:mainfrom
Conversation
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.
📝 WalkthroughWalkthroughThe 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
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ 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. Comment |
|
fixes #15 |
- 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
|
@affaan-m simpler alternative: The validation error is caused by |
|
please merge this 😄 |
|
Thanks for the detailed research and contribution! We've fixed the plugin structure differently - using |
Fix Windows CI: skip bash-path-incompatible test on win32
Problem
Fixes
/plugin marketplace addvalidation 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:
plugins/everything-claude-code/subdirectorymarketplace.json fixes:
plugin.json fixes:
Testing
Tested with:
Plugin installs successfully without validation errors.
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.