from __future__ import annotations import shutil from pathlib import Path ROOT = Path(__file__).resolve().parents[1] SOURCE = ROOT / "skills" / "technical-visualizer" TARGETS = [ ROOT / ".agents" / "skills" / "technical-visualizer", ROOT / ".claude" / "skills" / "technical-visualizer", ] def main() -> int: for target in TARGETS: if target.exists(): shutil.rmtree(target) shutil.copytree(SOURCE, target) print(f"SYNCED {target.relative_to(ROOT)}") return 0 if __name__ == "__main__": raise SystemExit(main())