A directory with root SKILL.md AND sub-skill SKILL.md files.
(tmp_path: Path)
| 51 | |
| 52 | @pytest.fixture |
| 53 | def nested_with_root(tmp_path: Path) -> Path: |
| 54 | """A directory with root SKILL.md AND sub-skill SKILL.md files.""" |
| 55 | (tmp_path / "SKILL.md").write_text( |
| 56 | "---\nname: parent-skill\n---\n# Parent\n", |
| 57 | encoding="utf-8", |
| 58 | ) |
| 59 | sub = tmp_path / "sub-skill" |
| 60 | sub.mkdir() |
| 61 | (sub / "SKILL.md").write_text( |
| 62 | "---\nname: sub-skill\n---\n# Sub\n", |
| 63 | encoding="utf-8", |
| 64 | ) |
| 65 | return tmp_path |
| 66 | |
| 67 | |
| 68 | class TestDetectSkills: |
nothing calls this directly
no outgoing calls
no test coverage detected