INNER CODE UNIT · Python
skill_directories
zhinkgit/embeddedskills · .github/maintenance/repo_checks.py:137
def skill_directories(root: Path) -> list[str]:
return sorted(
path.name
for path in root.iterdir()
if path.is_dir() and (path / "SKILL.md").is_file()
)
def check_i18n_entrypoints(root: Path) -> list[str]:
errors: list[str] = []
pairs = [
(root / "README.md", root / "README.en.md"),
(
root / "docs" / "getting-started.md",
root / "docs" / "getting-started.en.md",
),
]
for chinese, english in pairs: