Repository navigation
fix(plan-huge): replace colon-space in skill description that broke YAML parsing - #5
JesseKoldewijn wants to merge 1 commit into
Conversation
…AML parsing The plan-huge SKILL.md description contained 'plan-big: an abstract ...' inside an unquoted YAML scalar. A colon followed by a space cannot appear in a plain scalar, so frontmatter parsers reject the file: - pi reports '[Skill conflicts] Nested mappings are not allowed in compact mappings at line 2, column 14' on startup - GitHub's markdown renderer fails with 'mapping values are not allowed in this context at line 2 column 113' Replace the colon with an em-dash so the description stays unquoted, consistent with the other plan-* skills. No meaning change.
|
Hey @MaxInGaussian just a friendly nudge for this small issue that causes for some formatting warnings after the update of yesterday, cheers! 🤙 |
|
Hi Jesse — thank you for this, and for such a clear report. Your diagnosis is exactly right, and the reproduction made it easy to confirm. The One note on verification, offered only to add to yours: I've applied the identical one-character change directly on the latest Really appreciate you taking the time to report this properly, with a reproduction and a minimal fix. That's exactly the kind of contribution that makes a project better. Please do keep an eye on the repo — reports like this are always welcome. |
The unquoted frontmatter description contained "plan-big: an abstract ...", and a colon followed by a space is invalid inside a plain YAML scalar. Frontmatter parsers rejected the file at load time instead of at build time: pi reported "Nested mappings are not allowed in compact mappings" on startup, and GitHub's markdown renderer failed the same file with "mapping values are not allowed in this context". Replace the colon with an em dash so the description stays unquoted, matching the other plan-* skills. No wording or meaning change. Neither npm run validate nor npm test fails without this fix -- both pass on the broken description -- so the breakage was only observable when a host loaded the skill. Verified by parsing the frontmatter as a YAML reader does: description is now a plain string with no embedded colon-space. Reported in #5 (closed unmerged, branch based on 0.8.5); the same one-character edit is applied here on 0.9.1.
|
No problem at all man! 🤙 |
Problem
skills/plan-huge/SKILL.mdfails YAML frontmatter parsing on pi 0.8.5. The description's unquoted scalar containsplan-big: an abstract ...— a colon followed by a space, which is invalid inside a plain YAML scalar.Observed on pi startup:
GitHub's markdown renderer rejects the same file:
Column 113 is exactly the
plan-big:colon.Fix
Replace the colon with an em-dash:
The description stays an unquoted plain scalar, consistent with the other
plan-*skills (none of which contain:in their descriptions). No wording or meaning change.Verification
npm run validate→validated 7 skills, 4 references, 2 agents, 15 tools, 2 docs, readme 12 checksnpm test→ 741 pass, 0 failyamlpackage;name: plan-hugeand description text are otherwise intactReproduced on pi-plans 0.8.5 installed via
~/.pi/agent/npm/node_modules.