Command Palette

Search for a command to run...

Назад к скиллам
скилл № 43364

wf-doctor

Check weft template currency — drift of working copies vs the bundled canonical, and whether the plugin clone is behind upstream. Use only when user types…

БесплатноБез исполняемых скриптов
dioptxот dioptx★ 31 звезда на GitHub

Установить wf-doctor в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Weft Template Doctor

Report whether the user's templates are current. Git already covers project-local templates as repo files; this surfaces the gap git can't see — a working copy that has drifted from the plugin-bundled template it was derived from — plus whether the weft plugin's own git clone is behind upstream.

Instructions

  1. Run the currency check:

    python3 "${CLAUDE_PLUGIN_ROOT}/core/cli.py" doctor
    
  2. If --json is in $ARGUMENTS, emit raw JSON instead:

    python3 "${CLAUDE_PLUGIN_ROOT}/core/cli.py" doctor --json
    
  3. Read the output back to the user:

    • "plugin clone behind by N" → suggest git pull in the weft repo to refresh bundled templates.
    • Any drifted template → the working copy differs from the bundled canonical. Show its path and ask whether to reconcile (keep the local edits) or delete the copy to fall back to the canonical version.
    • All current and clone up to date → say everything's current; nothing to do.

Notes: read-only, no network. The plugin-clone "behind" count is only as fresh as the last git fetch, so a stale unknown/ok may just mean it hasn't fetched recently.

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

  1. 01Bash
  2. 02Read

FAQ

Что делает скилл wf-doctor?

Check weft template currency — drift of working copies vs the bundled canonical, and whether the plugin clone is behind upstream. Use only when user types /wf-doctor.

Как установить скилл wf-doctor?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл wf-doctor запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить wf-doctor с