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

Function _write_skill

tests/unit/test_mcp_server.py:26–28  ·  view source on GitHub ↗
(tmp_path: Path, body: str = "# Safe skill")

Source from the content-addressed store, hash-verified

24
25
26def _write_skill(tmp_path: Path, body: str = "# Safe skill") -> Path:
27 (tmp_path / "SKILL.md").write_text(f"---\nname: mcp-test\n---\n{body}", encoding="utf-8")
28 return tmp_path
29
30
31async def test_run_scan_returns_structured_verdict(

Calls

no outgoing calls

Tested by

no test coverage detected