(tmp_path)
| 139 | |
| 140 | |
| 141 | def test_name_invalid_uppercase(tmp_path): |
| 142 | sd = tmp_path / "BadName" |
| 143 | sd.mkdir() |
| 144 | (sd / "SKILL.md").write_text( |
| 145 | "---\nname: BadName\ndescription: A nice long description here.\n---\n" |
| 146 | ) |
| 147 | result = validate_skill(sd) |
| 148 | assert not result.passed |
| 149 | assert any("kebab-case" in e for e in result.errors) |
| 150 | |
| 151 | |
| 152 | def test_name_invalid_underscore(tmp_path): |
nothing calls this directly
no test coverage detected