INNER CODE UNIT · Python
_register_vibeue_skills
kevinpbuckley/VibeUE · Content/Python/init_unreal.py:82
def _register_vibeue_skills():
if not _SKILLS_DIR.is_dir():
unreal.log_warning("VibeUE: Skills directory not found at {}".format(_SKILLS_DIR))
return
count = 0
for skill_dir in sorted(p for p in _SKILLS_DIR.iterdir() if p.is_dir()):
skill_name = skill_dir.name
skill_md = skill_dir / "SKILL.md"
if not skill_md.is_file():
continue
try:
description, body = _parse_frontmatter(skill_md.read_text(encoding="utf-8"))
_register_skill(_identifier(skill_name), description, body)
count += 1
# Register sibling sub-docs (deep reference material) as their own skills.