(tmp_path)
| 150 | |
| 151 | |
| 152 | def test_name_invalid_underscore(tmp_path): |
| 153 | sd = tmp_path / "bad_name" |
| 154 | sd.mkdir() |
| 155 | (sd / "SKILL.md").write_text( |
| 156 | "---\nname: bad_name\ndescription: A nice long description here.\n---\n" |
| 157 | ) |
| 158 | result = validate_skill(sd) |
| 159 | assert not result.passed |
| 160 | assert any("kebab-case" in e for e in result.errors) |
| 161 | |
| 162 | |
| 163 | def test_name_missing(tmp_path): |
nothing calls this directly
no test coverage detected