Create a single-skill directory with root SKILL.md.
(tmp_path: Path)
| 40 | |
| 41 | @pytest.fixture |
| 42 | def single_skill_dir(tmp_path: Path) -> Path: |
| 43 | """Create a single-skill directory with root SKILL.md.""" |
| 44 | (tmp_path / "SKILL.md").write_text( |
| 45 | "---\nname: my-skill\ndescription: A test skill\n---\n# My Skill\n", |
| 46 | encoding="utf-8", |
| 47 | ) |
| 48 | (tmp_path / "tool.py").write_text("# implementation\n", encoding="utf-8") |
| 49 | return tmp_path |
| 50 | |
| 51 | |
| 52 | @pytest.fixture |
nothing calls this directly
no outgoing calls
no test coverage detected