MCPcopy Create free account
hub / github.com/NVIDIA/SkillSpector / multi_skill_dir

Function multi_skill_dir

tests/test_multi_skill.py:28–38  ·  view source on GitHub ↗

Create a directory with 3 sub-skills, no root SKILL.md.

(tmp_path: Path)

Source from the content-addressed store, hash-verified

26
27@pytest.fixture
28def multi_skill_dir(tmp_path: Path) -> Path:
29 """Create a directory with 3 sub-skills, no root SKILL.md."""
30 for name in ("weather-lookup", "email-sender", "file-manager"):
31 skill_dir = tmp_path / name
32 skill_dir.mkdir()
33 (skill_dir / "SKILL.md").write_text(
34 f"---\nname: {name}\ndescription: A {name} skill\n---\n# {name}\n",
35 encoding="utf-8",
36 )
37 (skill_dir / "tool.py").write_text(f"# {name} implementation\n", encoding="utf-8")
38 return tmp_path
39
40
41@pytest.fixture

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected