Safe cc10x upgrade that preserves local modifications.
Stashes diffs, pulls upstream, rebuilds cache, rebases patches.
Use this skill when: updating cc10x, upgrading, pulling latest cc10x,
syncing plugin, refreshing cache, or checking for new versions.
Triggers: update cc10x, upgrade cc10x, pull cc10x, sync plugin, refresh cc10x,
check for updates, new version, update plugin, upgrade plugin.
Instalação
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
If diffs found → save to $BACKUP_DIR/patches/ as .patch files. Report which files have local modifications.
Also check for user-added files (in cache but not in marketplace): comm -23 <(cd "$CACHE_ROOT" && find . -type f | sort) <(cd "$MARKETPLACE_ROOT/plugins/cc10x" && find . -type f | sort)
Copy user-added files to $BACKUP_DIR/user-files/
Gate: If local modifications found, ask user: "Stash and continue? Your changes will be rebased after the pull."
Phase 3: Pull & Rebuild Cache
Git pull: cd "$MARKETPLACE_ROOT" && git pull origin main
Read new version from updated plugin.json
Create new cache: mkdir -p "$CACHE_ROOT.new" then copy all files from marketplace
Update registry: update cc10x@cc10x version to new version