-
Notifications
You must be signed in to change notification settings - Fork 2
[Feature]: Add marketplace-structure skill for plugin marketplace creation #86
Description
Problem or Need
Users asking to "create a marketplace", "organize multiple plugins", or "distribute plugins" currently have no dedicated skill guidance. The plugin-structure skill only mentions "marketplace" incidentally (as an installation method) and doesn't cover:
marketplace.jsonschema and required fields- Multi-plugin organization within a marketplace
- Plugin source types (GitHub, git URLs, relative paths)
- Distribution strategies (GitHub hosting, team settings)
- The
strictvs. non-strict mode distinction - Relationship between marketplace entries and
plugin.json
This is a significant gap since this repository itself is a marketplace and serves as a reference implementation.
Proposed Solution
Create a new marketplace-structure skill with comprehensive guidance for creating and maintaining plugin marketplaces.
Skill Structure
skills/marketplace-structure/
├── SKILL.md (~1,800 words)
├── references/
│ ├── schema-reference.md # Complete marketplace.json field reference
│ └── distribution-patterns.md # Hosting strategies, team setup
└── examples/
├── minimal-marketplace.md # Single plugin marketplace
├── team-marketplace.md # Internal company marketplace
└── community-marketplace.md # Public multi-plugin marketplace
SKILL.md Content Outline
- Overview - What marketplaces are, when to create one vs. just a plugin
- Directory Structure - Where
marketplace.jsongoes (.claude-plugin/) - Marketplace Schema - Core fields (name, owner, metadata, plugins)
- Plugin Entry Format - Required and optional fields for plugin entries
- Plugin Sources - Relative paths, GitHub repos, git URLs
- strict vs. non-strict mode - When
plugin.jsonis required - Best Practices - Organization, versioning, distribution
- Additional Resources - Links to references/examples
Trigger Phrases for Description
description: This skill should be used when the user asks to "create a marketplace",
"set up marketplace.json", "organize multiple plugins", "distribute plugins",
"host plugins", "marketplace schema", or needs guidance on plugin marketplace
structure, multi-plugin organization, or plugin distribution strategies.Which component would this affect?
Skill
Specific Component (if applicable)
New skill: marketplace-structure (to be created in plugins/plugin-dev/skills/)
Alternatives Considered
-
Add marketplace content to
plugin-structureskill - Rejected because:- Different abstraction level (marketplace contains multiple plugins)
- Different target audience (marketplace maintainers vs. plugin developers)
- Would bloat the skill beyond the recommended 2,000 word limit
- Different trigger conditions
-
Add to
plugin-settingsskill - Rejected because plugin-settings is about per-project.local.mdconfiguration, not marketplace setup -
Document only in README - Rejected because this is actionable guidance that should be model-invoked when users ask about marketplaces
Additional Context
Reference Material
- Official docs: https://code.claude.com/docs/en/plugin-marketplaces.md
- This repo's
marketplace.jsoncan serve as a real-world example - Should cross-reference
plugin-structurefor plugin.json details (avoid duplication)
Relationship to Existing Skills
| Skill | Relationship |
|---|---|
plugin-structure |
Complementary - covers individual plugins, this covers hosting multiple |
mcp-integration |
Reference only - marketplace entries can include mcpServers |
hook-development |
Reference only - marketplace entries can include hooks |
Official Schema Reference
From official docs, marketplace.json requires:
name(string) - Marketplace identifierowner(object) - Maintainer informationplugins(array) - List of available plugins
Plugin entries require:
name(string) - Plugin identifiersource(string|object) - Where to fetch the plugin
How important is this feature to you?
Medium - Would be nice to have