(tmp_path)
| 102 | |
| 103 | |
| 104 | def test_no_frontmatter(tmp_path): |
| 105 | sd = _write_skill(tmp_path, "no-fm", frontmatter=None, body="# just a body\n") |
| 106 | result = validate_skill(sd) |
| 107 | assert not result.passed |
| 108 | assert any("frontmatter" in e.lower() for e in result.errors) |
| 109 | |
| 110 | |
| 111 | def test_malformed_yaml(tmp_path): |
nothing calls this directly
no test coverage detected