(tmp_path)
| 109 | |
| 110 | |
| 111 | def test_malformed_yaml(tmp_path): |
| 112 | sd = _write_skill(tmp_path, "bad-yaml", frontmatter="name: : : bad\n - oops\n[") |
| 113 | result = validate_skill(sd) |
| 114 | assert not result.passed |
| 115 | assert any("YAML" in e or "yaml" in e for e in result.errors) |
| 116 | |
| 117 | |
| 118 | def test_frontmatter_not_mapping(tmp_path): |
nothing calls this directly
no test coverage detected