skill-creator: recommend quoting description for strict YAML parsers#964
Open
jarrieta86 wants to merge 1 commit intoanthropics:mainfrom
Open
skill-creator: recommend quoting description for strict YAML parsers#964jarrieta86 wants to merge 1 commit intoanthropics:mainfrom
jarrieta86 wants to merge 1 commit intoanthropics:mainfrom
Conversation
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.
Problem
SKILL.md files authored following
skill-creatoroften end up with an unquoteddescription:value containing:(e.g.Use when: ...,X: Y). Claude Code's YAML parser is lenient and accepts this, but stricter parsers (Codex CLI) reject the file withmapping values are not allowed in this context, and the skill is silently skipped at load time.In our repo, 6 skills broke this way before we noticed, because nothing in the authoring loop surfaces the incompatibility.
Change
Add a short "Frontmatter YAML" subsection under "Anatomy of a Skill" that:
name/descriptionare YAML, and parsers differ in strictness.descriptionin single quotes.'').Why in skill-creator
This is the skill Claude follows when authoring new skills, so the guidance has to live here to prevent the footgun from being reintroduced by future runs.