feat(plugin): adopt modern Claude Code plugin layout#11
Open
chad-loder wants to merge 3 commits into
Open
Conversation
Move SKILL.md and references/ under skills/terrashark/, and add
.claude-plugin/plugin.json. This matches the canonical Claude Code
plugin layout documented at code.claude.com/docs/en/plugins:
terrashark/
├── .claude-plugin/
│ ├── marketplace.json
│ └── plugin.json (new)
└── skills/
└── terrashark/
├── SKILL.md (moved from root)
└── references/ (moved from root)
Without plugin.json + skills/<name>/, /plugin install terrashark binds
no slash command (the marketplace cache reports "0 skills" on reload).
With this change, the plugin install registers /terrashark:terrashark
(the namespaced form documented for plugin-bundled skills).
Version bumped to 2.4.0-alpha.0+modern-plugin-layout to mark this as
pre-release work; the build-metadata identifier names the feature.
Manual standalone installs (clone to ~/.claude/skills/terrashark/) are
unaffected. Per the docs, standalone skills bind /<skill> while
plugin-bundled skills bind /<plugin>:<skill>; the former is unchanged
and the latter starts working with this commit.
…ugin-layout # Conflicts: # docs/README.md # docs/getting-started/installation.md
Collaborator
|
Thanks for moving this toward the modern plugin layout. I think the marketplace direction is right, but I would block merge until the install compatibility issues are fixed.
|
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
Adopt the canonical Claude Code plugin layout so
/plugin install terrasharkbinds a slash command. Currently/reload-pluginsreports0 skillsafter install because the plugin lacks.claude-plugin/plugin.jsonandskills/<name>/SKILL.md.Changes
SKILL.md+references/→skills/terrashark/.claude-plugin/plugin.json2.4.0-alpha.0+modern-plugin-layoutinmarketplace.jsonTesting
claude --plugin-dir <fork>registers the skill asterrashark:terrashark(verified via introspection)count→for_eachprompt; correctly identifiedreferences/identity-churn.mdandreferences/migration-playbooks.mdas relevant~/.claude/skills/terrashark/) is unaffected — only the broken plugin-install path is fixedAuthoritative references
.claude-plugin/plugin.json+skills/<name>/SKILL.mdplugin.jsonschemaNote
Slash command changes from
/terrashark(broken / non-namespaced) to/terrashark:terrashark(namespaced per the docs). Version bump uses semver build-metadata to identify the feature; happy to adjust per maintainer preference.