Skip to content

fix: #13 The frontmatter of every AI item is YAML a strict parser reads - #14

Merged
Natshah merged 1 commit into
1.0.xfrom
fix/13-frontmatter-strict-yaml
Nov 16, 2026
Merged

Natshah merged 1 commit into
1.0.xfrom
fix/13-frontmatter-strict-yaml

Conversation

@Natshah

@Natshah Natshah commented Nov 16, 2026

Copy link
Copy Markdown
Member

Closes #13

The description of the item below held : in a plain YAML value, which a strict parser reads as a second key and rejects. The clause is now set off with an em dash, as the other descriptions do; nothing else in the items changed.

  • ai/commands/sandboxes-try.md

tests/items.test.ts gains one test, "the frontmatter of every item is YAML a strict parser reads": for every agent, skill and command of the manifest, a plain value with : or # in it, or starting with a sign YAML keeps for itself, fails; a quoted value has to be closed. It fails on 1.0.x before the rewording and passes after. npm run lint clean; npm test: 13 pass, 0 fail.

Checked on a workspace with the changed file in place: --install --cli gemini writes the whole description, where the published item arrives with description: ''.

Not run: Gemini CLI, Codex and the other assistants themselves (signed out or not on the machine): what was checked is the file the workspace writes for them.

AI-Generated: Yes

Checkpoints

  • File an issue about this project
  • Addition/Change/Update/Fix to this project
  • Testing to ensure no regression
  • Automated unit/functional testing coverage
  • Developer Documentation support on feature change/addition
  • User Guide Documentation support on feature change/addition
  • UX/UI designer responsibilities
  • Accessibility and Readability
  • Reviewed by a human
  • Code review by maintainers
  • Full testing and approval
  • Credit contributors
  • Review with the product owner
  • Update Release Notes
  • Release

🤖 Generated with Claude Code

A description with ": " in a plain value is a second key to a YAML parser:
the item reached the other AI command-line assistants with an empty
description. Reworded, and a test reads the frontmatter the strict way.

AI-Generated: Yes
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@Natshah
Natshah merged commit 34b4882 into 1.0.x Nov 16, 2026
1 check passed
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.

The frontmatter of an AI item is not valid YAML: other AI CLIs get it with an empty description

1 participant