Repository navigation
Add a plugin marketplace for all stacks - #1
Merged
hetaoBackend merged 1 commit intoOct 28, 2026
Merged
Conversation
Add .claude-plugin/marketplace.json so the repository can be added as a plugin marketplace (MiniMax Code desktop "Add marketplace", or /plugin marketplace add in Claude Code). Each stack is one entry whose source is the stack directory; the entry sets no component fields, so the stack's own .minimax-plugin/plugin.json defines its skills. scripts/check.mjs gains two checks: - marketplace: one entry per stack under stacks/ and community/, named after the directory, with the same description as plugin.json; - version bump: with CHECK_BASE set, a stack whose files changed since the merge base must raise its plugin.json version. Marketplace installs only see an update when the version goes up. CI fetches full history and passes the pull request base as CHECK_BASE. README, CONTRIBUTING (both languages), stacks/README and the template README document the marketplace and the version rule.
3 tasks done
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.
What this adds or changes
Makes the repository a plugin marketplace, so a stack installs (and later updates) without copying files.
.claude-plugin/marketplace.json: one entry per stack,"source": "./stacks/<id>". Entries set no component fields, so each stack's.minimax-plugin/plugin.jsonstays the single definition of its skills. This file name is read by MiniMax Code's user-added marketplaces, Claude Code and Codex.scripts/check.mjs:stacks/andcommunity/, named after the directory, samedescriptionasplugin.json, noskills/commands/... fields;CHECK_BASEis set): a stack whose files changed since the merge base must raise itsplugin.jsonversion. Marketplace installs compare versions to decide whether an update is available, so a change without a bump never reaches people who installed the stack.CHECK_BASE(empty on pushes to main, which skips the bump check)./plugin marketplace add). The existing note thatmcode plugin addonly installs from the official catalog stays. CONTRIBUTING (both languages),stacks/README.mdand the template README describe the marketplace entry and the version rule.Note: adding marketplaces in MiniMax Code is still rolling out (test/internal channels first); the README says so.
Check output
Negative cases run locally, each fails as expected:
version 0.2.0 is not higher than 0.2.0; bump to 0.2.1 → passes;"skills"and a different description → two errors;stacks/ronny has no entry.Real usage record
Loaded this repository with MiniMax Code's own marketplace code (
readCatalog+inspectRelativeEntry+EntryMaterializerfrom local-runtime-v2): catalogmcode-stackparses with no diagnostics;ronnyresolves to its.minimax-pluginmanifest, version 0.2.0, 15 skills, and stages an install copy.Not verified: an end-to-end install in Claude Code (its CLI is killed at startup on the test machine).
If this skill were deleted, where would the agent go wrong?
Not a skill. Without the marketplace, installing a stack means copying a directory by hand, and installed copies never learn about updates.
Checklist
Need help on this PR? Tag
@codesmith-botwith what you need.