Skip to content

Remove $schema key from Claude plugin manifest - #307

Merged
blader merged 1 commit into
blader:mainfrom
devilliersdutoit:fix/plugin-manifest-schema-key
Oct 28, 2026
Merged

blader merged 1 commit into
blader:mainfrom
devilliersdutoit:fix/plugin-manifest-schema-key

Conversation

@devilliersdutoit

Copy link
Copy Markdown
Contributor

Summary

  • Remove the top-level $schema key from .claude-plugin/plugin.json.

  • The Claude Agent SDK does not recognize this key. Each time the skill loads, it shows this warning:

    Plugin 'humanizer' has unrecognized key in plugin.json: '$schema' (stripped — the SDK ignores unknown top-level fields)

  • No tool reads the key, so the manifest works the same without it. marketplace.json keeps its $schema key because it does not cause a warning.

Validation

  • python scripts/validate-package.py: Humanizer package v3.1.0 is valid
  • claude plugin validate .: passed
  • claude plugin validate .claude-plugin/plugin.json: passed
  • git diff --check: clean

Notes

  • claude plugin validate passes with or without the key. It does not catch the warning, which comes from the SDK loader.
  • No CHANGELOG.md entry. 3.1.0 is already released, and a new heading needs a version bump, which is your call.

🤖 Generated with Claude Code

The Claude Agent SDK does not recognize a top-level $schema key in
plugin.json. It strips the key and shows a warning each time the
skill loads. No tool reads the key, so removing it changes nothing
else.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@devilliersdutoit

Copy link
Copy Markdown
Contributor Author

Hi @blader, a friendly nudge on this one. It removes one line from .claude-plugin/plugin.json. That line triggers this warning each time the skill loads through the Claude Agent SDK: Plugin 'humanizer' has unrecognized key in plugin.json: '$schema'. CI passes and the branch still merges cleanly. Let me know if you want any changes.

@blader
blader merged commit 0ef9fe5 into blader:main Oct 28, 2026
1 check passed
ferr079 added a commit to ferr079/humanizer-fr that referenced this pull request Oct 30, 2026
Claude Code ne reconnaît pas cette clé et affiche un avertissement à
chaque chargement. Même correctif que blader/humanizer#307.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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