Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

capgo-cloud-migration

БесплатноБез исполняемых скриптовНе проверен

Guides the agent through migrating an existing Capacitor project from Capgo to Capawesome Cloud. Detects Capgo usage (the @capgo/capacitor-updater plugin…

capawesome-teamот capawesome-team★ 56 звёзд на GitHub

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

Capgo Cloud Migration

Migrate an existing Capacitor project from Capgo to Capawesome Cloud.

Prerequisites

  1. A Capacitor 6, 7, or 8 app currently using Capgo for live updates.
  2. Node.js 18+ and npm installed.
  3. Access to the project's source code repository.
  4. A Capawesome Cloud account and organization.

General Rules

  • Before running any @capawesome/cli command for the first time, run it with the --help flag to review all available options.
  • Do not remove Capgo configuration, packages, or signing keys until the corresponding Capawesome Cloud feature is fully set up and verified.
  • Determine the Capacitor version from package.json (@capacitor/core) before making any changes — it affects which plugin version and update strategy to use.
  • The Capgo app ID is a native bundle ID (e.g. com.example.app), while the Capawesome Cloud app ID is a UUID. Never copy the Capgo app ID into the Capawesome configuration.

MCP Server

The Capawesome MCP server serves the current Capawesome documentation, so it is always ahead of the guidance bundled with this skill. With an API token it also exposes the Capawesome Cloud management API.

  • If the Capawesome MCP tools are available, call search_docs for the topic and read the matching page with get_doc_page before applying the guidance below. Where the two disagree, follow the documentation. The cloud_* tools can carry out the Capawesome Cloud steps in this skill directly — creating apps, triggering builds, deploying to channels and stores, rolling back, and diagnosing failed jobs — as an alternative to the Capawesome CLI.
  • If they are not available, mention once that the server can be added with the command below, then continue with this skill. Never block on it.
claude mcp add --transport http capawesome "https://mcp.capawesome.io/mcp"

The documentation tools need no account and no token. See the capawesome-mcp skill for full setup, including the Capawesome Cloud tools.

Procedures

Step 1: Detect Capgo Usage

Scan the project to determine which Capgo features are in use.

1.1 Check for the Capgo Updater Plugin

Search for these signals:

  1. @capgo/capacitor-updater in package.json (dependencies or devDependencies).
  2. A CapacitorUpdater key inside the plugins object in capacitor.config.ts or capacitor.config.json.
  3. Imports of @capgo/capacitor-updater in TypeScript/JavaScript source files.

If any signal is found, mark Live Updates as in use.

Record the current configuration values from the CapacitorUpdater config (all optional):

  • appId (Capgo app ID, a bundle ID like com.example.app)
  • autoUpdate (true, false, 'off', 'atBackground', 'atInstall', 'onLaunch', 'always', or 'onlyDownload'; default true)
  • directUpdate (true, 'atInstall', 'onLaunch', or 'always'; default false)
  • defaultChannel
  • appReadyTimeout (milliseconds; default 10000)
  • autoDeletePrevious (default true)
  • publicKey (indicates end-to-end encryption is in use)
  • periodCheckDelay (seconds)
  • responseTimeout (seconds; default 20)
  • updateUrl / statsUrl / channelUrl (indicates a self-hosted Capgo backend)
  • autoSplashscreen (default false)

1.2 Check for the Capgo CLI in CI/CD

Search for these signals:

  1. @capgo/cli in package.json (usually devDependencies).
  2. capgo or @capgo/cli commands (e.g. bundle upload, channel set) in CI/CD configuration files (e.g., .github/workflows/*.yml, .gitlab-ci.yml, bitrise.yml, Jenkinsfile, azure-pipelines.yml) and npm scripts.
  3. A CAPGO_API_KEY (or similar) secret referenced in CI/CD files.

If any signal is found, mark CI/CD as in use and record every Capgo CLI command with its options.

1.3 Check for Code Signing / Encryption

Search for these signals:

  1. .capgo_key_v2 or .capgo_key_v2.pub files in the project root (created by npx @capgo/cli key create).
  2. A publicKey value in the CapacitorUpdater config.
  3. --key-v2 or --key-data-v2 flags on bundle upload commands in CI/CD.

If any signal is found, mark Code Signing as in use.

1.4 Check for Capgo Native Builds

Search for capgo build commands (e.g. build request, build credentials) in CI/CD files or npm scripts. If found, mark Native Builds as in use.

1.5 Record Channels

List the existing Capgo channels so they can be recreated in Capawesome Cloud:

npx @capgo/cli channel list <CAPGO_APP_ID>

If the command fails (e.g. no API key available), ask the user to list their channels from the Capgo Console instead.

1.6 Present Findings

Present the detected features (Live Updates, CI/CD, Code Signing, Native Builds) and recorded configuration to the user. Ask the user to confirm which features to migrate.

Step 2: Set Up Capawesome Cloud

2.1 Authenticate

npx @
Полный SKILL.md на GitHub

Установить capgo-cloud-migration в Claude Code и Claude Desktop

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

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

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

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

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

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/api-mapping.md

FAQ

Что делает скилл capgo-cloud-migration?

Guides the agent through migrating an existing Capacitor project from Capgo to Capawesome Cloud. Detects Capgo usage (the @capgo/capacitor-updater plugin, CapacitorUpdater configuration, and @capgo/cli commands in CI/CD) and provides step-by-step migration: replacing the plugin with @capawesome/capacitor-live-update, mapping configuration options and API methods, migrating update strategies, channels, code signing, and CI/CD pipelines. References the capawesome-cloud skill for detailed Capawesome Cloud setup procedures. Do not use for setting up Capawesome Cloud from scratch without an existing Capgo project, for migrating from Ionic Appflow (use the ionic-appflow-migration skill instead), or for non-Capacitor mobile frameworks.

Как установить скилл capgo-cloud-migration?

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

Скилл capgo-cloud-migration запускает скрипты?

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

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

Сравнить capgo-cloud-migration с