fix: marketplace.json schema + scaffold component paths + CI validation#5
Merged
minsoo-web merged 1 commit intomainfrom Mar 2, 2026
Merged
fix: marketplace.json schema + scaffold component paths + CI validation#5minsoo-web merged 1 commit intomainfrom
minsoo-web merged 1 commit intomainfrom
Conversation
- Rewrite .claude-plugin/marketplace.json to match required schema: add owner, version, rename skills→plugins, path→source - Fix scaffold-plugin.sh: generated plugin.json now includes commands/skills/agents/mcpServers paths when components are selected - Add .github/scripts/validate-marketplace.js for schema validation - Add validate-marketplace CI job + marketplace.json path trigger - Add .claude/commands/update-version.md for semver auto-bump Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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
marketplace.jsonschema: Rewrites.claude-plugin/marketplace.jsonto match the required schema — addsownerobject,version, renamesskills→plugins, changespath→source, and removes non-standardrepository/homepagefields. Fixesclaude plugin marketplace add https://github.com/hamsurang/kitfailure.scaffold-plugin.sh: Generatedplugin.jsonnow conditionally includescommands,skills,agents, andmcpServerspath fields when the user selects those components during scaffolding. Bash fallback rewritten withprintf+iffor valid JSON without trailing commas.validate-marketplace.js: New CI script at.github/scripts/validate-marketplace.jsthat validates required fields (name,owner.name,plugins[].name,plugins[].source).validate-plugin.yml: Adds.claude-plugin/marketplace.jsonto thepaths:trigger and avalidate-marketplacejob so marketplace schema is checked on every PR that touches it.update-version.md: New/update-versionslash command that diffs vsmain, determines the correct semver bump (patch/minor/major) per changed plugin, and updatesplugin.jsonandmarketplace.jsonaccordingly.Test plan
node .github/scripts/validate-marketplace.js .claude-plugin/marketplace.json→ expectOK: marketplace kit with 1 plugin(s)bash scripts/scaffold-plugin.shlocally, select skills → verify generatedplugin.jsonincludes"skills": "./skills/"validate-marketplacejob passes on this PR🤖 Generated with Claude Code