← ClaudeAtlas

wezterm-runtime-synclisted

Synchronize this repository's WezTerm runtime. Reuse a valid cached target from repo-root `.sync-target` or `WEZTERM_SYNC_TARGET` when available; otherwise list candidate homes, confirm one with the user, and run the skill-owned sync script.
yunsii/wezdeck · ★ 4 · AI & Automation · score 77
Install: claude install-skill yunsii/wezdeck
# Wezterm Runtime Sync Use this skill when the task is to sync runtime files. Reuse a valid cached target when available; otherwise confirm the target home before writing anything. The scripts under `skills/wezterm-runtime-sync/scripts/` are the source of truth for sync prompting, target discovery, and prompt-format regression checks. ## Workflow 1. Run from the repository root, or set `WEZDECK_REPO=/absolute/path/to/repo` (legacy `WEZTERM_CONFIG_REPO` still accepted) before invoking the skill scripts. 2. If repo-root `.sync-target` or `WEZTERM_SYNC_TARGET` already points at an existing directory, run `skills/wezterm-runtime-sync/scripts/sync-runtime.sh` with no extra arguments. 3. If there is no valid cached target, run `skills/wezterm-runtime-sync/scripts/sync-runtime.sh --list-targets` to print candidate user home directories. 4. Present the candidates to the user and ask which path should be used. Accept either one of the listed paths or another absolute path the user explicitly provides. 5. After the user confirms a target, run `skills/wezterm-runtime-sync/scripts/sync-runtime.sh --target-home /absolute/path`. 6. Summarize the sync result and mention the chosen target path. ## Rules - Do not ask the user to type into the script's interactive prompt. - If a valid cached target exists and the user did not ask to change it, sync immediately with no extra confirmation step. - If the cache is missing, invalid, or the user wants to change targets, use the explicit list-a