Skip to content

[Feature]: Add marketplace-structure skill for plugin marketplace creation #86

@sjnims

Description

@sjnims

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.json schema and required fields
  • Multi-plugin organization within a marketplace
  • Plugin source types (GitHub, git URLs, relative paths)
  • Distribution strategies (GitHub hosting, team settings)
  • The strict vs. 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

  1. Overview - What marketplaces are, when to create one vs. just a plugin
  2. Directory Structure - Where marketplace.json goes (.claude-plugin/)
  3. Marketplace Schema - Core fields (name, owner, metadata, plugins)
  4. Plugin Entry Format - Required and optional fields for plugin entries
  5. Plugin Sources - Relative paths, GitHub repos, git URLs
  6. strict vs. non-strict mode - When plugin.json is required
  7. Best Practices - Organization, versioning, distribution
  8. 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

  1. Add marketplace content to plugin-structure skill - 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
  2. Add to plugin-settings skill - Rejected because plugin-settings is about per-project .local.md configuration, not marketplace setup

  3. Document only in README - Rejected because this is actionable guidance that should be model-invoked when users ask about marketplaces

Additional Context

Reference Material

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 identifier
  • owner (object) - Maintainer information
  • plugins (array) - List of available plugins

Plugin entries require:

  • name (string) - Plugin identifier
  • source (string|object) - Where to fetch the plugin

How important is this feature to you?

Medium - Would be nice to have

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions