migrate-from-intercom
/migrate-from-intercom
Przenosi projekt z Intercom na Gleap: usuwa SDK Intercom, instaluje Gleap i zamienia wywołania API w aplikacjach oraz po stronie serwera.
- Autor
- gleapsdk ↗
- Repozytorium
- agent-skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 12.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 7
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 2
Brak sygnałów. Repozytorium zmienione 12.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Przenosi projekt z Intercom na Gleap: usuwa SDK Intercom, instaluje Gleap i zamienia wywołania API w aplikacjach oraz po stronie serwera.
Oryginalny opis (EN)
Migrates projects from Intercom to Gleap. Detects Intercom SDK integration (JavaScript, iOS, Android, React Native, Flutter), removes it, installs the Gleap SDK, and replaces all Intercom API calls with Gleap equivalents. Also covers server-side REST API migration. Use when switching from Intercom to Gleap, replacing Intercom, or migrating away from Intercom.
Jak działa
- Detect Intercom
- API Key Resolution
- Workflow
- Mapping Files
- Important Notes
Podgląd SKILL.md
--- name: migrate-from-intercom description: Migrates projects from Intercom to Gleap. Detects Intercom SDK integration (JavaScript, iOS, Android, React Native, Flutter), removes it, installs the Gleap SDK, and replaces all Intercom API calls with Gleap equivalents. Also covers server-side REST API migration. Use when switching from Intercom to Gleap, replacing Intercom, or migrating away from Intercom. --- # Migrate from Intercom to Gleap Guides users through replacing Intercom with Gleap in their codebase. Covers client-side SDK swap and server-side API migration. ## Detect Intercom Search the codebase for Intercom integration. Use `Grep` to find: ### Package references - `package.json`: `@intercom/messenger-js-sdk`, `intercom-client`, `@intercom/intercom-react-native` - `Podfile`: `pod 'Intercom'` - `build.gradle`: `io.intercom.android:intercom-sdk` - `pubspec.yaml`: `intercom_flutter` - `composer.json`: `intercom/intercom-php` - `Gemfile`: `intercom-rails`, `intercom-ruby` ### Code patterns (client-side JavaScript — used by ALL web frameworks) - JavaScript: `Intercom(`, `window.intercomSettings`, `widget.intercom.io`, `@intercom/messenger-js-sdk` - iOS: `import Intercom`, `Intercom.setApiKey`, `Intercom.loginUser` - Android: `import com.intercom`, `Intercom.initialize`, `Intercom.client()` - React Native: `import Intercom from '@intercom/intercom-react-native'`, `IntercomModule` - Flutter: `import 'package:intercom_flutter'`, `Intercom.instance` - Server: `intercom-client`, `intercom-php`, `intercom-ruby`, `intercom-go`, `intercom-java`, `Intercom.Dotnet` Report all findings to the user before proceeding. ## API Key Resolution Before asking the user for their Gleap API key, check these locations in order: 1. **User provided it in the conversation** — use it directly 2. **`.env` file** in the project root — look for `GLEAP_API_KEY=...` 3. **Environment variable** — check if `GLEAP_API_KEY` is set via `echo $GLEAP_API_KEY` 4. **Not found** — ask the user (available at https://app.gleap.io > Project Settings > Security > API Key) When a key is found or provided, offer to save it to `.env` (and add `.env` to `.gitignore` if needed). ## Workflow 1. **Detect Intercom** using the patterns above. Report which platforms and files are affected. 2. **Confirm scope** with the user: which parts to migrate (client SDK, server API, or both). 3. **Resolve Gleap API key** using the API Key Resolution steps above. 4. **Read the mapping file** for the detected platform from this skill's directory. 5. **Remove Intercom SDK**: Uninstall packages, remove script tags, delete imports and configuration. 6. **Install Gleap SDK**: Follow the installation steps from the mapping file (or reference the `gleap-sdk-setup` skill if installed). 7. **Replace API calls**: Use the mapping tables to convert every Intercom call to its Gleap equivalent. Use the resolved API key in initialization code. 8. **Migrate server-side code** if applicable: Replace Intercom REST API calls with Gleap REST API calls. See `mapping-server-api.md`. 9. **Clean up**: Remove Intercom-specific config (API keys, app IDs, `intercomSettings`, push notification handlers). 10. **Verify**: Build and run the project. Search for any remaining `intercom` references. ## Mapping Files Read the appropriate file based on detected platform: - **JavaScript / Web**: `mapping-javascript.md` — also applies to all server-side web frameworks (Laravel, Django, Rails, ASP.NET, Spring Boot, Phoenix, etc.) since they all use the JavaScript SDK on the client side - **iOS (Swift / Objective-C)**: `mapping-ios.md` - **Android (Kotlin / Java)**: `mapping-android.md` - **React Native**: `mapping-react-native.md` - **Flutter**: `mapping-flutter.md` - **Server-side REST API**: `mapping-server-api.md` For projects using multiple platforms, read all relevant files. Common combinations: - **Web framework + server SDK** (e.g., Laravel with `intercom-php`, Rails with `intercom-ruby`): Use `mapping-javascript.md` for client-side and `mapping-server-api.md` for server-side - **React Native + server API**: Use `mapping-react-native.md` and `mapping-server-api.md` ## Important Notes - Intercom uses `app_id` + `api_key` (separate for iOS/Android). Gleap uses a single API key per project from https://app.gleap.io - Intercom's `boot()` combines initialization + user identification. In Gleap, these are separate: `initialize()` then `identify()` - Intercom's `shutdown()` = Gleap's `clearIdentity()` - Intercom's `update()` = Gleap's `updateContact()` - Intercom custom user attributes map to Gleap's `customData` object (max 35 keys, primitives only) - Intercom company data maps to Gleap's `companyId` + `companyName` fields in identify - Features without direct Gleap equivalent: product tours (`startTour`), tickets view (`showTicket`), news items (`showNews`). Note these to the user as requiring alternative approaches - Server-side: Intercom REST API uses `Bearer` token auth. Gleap uses `Api-Token` header (legacy) or `Bearer` + `Project` headers (v3 API)
Pliki w paczce (7)
- SKILL.md 5 KB
- mapping-android.md 4 KB
- mapping-flutter.md 4 KB
- mapping-ios.md 4 KB
- mapping-javascript.md 5 KB
- mapping-react-native.md 4 KB
- mapping-server-api.md 5 KB
Wersje
W bazie nie ma innych skilli o nazwie migrate-from-intercom.
Migawka bazy z 28.10.2026 · wersja paczki 44d4dcb4c201 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90gleap-sdk-setup
Integruje SDK Gleap z projektem: wykrywa platformę, instaluje bibliotekę, inicjalizuje ją i konfiguruje uprawnienia. - 90gleap
Obsługuje przestrzeń roboczą Gleap przez MCP: zgłoszenia wsparcia, rozmowy z klientami, prośby o funkcje, CRM i bazę wiedzy. - 100intercom-sdk-patterns
Stosuje produkcyjne wzorce SDK intercom-client dla TypeScript, przy implementacji integracji, refaktoryzacji i standardach kodowania wywołań API Intercom. - 100intercom-install-auth
Instaluje i konfiguruje uwierzytelnianie Intercom API przez tokeny dostępu lub OAuth i inicjalizuje SDK intercom-client w projekcie. - 100install-cli
Instaluje i uwierzytelnia Intercom CLI (@intercom/cli) do zarządzania przestrzeniami roboczymi Intercom z wiersza poleceń, dla ludzi i agentów AI. - 100intercom
Wywołuje natywne API Intercom przez Proxy API Apideck z zarządzanym uwierzytelnianiem Vault, z serviceId intercom, bez mapowania na zunifikowane API.