Check if a directory is a valid skill directory. Args: path: Path to check Returns: True if directory contains SKILL.md file
(self, path: Path)
| 90 | return all_skills |
| 91 | |
| 92 | def _is_skill_directory(self, path: Path) -> bool: |
| 93 | """ |
| 94 | Check if a directory is a valid skill directory. |
| 95 | |
| 96 | Args: |
| 97 | path: Path to check |
| 98 | |
| 99 | Returns: |
| 100 | True if directory contains SKILL.md file |
| 101 | """ |
| 102 | skill_md = path / 'SKILL.md' |
| 103 | return skill_md.exists() and skill_md.is_file() |
| 104 | |
| 105 | def _load_single_skill(self, skill_dir: Path) -> Optional[SkillSchema]: |
| 106 | """ |
no outgoing calls
no test coverage detected