Command Palette

Search for a command to run...

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

update

Update the motion-creative plugin to the latest version from GitHub. Pulls latest changes and refreshes the local cache so new skills and fixes take effect…

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

Установить update в Claude Code и Claude Desktop

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

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

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

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

Update Motion Creative Plugin

Pull the latest version of the motion-creative plugin from GitHub and refresh the local cache.


Step 1: Locate Plugin Paths

Find the marketplace clone and cache directories:

MARKETPLACE_DIR="$HOME/.claude/plugins/marketplaces/motion-creative"
CACHE_BASE="$HOME/.claude/plugins/cache/motion-creative/motion-creative"

If $MARKETPLACE_DIR doesn't exist, tell the user the plugin isn't installed via marketplace and stop.

Step 2: Check Current State

# Current cached version
cat "$CACHE_BASE"/*/. claude-plugin/plugin.json 2>/dev/null | jq -r '.version'

# Current marketplace commit
git -C "$MARKETPLACE_DIR" rev-parse --short HEAD

Step 3: Pull Latest

git -C "$MARKETPLACE_DIR" pull origin main --ff-only

If the pull fails (e.g., network error, dirty state), report the error and stop. Do not force-reset.

Step 4: Refresh Cache

Copy the updated plugin files from the marketplace clone into the cache:

# Find the active cache version directory
INSTALL_DIR=$(ls -d "$CACHE_BASE"/*/ 2>/dev/null | head -1)

# Sync plugin contents (skills, config, MCP server)
rsync -a --delete "$MARKETPLACE_DIR/Plugin/" "$INSTALL_DIR/"

rsync --delete ensures removed files don't linger in the cache. The source is the Plugin/ directory from the repo — it contains .claude-plugin/, .mcp.json, skills/, and any other plugin files.

Step 5: Report

Show the user:

  1. Version: previous version -> new version (read from the updated plugin.json)
  2. Changes: git -C "$MARKETPLACE_DIR" log --oneline <old-sha>..HEAD to show what changed
  3. Action needed: "Restart your Claude Code session or run /reload-plugins for changes to take effect."

If already up to date (no new commits), say so: "You're on the latest version (vX.Y.Z)."

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

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

  1. 01Bash
  2. 02Read

FAQ

Что делает скилл update?

Update the motion-creative plugin to the latest version from GitHub. Pulls latest changes and refreshes the local cache so new skills and fixes take effect. Use when: "update plugin", "get latest version", "refresh plugin", "update motion creative", "check for updates".

Как установить скилл update?

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

Скилл update запускает скрипты?

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

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

Сравнить update с