Repository navigation
fix(#1295): CI validates the marketplace manifest, not the repo root as a plugin - #1296
Merged
Merged
Conversation
… plugin Claude Code 2.1.289 lints a plugin root's CLAUDE.md; validating '.' treats the dev repo root as a plugin and --strict fails on its CLAUDE.md. The release skill already validates .claude-plugin/marketplace.json directly. Entire-Checkpoint: 54ab6aedb1ab
4 tasks
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 Code CLI 2.1.289 added a lint that warns when a plugin root contains
CLAUDE.md. "Plugin Structure Validation" runsclaude plugin validate --strict ., which also lints the repo root as if it were a plugin. Since #1265 the plugin lives inplugin/, so the repo's ownCLAUDE.mdnow fails the job under--strict.The step now validates
.claude-plugin/marketplace.jsondirectly, the same way the/releaseskill's pre-flight already does. The./plugincheck is unchanged.Fixes #1295
Evidence
main@ 3dd47c0 passed this job on CLI 2.1.288. PR fix(#1287): skills stop pre-approving broad shell access in allowed-tools #1291 @ fda34ab, whose diff doesn't touch plugin structure, failed it on 2.1.289 withroot: CLAUDE.md at the plugin root is not loaded as project context.mainwith CLI 2.1.289:claude plugin validate --strict .exits 1 with that warning.claude plugin validate --strict .claude-plugin/marketplace.jsonpasses.claude plugin validate --strict ./pluginpasses.git grep "plugin validate").Test plan
🤖 Generated with Claude Code