MCPcopy Index your code
hub / github.com/MiniMax-AI/Mini-Agent / create_test_skill

Function create_test_skill

tests/test_skill_tool.py:18–28  ·  view source on GitHub ↗

Create a test skill

(skill_dir: Path, name: str, description: str, content: str)

Source from the content-addressed store, hash-verified

16
17
18def create_test_skill(skill_dir: Path, name: str, description: str, content: str):
19 """Create a test skill"""
20 skill_file = skill_dir / "SKILL.md"
21 skill_content = f"""---
22name: {name}
23description: {description}
24---
25
26{content}
27"""
28 skill_file.write_text(skill_content, encoding="utf-8")
29
30
31@pytest.fixture

Callers 3

skill_loaderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected