MCPcopy
hub / github.com/agentskills/agentskills / test_missing_description

Function test_missing_description

skills-ref/tests/test_parser.py:116–125  ·  view source on GitHub ↗
(tmp_path)

Source from the content-addressed store, hash-verified

114
115
116def test_missing_description(tmp_path):
117 skill_dir = tmp_path / "my-skill"
118 skill_dir.mkdir()
119 (skill_dir / "SKILL.md").write_text("""---
120name: my-skill
121---
122Body
123""")
124 with pytest.raises(ValidationError, match="Missing required field.*description"):
125 read_properties(skill_dir)
126
127
128def test_find_skill_md_prefers_uppercase(tmp_path):

Callers

nothing calls this directly

Calls 1

read_propertiesFunction · 0.90

Tested by

no test coverage detected