Skip to content

Fix marketplace plugin source so claude.ai can sync the repo - #19

Closed
gal-cstk wants to merge 1 commit into
contentstack:mainfrom
gal-cstk:fix/claude-ai-marketplace-source
Closed

gal-cstk wants to merge 1 commit into
contentstack:mainfrom
gal-cstk:fix/claude-ai-marketplace-source

Conversation

@gal-cstk

@gal-cstk gal-cstk commented Oct 7, 2026

Copy link
Copy Markdown

What this fixes

.claude-plugin/marketplace.json lists the plugin with "source": ".". claude.ai (Customize > Plugins > Add marketplace, which also feeds Cowork and Claude Code synced plugins) rejects that form: adding contentstack/contentstack-agent-skills fails with "Marketplace sync failed. Check the repository URL and try again."

claude.ai requires relative plugin sources to start with ./ (org sync rules). This PR changes the one value:

-      "source": ".",
+      "source": "./",

How it was tested

  • Forked the repo, made only this change, and added the fork as a marketplace on claude.ai. It synced and listed Contentstack skills for install. The unchanged upstream repo fails with the error above.
  • claude plugin validate . passes, so Claude Code (/plugin marketplace add) keeps working.

Why it matters

With claude.ai able to sync the repo, people can add it once on their account and get these skills in claude.ai, Cowork and Claude Code, auto-updating when this repo changes. Today the only claude.ai route is uploading a zip, which goes stale.

One related note, not changed here: plugin.json pins "version": "0.1.0". Claude Code decides whether to update an installed plugin by comparing that version, so new commits don't reach existing installs until the version is bumped. Worth bumping it with each release (or removing it so the commit SHA is used).

🤖 Generated with Claude Code

claude.ai requires relative plugin sources to start with "./"; "." is rejected.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@gal-cstk
gal-cstk requested a review from a team as a code owner October 7, 2026 15:33
@snyk-io

snyk-io Bot commented Oct 7, 2026

Copy link
Copy Markdown

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@timbenniks-contentstack

Copy link
Copy Markdown
Contributor

Thanks @gal-cstk for tracking this down, and for testing it on a fork! The "./" source is now in #21, the combined 0.2.0 release PR. Following your note, the manifests also get a version bump (0.2.0), and the validator now checks that every manifest has the same version. You're credited in the PR description. Closing in favour of #21.

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.

3 participants