INNER CODE UNIT · Python

close

kevinpbuckley/VibeUE · scripts/check_skills_consistency.py:50

    if close == -1:
        return None
    for line in text[3:close].splitlines():
        stripped = line.strip()
        if stripped.startswith("description:"):
            return stripped[len("description:"):].strip().strip('"').strip("'")
    return None


def main():
    errors = []

    if not DISPATCHER.is_file():
        print(f"FATAL: dispatcher not found at {DISPATCHER}", file=sys.stderr)
        return 1

    routed = dispatcher_routed_slugs(DISPATCHER.read_text(encoding="utf-8"))
    packs = {p.name for p in SKILLS_DIR.iterdir() if (p / "SKILL.md").is_file()}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…