Skip to content

fix(skill): make kb-docs-add frontmatter valid YAML - #116

Merged
oto-macenauer-absa merged 1 commit into
masterfrom
fix/skill-frontmatter-yaml
Sep 30, 2026
Merged

oto-macenauer-absa merged 1 commit into
masterfrom
fix/skill-frontmatter-yaml

Conversation

@oto-macenauer-absa

Copy link
Copy Markdown
Collaborator

Fixes #115

Summary

  • skills/kb-docs-add/SKILL.md: the description contained onboarded repo: runs …; ": " is a mapping indicator inside a plain YAML scalar, so YAML-parsing agents rejected the skill (mapping values are not allowed in this context at line 2 column 829). Reworded to onboarded repo — runs ….
  • tests/skill.spec.js: new test top-level values are valid plain YAML scalars. The spec's line-based frontmatter parser splits on the first colon and accepted the broken value; the test now rejects ": ", " #", a trailing : and a leading indicator character. A heuristic, not a full YAML parser (the repo has no YAML dependency).

Test plan

  • npx playwright test tests/skill.spec.js — 32 passed

🤖 Generated with Claude Code

The description contained "repo: runs", and ": " is a mapping indicator
inside a plain scalar, so YAML-parsing consumers rejected the skill.
Reword it, and assert in skill.spec.js that every top-level value is a
valid plain scalar: the spec's line-based parser accepted it.

Fixes #115

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@oto-macenauer-absa
oto-macenauer-absa merged commit 6a337e4 into master Sep 30, 2026
16 of 22 checks passed
@oto-macenauer-absa
oto-macenauer-absa deleted the fix/skill-frontmatter-yaml branch September 30, 2026 12:38
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.

kb-docs-add SKILL.md frontmatter is not valid YAML

2 participants