Skip to content

test(check): enforce skill frontmatter metadata - #327

Open
nyldn wants to merge 1 commit into
anthropics:mainfrom
nyldn:fix/skill-frontmatter-regression-guard
Open

test(check): enforce skill frontmatter metadata#327
nyldn wants to merge 1 commit into
anthropics:mainfrom
nyldn:fix/skill-frontmatter-regression-guard

Conversation

@nyldn

@nyldn nyldn commented Aug 24, 2026

Copy link
Copy Markdown

Summary

  • validate that every plugin SKILL.md has YAML frontmatter with name and description
  • add subprocess regression coverage for valid metadata, missing delimiters, and missing required keys
  • run scripts/check.py and its tests in the existing plugin-validation workflow

Why

#243 fixed the 41 skill files originally changed in #106. The remaining gap is regression prevention: claude plugin validate reports missing skill frontmatter as a warning but exits successfully, so the current workflow does not block it.

This extracts that still-useful guard from #106 without rewriting the already-fixed skill files.

Verification

  • uv run --with pyyaml --with pytest python -m pytest scripts/tests/ -q — 4 passed
  • uv run --with pyyaml python scripts/check.py — 200 files checked, 0 issues
  • claude plugin validate — marketplace and all 19 plugin manifests passed (the marketplace retains its existing missing-description warning)

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.

1 participant