INNER CODE UNIT · Python
close
kevinpbuckley/VibeUE · Content/Python/init_unreal.py:36
if close == -1:
return "", text.strip()
frontmatter = text[3:close]
body = text[close + 4:].lstrip("\r\n")
description = ""
for line in frontmatter.splitlines():
stripped = line.strip()
if stripped.startswith("description:"):
description = stripped[len("description:"):].strip().strip('"').strip("'")
break
return description, body
def _register_skill(class_suffix, description, instructions):
"""Create (or refresh) a registered UAgentSkill subclass with the given content."""
existing = _VIBEUE_SKILL_CLASSES.get(class_suffix)