Add CI to validate plugin and marketplace manifests#6
Open
edmundmiller wants to merge 1 commit into
Open
Conversation
Run `claude plugin validate --strict` on the plugin and marketplace manifests, and shellcheck the hook scripts, on push to master and on pull requests. https://claude.ai/code/session_01BDX5Wh7CXx1hXbfJCyBmMN
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
ValidateGitHub Actions workflow (push tomaster+ all PRs).claude plugin validate --stricton.claude-plugin/plugin.json, and on.claude-plugin/marketplace.jsonwhen present.hooks/scripts/*.sh(no-op when none exist).Why validate each manifest file instead of
claude plugin validate .claude plugin validate .picks a single manifest, and oncemarketplace.jsonexists it validates only the marketplace, silently skipping the plugin + hooks. Pointing it at each manifest file checks both.--strict(recommended for CI) treats warnings — missing metadata, misspelled fields — as failures.Verified locally (claude CLI v2.1.152)
plugin.json→ passes (skills + auto-discoveredhooks/hooks.jsonvalidated)marketplace.json→ passes after the description fixTest plan
npm install -g @anthropic-ai/claude-code+claude plugin validaterun without auth in CIhttps://claude.ai/code/session_01BDX5Wh7CXx1hXbfJCyBmMN
Generated by Claude Code