Fix plugin manifest validation errors (v2.2.1)#2
Merged
laird merged 1 commit intoOct 25, 2025
Merged
Conversation
Resolved "invalid manifest file" error by simplifying plugin.json: ## Changes ### plugin.json Fixes - Removed `$schema` field (not supported in current Claude Code version) - Removed `agents` field from plugin.json (not yet in stable schema) - Bumped version to 2.2.1 - Kept only essential fields: name, version, description, author, homepage, repository, license, keywords, commands ### Directory Structure - Renamed `agents_md/` to `agents/` (follows convention) - Agent files still available at `agents/*.md` for manual reference - All 10 commands remain in `commands/` and are registered in plugin.json ### Documentation Updates - Updated README to reflect agents_md → agents rename - Added note about agents being available but not auto-loaded - Updated version history with v2.2.1 entry - Updated all directory structure references ### What Works Now - ✅ Plugin manifest validates correctly - ✅ 10 protocol commands available as `/` slash commands - ✅ Marketplace.json updated to v2.2.1 - ✅ All files accessible via proper paths ### Agent Files Status The 6 agent markdown files are included in the `agents/` directory but not referenced in plugin.json. Users can manually reference them after installation. This will be addressed when the `agents` field is officially supported in Claude Code plugin schema. **Testing**: Plugin should now install without "invalid manifest file" error. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
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.
Resolved "invalid manifest file" error by simplifying plugin.json:
Changes
plugin.json Fixes
$schemafield (not supported in current Claude Code version)agentsfield from plugin.json (not yet in stable schema)Directory Structure
agents_md/toagents/(follows convention)agents/*.mdfor manual referencecommands/and are registered in plugin.jsonDocumentation Updates
What Works Now
/slash commandsAgent Files Status
The 6 agent markdown files are included in the
agents/directory but not referenced in plugin.json. Users can manually reference them after installation. This will be addressed when theagentsfield is officially supported in Claude Code plugin schema.Testing: Plugin should now install without "invalid manifest file" error.
🤖 Generated with Claude Code