Add Claude Code marketplace manifest with proper architecture - #379
Merged
Conversation
AndreyVMarkelov
force-pushed
the
add-marketplace-manifest-correct
branch
4 times, most recently
from
September 3, 2026 21:52
0d8ef21 to
d936c0d
Compare
Implements proper marketplace distribution architecture: - Canonical skill source: skills/dbxcli/ (platform-neutral) - Self-contained plugin: plugin/claude/ with synced skill copy - Marketplace manifest: .claude-plugin/marketplace.json - Uses "source" field (not "path") - Includes required "owner" object - Points to ./plugin/claude (checked-in, not dist/) - Omits version fields (auto-updates via commit SHA) New tooling: - scripts/sync-claude-skill.sh: Syncs canonical skill to plugin - CI validation: Fails if plugin/claude/skills/dbxcli != skills/dbxcli - Updated test-plugin.sh: Validates marketplace structure and sync Enables zero-clone installation: /plugin marketplace add Dropbox/dbxcli /plugin install dbxcli@dbxcli Benefits: - Marketplace gets self-contained plugin (no path escaping after install) - Canonical skill remains platform-neutral (ChatGPT/OpenClaw can use it) - Claude packaging is not source of truth - No need to commit dist/ - CI enforces synchronization - Auto-updates via commit SHA (no manual version bumps during development) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
AndreyVMarkelov
force-pushed
the
add-marketplace-manifest-correct
branch
from
September 3, 2026 21:58
d936c0d to
51a1a48
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Claude Code marketplace support with proper self-contained plugin architecture following official specifications.
Architecture
Canonical source (platform-neutral):
Self-contained plugin (marketplace-ready):
Marketplace manifest:
Changes
New Files
.claude-plugin/marketplace.json- Marketplace catalog (per official spec)plugin/claude/skills/dbxcli/- Self-contained skill copyscripts/sync-claude-skill.sh- Sync canonical skill to pluginUpdated Files
scripts/test-plugin.sh- Validates marketplace structure and skill sync.github/workflows/ci.yml- Adds CI job that fails if skills are out of sync.gitignore- Ignore tmp/ directoryOfficial Spec Compliance
✅ Marketplace manifest location:
.claude-plugin/marketplace.json✅ Plugin entry uses
sourcefield (notpath)✅ Required
ownerobject at top level✅ Self-contained plugin (no path escaping after install)
✅ CI enforces sync between canonical and plugin copies
Installation Flow
Before (requires clone):
git clone https://github.com/dropbox/dbxcli.git cd dbxcli claude --plugin-dir dist/claude/dbxcli-pluginAfter (zero-clone marketplace install):
Then use:
/dbxcli:dbxcli list my Dropbox filesBenefits
skills/dbxcli/dist/stays as build artifactdist/remains in.gitignoreValidation
All validation tests pass (30/30):
CI checks: