Strip non-canonical keys from SKILL.md frontmatter#13
Open
bryan-anthropic wants to merge 1 commit into
Open
Conversation
Remove license: and metadata: blocks from skills/ddsetup/, skills/ddconfig/, and skills/ddtoolsets/ SKILL.md frontmatter. These keys aren't part of the Claude skill schema and trip some loaders that enforce canonical-keys-only. Provenance is unchanged — license info is captured in LICENSE + NOTICE at the repo root, and author/version live in .claude-plugin/plugin.json.
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.
The three
skills/*/SKILL.mdfiles currently carrylicense:andmetadata:keys in their YAML frontmatter:The Claude skill schema recognizes a small set of canonical keys (
name,description,allowed-tools,user-invocable,argument-hint). Additional keys likelicense:andmetadata:aren't part of the schema, and some validators in the ecosystem reject them on load.We observed this rejecting on a recent direct upload of the plugin to one of the marketplace surfaces. Stripping the non-canonical keys lets the plugin load cleanly across all install paths, including direct zip upload and URL-source ingestion.
Per-skill provenance (license, author, version) is already captured in
LICENSE,NOTICE, and.claude-plugin/plugin.jsonat the repo root, so no information is lost.Diff
3 files, 12 deletions — only the
license:line and the 3-linemetadata:block from each of:skills/ddsetup/SKILL.mdskills/ddconfig/SKILL.mdskills/ddtoolsets/SKILL.mdSkill content and
allowed-toolsare unchanged.