fix: add missing skills field to plugin.json — plugin loads 0 skills on install#65
Open
MageByte-Zero wants to merge 1 commit into
Open
fix: add missing skills field to plugin.json — plugin loads 0 skills on install#65MageByte-Zero wants to merge 1 commit into
MageByte-Zero wants to merge 1 commit into
Conversation
Without "skills": "./skills/", the Claude Code plugin installer never registers the skill files and /frontend-slides produces 0 skills on /reload-plugins. Fixes zarazhangrui#60 zarazhangrui#63 zarazhangrui#64.
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.
Problem
After installing this plugin via the Claude Code marketplace, running
/reload-pluginsshows 0 skills. The/frontend-slidesskill never activates.Root cause:
plugin.jsonis missing the"skills"field. Without it, the Claude Code plugin installer doesn't know where to find skill files and skips registration entirely.This affects every user who installs the plugin. Confirmed broken on Claude Code with the current marketplace version.
Related issues: #60, #63, #64, #51
Fix
Add one line to
plugin.json:Before / After
Before: Install plugin →
/reload-plugins→frontend-slides: 0 skills→/frontend-slidesdoes nothingAfter: Install plugin →
/reload-plugins→frontend-slides: 1 skill→/frontend-slidesactivates normallyTesting
Tested by installing the plugin locally and verifying
/reload-pluginsregisters the skill. The"skills"field is the standard Claude Code plugin mechanism — without it, skills are invisible to the runtime.Existing PRs
skillsfield toplugin.json— the underlying registration bug remains unfixed.