Create a directory with 3 sub-skills, no root SKILL.md.
(tmp_path: Path)
| 26 | |
| 27 | @pytest.fixture |
| 28 | def 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 |
nothing calls this directly
no outgoing calls
no test coverage detected