finish app develop

This commit is contained in:
kuangji
2026-05-18 15:50:43 +08:00
parent 8f23a841f0
commit 17decab2fc
20 changed files with 2447 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
from pathlib import Path
from app.skill_loader import load_skill_catalog
def test_load_skill_catalog_reads_index_and_skill_files() -> None:
skills = load_skill_catalog(Path("GJB438C-2021_prd_skills"))
assert len(skills) >= 30
skill_names = {skill.slug for skill in skills}
assert "gjb438c-software-requirements-spec-structure" in skill_names
target = next(skill for skill in skills if skill.slug == "gjb438c-software-requirements-spec-structure")
assert "软件需求规格说明" in target.content
assert target.path.name == "SKILL.md"