Skip to content

fix(skills): quote databricks-app-design description; guard skill frontmatter#161

Merged
pkosiec merged 3 commits into
mainfrom
pkosiec/fix-apps-design-skill
Jun 18, 2026
Merged

fix(skills): quote databricks-app-design description; guard skill frontmatter#161
pkosiec merged 3 commits into
mainfrom
pkosiec/fix-apps-design-skill

Conversation

@pkosiec

@pkosiec pkosiec commented Jun 18, 2026

Copy link
Copy Markdown
Member

What

  • Quote the description in skills/databricks-app-design/SKILL.md. It was an unquoted YAML scalar containing a colon (...answers data questions: choosing genre...), which strict-YAML loaders (e.g. omnigents) reject with "mapping values are not allowed here", silently dropping the skill at load time. Every other skill with a colon in its description already quotes it.
  • Add check_skill_frontmatter to scripts/skills.py validate so any skill (stable or experimental) with missing or unquoted-colon description frontmatter fails CI. Closes the gap that let this through — only commands/ were checked before.

Verify

  • PyYAML 6.0.3 (the parser omnigents uses): fixed frontmatter parses; the old form raises the exact reported error.
  • python3 scripts/skills.py validate → clean; exits non-zero on the reverted bug.
  • Full test suite passes, incl. new SkillFrontmatterTest.

Manifest output is unchanged (the extractor strips outer quotes), so no regeneration is needed.

This pull request and its description were written by Isaac.

pkosiec added 3 commits June 18, 2026 09:40
…ntmatter

The databricks-app-design SKILL.md description was an unquoted YAML scalar containing a colon, so strict-YAML loaders (e.g. omnigents) rejected it with "mapping values are not allowed here" and silently dropped the skill at load time. Quote the value (matching every other skill that has a colon in its description).

Add check_skill_frontmatter to the validate flow so any skill (stable or experimental) with missing or unquoted-colon description frontmatter fails CI, closing the gap that let this through (only commands/ were checked before).

Co-authored-by: Isaac
…ml rationale

State directly why the guard uses a regex instead of yaml.safe_load (the package is stdlib-only; the protected CI runner has no pypi), and drop the sentence that just restated the if/elif chain. No behavior change.

Co-authored-by: Isaac
…agged)

Rounds out the SkillFrontmatterTest truth table and guards against the regex over-matching plain scalars. Previously only implicit via test_repo_skills_are_clean.

Co-authored-by: Isaac
@pkosiec pkosiec marked this pull request as ready for review June 18, 2026 07:53
@pkosiec pkosiec requested review from a team, lennartkats-db and simonfaltum as code owners June 18, 2026 07:53
@pkosiec pkosiec added this pull request to the merge queue Jun 18, 2026
Merged via the queue into main with commit 4df6864 Jun 18, 2026
1 check passed
@pkosiec pkosiec deleted the pkosiec/fix-apps-design-skill branch June 18, 2026 08:56
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.

2 participants