INNER CODE UNIT · Python
_identifier
kevinpbuckley/VibeUE · Content/Python/init_unreal.py:77
def _identifier(value):
"""Turn a skill/section name into a valid Python identifier fragment."""
return "".join(ch if ch.isalnum() else "_" for ch in value)
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: