fix(skills): make stash-managed-platforms frontmatter valid YAML - #954
Open
coderdan wants to merge 1 commit into
Open
fix(skills): make stash-managed-platforms frontmatter valid YAML#954coderdan wants to merge 1 commit into
coderdan wants to merge 1 commit into
Conversation
The description was an unquoted YAML scalar containing ": " ("...guards
that break installs: command-time ceilings..."), which is invalid — a
plain scalar can't hold a colon-space. Every consumer that parses the
frontmatter throws on it.
cipherstash.com mirrors these skills at build time via the marketing
app's prebuild step, so this took down that site's deploys on every
branch, not just the one that touched skills.
Rewrites the value as a folded block scalar, which handles both the
colons and the embedded double quotes. The parsed string is byte-for-byte
what it was.
Closes CIP-3900
Claude-Session: https://claude.ai/code/session_01HnNBVu5xeEQ8AdVgLxkKWL
|
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.
skills/stash-managed-platforms/SKILL.mdhas an unquoteddescription:containing::A plain YAML scalar can't hold a colon-space, so anything parsing this frontmatter throws:
cipherstash.com mirrors these skills at build time (the marketing app's
prebuildrunsgenerate-agent-skills.mjsagainstcipherstash/stack@main), so this broke that site's deploys on every branch, not only ones touching skills. It surfaced on an unrelated dashboard PR.Rewritten as a folded block scalar (
>-), which is safe for both the colons and the embedded"version too new"quotes. The parsed string is byte-for-byte identical to before — verified against the currentmainfile:All 14 skills now parse;
stash-managed-platformswas the only broken one.Closes CIP-3900
https://claude.ai/code/session_01HnNBVu5xeEQ8AdVgLxkKWL