Files
pproenca 44d64bf13a Use js-yaml for SKILL.md frontmatter validation
The hand-rolled regex parser in scripts/skills-ref silently mishandled
folded block scalars (only the `>` marker was captured, never the body)
and inline YAML comments (everything after `# ` leaked into the value).
Three skills already had descriptions over Anthropic's 1024-char limit
without CI catching them.

- Add js-yaml@4.1.0 and a thin scripts/skills-ref-parse.js helper that
  exposes parse/check-yaml/read-properties/to-prompt.
- Replace the four hand-rolled YAML blocks in scripts/skills-ref with
  calls to the helper.
- CI now runs `npm install` and the test suite before validate-all.
- Trim effect-ts, marketplace-pre-member-personalisation, and
  marketplace-recsys-feature-engineering descriptions under 1024 chars.
- Add regression fixtures for folded block scalars over 1024 chars and
  for inline-comment stripping.
2026-05-11 10:57:27 +01:00
..