Skip to content

Fix plugin manifest validation errors (v2.2.1)#2

Merged
laird merged 1 commit into
masterfrom
claude/check-plugin-compatibility-011CUTm1Qx5WfgaCEX8UqR6u
Oct 25, 2025
Merged

Fix plugin manifest validation errors (v2.2.1)#2
laird merged 1 commit into
masterfrom
claude/check-plugin-compatibility-011CUTm1Qx5WfgaCEX8UqR6u

Conversation

@laird

@laird laird commented Oct 25, 2025

Copy link
Copy Markdown
Owner

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

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>
@laird laird merged commit d55452d into master Oct 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants