К основному содержанию
скилл CX Codex

mobile-apps-create — скилл для Claude Code: запуск и установка

Маршрутизирует разработку нативных мобильных приложений Salesforce на Swift и Kotlin, разделяя задачи между Mobile SDK и Agentforce SDK.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add forcedotcom/sf-skills --skill mobile-apps-create -a claude-code
Открыть на GitHub

Что делает mobile-apps-create

Скилл служит точкой входа для нативной мобильной разработки под iOS и Android в экосистеме Salesforce. Он сам не пишет прикладной код, а определяет стек и передаёт задачу дочерним скиллам. Разделение идёт по двум веткам: Salesforce Mobile SDK для авторизации, синхронизации MobileSync и офлайн-базы SmartStore либо Agentforce SDK для внедрения диалогового интерфейса и агентов.

Если приложению требуются обе подсистемы, скилл выстраивает строгую очерёдность. Сначала подключается Mobile SDK для аутентификации и работы с данными, а поверх него настраивается Agentforce SDK. Смешивать шаги их инициализации нельзя: порядок зависимостей разный, а попытка написать интеграцию Agentforce вручную приведёт к ошибкам компиляции из-за закрытых API.

Для загрузки дочерних компонентов требуется утилита npx версии 9.0.0 или выше. Если нужный вспомогательный скилл вроде ios-mobile-sdk или integrate-agentforce-android ещё не установлен в среде, инструмент предложит скачать его из официального репозитория.

Какие задачи решает

  • Выбрать подходящий SDK Salesforce для проекта на iOS или Android
  • Настроить авторизацию пользователей и офлайн-хранилище SmartStore через Mobile SDK
  • Встроить диалогового агента Agentforce в нативное мобильное приложение
  • Связать Mobile SDK и Agentforce SDK в едином проекте без конфликтов инициализации

Примеры запросов агенту

  • Помоги настроить Salesforce Mobile SDK и SmartStore в приложении для iOS на Swift
  • Как добавить чат с агентом Agentforce в готовое Android-приложение на Kotlin?
  • Нужно создать мобильное приложение с авторизацией Salesforce и встроенным Agentforce

Как установить mobile-apps-create

1Через Skills CLI (Vercel)

npx skills add forcedotcom/sf-skills --skill mobile-apps-create -a claude-code

2Вручную: положить файлы

~/.claude/skills/mobile-apps-create/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/mobile-apps-create/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о mobile-apps-create

Как установить mobile-apps-create в Claude Code?

Выполните команду npx skills add forcedotcom/sf-skills --skill mobile-apps-create -a claude-code в терминале.

Что делает скилл mobile-apps-create?

Он определяет архитектуру мобильного приложения Salesforce и подключает специализированные дочерние скиллы для Swift или Kotlin в зависимости от нужного SDK.

Что требуется для работы этого скилла?

В системе должен быть установлен пакетный инструмент npx версии 9.0.0 или новее для подгрузки дочерних скиллов из репозиториев.

Исходный текст

SKILL.md · Apache-2.0
---
name: mobile-apps-create
description: "The entry point for building any Salesforce native mobile app on iOS or Android. TRIGGER when the user says: \"build a Salesforce iOS app\", \"add Salesforce login to my Android app\", \"set up Mobile SDK\", \"add MobileSync / SmartStore offline storage\", \"embed an Agentforce agent in my mobile app\", \"add Agentforce chat to iOS/Android\", or otherwise asks to create, extend, or integrate a Salesforce mobile experience in Swift or Kotlin (MSDK, Agentforce SDK, or both). SKIP when the user is building a non-Salesforce mobile app, using React Native / Flutter / Ionic without Salesforce integration, asking about generic mobile UI design, or working on a Salesforce-adjacent web/desktop surface (LWC, Experience Cloud, Mobile Publisher branding-only)."
metadata:
  version: "1.0"
  domains: ["Mobile"]
  cliTools:
    - tool: ["npx"]
      semver: ">=9.0.0"
---

# Salesforce Mobile

Route the user to the right SDK-family skill for building Salesforce-connected mobile apps. Do not implement features here; child skills own scenario detection and step-by-step instructions.

## Before routing

Disambiguate on two dimensions: **SDK family** (Mobile SDK vs. Agentforce SDK) and **platform** (iOS vs. Android). They are not mutually exclusive — an app can use both SDKs.

If the user's intent could plausibly map to either SDK, ask before routing. Guessing wrong wastes the user's time because the child skills are platform- and SDK-specific.

## Routing — which SDK family?

| User's situation | SDK |
|---|---|
| Authenticating end users to Salesforce, syncing records (MobileSync), storing data offline (SmartStore), biometric login, push notifications, REST integration | **Mobile SDK** |
| Embedding an Agentforce agent — chat UI, agent conversations, conversational features as the primary surface | **Agentforce SDK** |
| Both (data-driven app with an embedded agent) | **Mobile SDK first**, then **Agentforce SDK** layered on top |

### Tiebreakers when both seem to apply

- Is the agent the *primary surface* (chat-first app), or a *feature inside* an otherwise data-driven app?
  - Primary → Agentforce SDK
  - Feature → Mobile SDK; embed the agent via Agentforce SDK alongside it
- Are end users authenticating into Salesforce data?
  - Yes → Mobile SDK is required (Agentforce SDK can be added on top).
  - No → Agentforce SDK alone is likely sufficient (it uses guest auth).
- Asking about offline storage, sync, REST, push, or biometrics? → Mobile SDK.
- Asking about agent conversations, chat UI, or streaming responses? → Agentforce SDK.

When still unclear, ask the user directly.

## Routing — which platform?

| Platform | Mobile SDK skill | Agentforce SDK skill |
|---|---|---|
| iOS (Swift) | `ios-mobile-sdk` | `integrate-agentforce-ios` |
| Android (Kotlin) | `android-mobile-sdk` | `integrate-agentforce-android` |

If the user wants both platforms, route to each child skill separately — they are independent.

## Combined workflows (Mobile SDK + Agentforce SDK)

When an app needs both:

1. Route to the Mobile SDK platform skill first to scaffold and authenticate.
2. Then you **MUST** load the Agentforce SDK platform skill (`integrate-agentforce-ios` or `integrate-agentforce-android`) to layer the agent surface. Do not hand-write the Agentforce integration — the SDK's dependencies, products, and APIs are not guessable and hand-rolled code will not compile.
3. Treat each child skill's instructions as authoritative for its SDK; do not merge their steps. Each SDK owns its own auth setup, dependency installation order, and initialization sequence — interleaving them produces conflicting config and broken init order.

This sequencing is the only multi-skill logic this skill owns. Everything else lives inside the child skills.

## Loading a child skill

Invoke the child skill by name through the harness. If it is not available locally, prompt the user to install it with `npx skills add <repo>`. If the user confirms (or has pre-authorized installs), run the command and load the child skill — do not make the user go figure out how to continue the workflow. If the user declines, stop and explain that the child skill owns the SDK's setup steps and the workflow cannot continue without it. Each child skill is published from a public repo:

| Skill | Repo | Install command |
|---|---|---|
| `ios-mobile-sdk` | [`forcedotcom/SalesforceMobileSDK-Templates`](https://github.com/forcedotcom/SalesforceMobileSDK-Templates) → `skills/ios-mobile-sdk/` | `npx --yes skills add forcedotcom/SalesforceMobileSDK-Templates --skill ios-mobile-sdk --yes` |
| `android-mobile-sdk` | [`forcedotcom/SalesforceMobileSDK-Templates`](https://github.com/forcedotcom/SalesforceMobileSDK-Templates) → `skills/android-mobile-sdk/` | `npx --yes skills add forcedotcom/SalesforceMobileSDK-Templates --skill android-mobile-sdk --yes` |
| `integrate-agentforce-ios` | [`salesforce/AgentforceMobileSDK-iOS`](https://github.com/salesforce/AgentforceMobileSDK-iOS) → `skills/integrate-agentforce-ios/` | `npx --yes skills add salesforce/AgentforceMobileSDK-iOS --skill integrate-agentforce-ios --yes` |
| `integrate-agentforce-android` | [`salesforce/AgentforceMobileSDK-Android`](https://github.com/salesforce/AgentforceMobileSDK-Android) → `skills/integrate-agentforce-android/` | `npx --yes skills add salesforce/AgentforceMobileSDK-Android --skill integrate-agentforce-android --yes` |

After install, load the child skill and let it take over. Do not inline the child skill's content — the child skill owns scenario detection, prerequisites, and step-by-step instructions.

© forcedotcom · Apache-2.0 · forcedotcom/sf-skills

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

Всё по теме «Мобильная разработка» →
mobile-app-developer VoltAgent Community Субагент помогает создавать iOS и Android-приложения: разбирает требования, архитектуру, производительность и платформенные ограничения. 1 552установок senior-mobile borghei Скилл для мобильной разработки: скаффолдинг проектов на React Native, Flutter, SwiftUI и Jetpack Compose, разбор производительности и подготовка к публикации в сторах. CX Codex +1 310установок developing-ios-apps daymade Скилл для сборки и выкладки iOS и macOS приложений: XcodeGen, SwiftUI, SPM, подпись, нотаризация и CI. Пригодится, когда Xcode падает на подписи или rpath. CX Codex +1 1 500установок mobile-app-debugging secondsky Скилл для отладки iOS, Android и кроссплатформенных приложений: падения, утечки памяти, просадки FPS, сетевые проблемы. CX Codex +1 428установок kotlin-tooling-kotlin-toolchain github:@singleton11 Скилл учит агента работать с Kotlin Toolchain — единым CLI JetBrains вместо Gradle-скриптов. Пригодится, если в репозитории лежат project.yaml и module.yaml. CX Codex +1 449установок google-mobile-ads-interstitial официальный google Помогает внедрить полноэкранную рекламу Google Mobile Ads в Android-, iOS- и Unity-приложения. Подойдёт, когда нужно показывать объявление между разделами приложения. CX Codex 5 816установок

Из того же набора167

dx-devops-test-pipeline-configure Настраивает тестовую инфраструктуру пайплайна DevOps Center: включает провайдера тестов, обновляет список сьютов или ставит quality gate на стадию. CX Codex +1 5 000установок experience-ui-bundle-site-generate Создаёт метаданные Digital Experience Site для хостинга React UI bundles в Salesforce. Пригодится, когда нужно развернуть контейнер сайта и настроить языковые параметры. CX Codex +1 5 000установок data360-schema-get Достаёт из Salesforce Data Cloud список объектов Data Lake и Data Model и поля конкретного объекта. Пригодится, когда надо посмотреть структуру данных перед запросом. CX Codex +1 5 000установок data360-code-extension-generate Скилл помогает создавать, тестировать и развёртывать расширения на Python для Salesforce Data Cloud через плагин SF CLI. Пригодится при написании пакетных скриптов и функций реального времени. CX Codex +1 4 900установок omnistudio-epc-catalog-generate Создаёт и проверяет EPC-каталоги Salesforce Industries: записи Product2, атрибуты и состав пакетных предложений. Нужен при работе с DataPack JSON для офферов. CX Codex +1 4 800установок omnistudio-datapacks-deploy Скилл для развёртывания OmniStudio и Vlocity DataPack через Vlocity Build: экспорт, деплой, повторные попытки и разбор ошибок миграции. CX Codex +1 4 800установок omnistudio-flexcard-generate Генерирует и валидирует интерфейсные карточки OmniStudio FlexCard для Salesforce Industries по шкале из 130 баллов. Помогает настроить привязку к Integration Procedures и стили SLDS. CX Codex +1 4 800установок omnistudio-callable-apex-generate Скилл для генерации и разбора callable Apex в Salesforce Industries: собирает классы System.Callable, проверяет их по шкале на 120 баллов и переносит старые VlocityOpenInterface. CX Codex +1 4 800установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой