Create a test skill
(skill_dir: Path, name: str, description: str, content: str)
| 16 | |
| 17 | |
| 18 | def 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"""--- |
| 22 | name: {name} |
| 23 | description: {description} |
| 24 | --- |
| 25 | |
| 26 | {content} |
| 27 | """ |
| 28 | skill_file.write_text(skill_content, encoding="utf-8") |
| 29 | |
| 30 | |
| 31 | @pytest.fixture |
no outgoing calls
no test coverage detected