ci: add plugin validate workflow#36
Merged
Merged
Conversation
Run `claude plugin validate --strict` on all plugins and the marketplace manifest on push/PR to main when plugin files change.
Use commit SHA instead of tag ref to prevent supply chain attacks.
- @anthropic-ai/[email protected] in validate workflow - Add External Dependencies convention to CLAUDE.md
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
claude plugin validate --strictを全pluginと marketplace manifest に対してCIで実行plugins/**または.claude-plugin/**の変更時のみ発火(push to main / PR)What it checks
plugin.jsonのJSON構文・スキーマhooks/hooks.jsonの構文・スキーマ--strictでwarningもエラー扱い)Reference
claude plugin validate --helpで確認済み