Use the Salesforce Mobile Development Plugin
The Salesforce Mobile Development plugin bundles the Mobile Skills into a single package that you install in your AI coding environment. Use it to build native iOS and Android apps with the Salesforce Mobile SDK and Agentforce SDK, add native device capabilities to Lightning web components (LWCs), and validate components for offline use.
The plugin, named mobile-development, is published in the salesforce plugin marketplace in the forcedotcom/sf-skills repository. Instead of installing each skill separately, install the plugin one time to get all three mobile skills. Your AI agent then loads the right skill when your prompt matches what the skill does.
Use the Mobile Development plugin when you want your AI agent to:
- Scaffold a new native Salesforce mobile app, or add Mobile SDK to an existing iOS or Android app.
- Add Salesforce authentication, biometric login, offline storage with SmartStore, or data sync with MobileSync to a native app.
- Embed an Agentforce agent in a native iOS or Android app.
- Build an LWC that uses a native device feature, such as the barcode scanner, biometrics, location, or NFC.
- Review an LWC for offline-priming compatibility before you ship it in Salesforce Mobile App Plus or the Field Service mobile app.
The plugin doesn’t cover non-Salesforce mobile apps, cross-platform frameworks such as React Native, Flutter, or Ionic without Salesforce integration, generic mobile UI design, or generic LWC code review.
The plugin contains three skills. Each skill covers a different part of Salesforce mobile development.
| Skill | Surface | What It Does |
|---|---|---|
mobile-apps-create | Native iOS and Android apps | Acts as the entry point for native app work. Identifies the SDK family and platform that you’re targeting, then hands off to the matching Mobile SDK or Agentforce SDK skill. |
mobile-platform-native-capabilities-integrate | Lightning web components | Wires a native device capability from the lightning/mobileCapabilities module into an LWC with availability checks, current APIs, and typed error handling. |
mobile-platform-offline-validate | Lightning web components | Reviews an LWC against the Komaci offline static analyzer requirements and produces a report of findings with code-level fixes. |
For trigger phrases, inputs, outputs, and example prompts for each skill, see Mobile Development Plugin Skills Reference.
The mobile-apps-create skill generates native code for these platforms.
| Platform | Language |
|---|---|
| iOS | Swift |
| Android | Kotlin |
For the supporting skills that generate the code, see Mobile Development Plugin Dependencies.
The two LWC skills produce Lightning web components that run in the Salesforce mobile app and the Field Service mobile app on both iOS and Android.
Before you install the plugin, make sure that you have:
- An AI coding environment that supports plugins or the Agent Skills specification, such as Claude Code, Agentforce Vibes, Cursor, OpenCode, or Codex.
- Access to a Salesforce org.
- Node.js and npm 9.0.0 or later. The skills use
npxto install supporting skills and run the Komaci analyzer.
To build native apps, you also need:
- The Salesforce CLI.
- The native build tools for your target platform, such as Xcode on macOS for iOS or Android Studio for Android.
- A connected app with a client ID and callback URI. The generated app uses these values for OAuth login to your org.
For the full list, see Install Mobile Skills.
This documentation applies to version 0.2.1 of the mobile-development plugin. For changes in later versions, see the plugin changelog.
The Salesforce skills library changes frequently. Skills can be renamed, restructured, or removed between releases, and they don’t follow the same stability guarantees as generally available platform APIs. The forcedotcom/sf-skills repository is always the source of truth.
-
Install the Salesforce Mobile Development Plugin
Register the Salesforce plugin marketplace and install the Mobile Development plugin in Claude Code, or install individual mobile skills with
npx skills add. -
Mobile Development Plugin Skills Reference
Review the purpose, trigger phrases, inputs, outputs, and example prompts for each skill in the plugin.
-
Mobile Development Plugin Dependencies
Review the plugin dependencies, supporting skills, and command-line tools that the Mobile Development plugin relies on.
-
Troubleshoot the Mobile Development Plugin
Resolve common installation, native app, and LWC issues.
- forcedotcom/sf-skills: Source repository for the Mobile Development plugin and the Salesforce skills library
- Mobile Development plugin changelog: Release history for the plugin
- Agent Skills specification: The open specification that the skills follow
- Build Native Mobile Apps with Mobile Procode Skills: Overview of the native app capabilities of the Mobile Skills
- Build Mobile LWCs with Mobile Skills: Overview of the LWC Mobile Skills
- Use MCP Tools for Mobile LWC and Offline Development (Beta): MCP tools that provide grounding for mobile LWC development
- Validate Lightning Web Components for Offline Use: Install and configure the Komaci offline static analyzer