add choose skills function

This commit is contained in:
kuangji
2026-05-19 13:22:25 +08:00
parent 1e20f84257
commit 6661f3e361
6 changed files with 118 additions and 10 deletions

View File

@@ -31,7 +31,7 @@ def _front_matter_value(content: str, key: str) -> str | None:
return None
def load_skill_catalog(root: Path | str = Path("GJB438C-2021_prd_skills")) -> list[Skill]:
def load_skill_catalog(root: Path | str = Path("skills") / "GJB438C-2021_prd_skills") -> list[Skill]:
root_path = Path(root)
index_path = root_path / "index.md"
skills: list[Skill] = []