(tmp_path)
| 184 | |
| 185 | |
| 186 | def test_description_too_long(tmp_path): |
| 187 | long_desc = "x" * (DESCRIPTION_MAX_CHARS + 1) |
| 188 | sd = _write_skill( |
| 189 | tmp_path, |
| 190 | "long-desc", |
| 191 | frontmatter=f"name: long-desc\ndescription: {long_desc}", |
| 192 | ) |
| 193 | result = validate_skill(sd) |
| 194 | assert not result.passed |
| 195 | assert any("description" in e and "chars" in e for e in result.errors) |
| 196 | |
| 197 | |
| 198 | def test_description_too_short_is_warning_not_error(tmp_path): |
nothing calls this directly
no test coverage detected