Review the purpose, trigger phrases, inputs, outputs, and example prompts for each skill in the Salesforce Mobile Development plugin.
Your AI agent loads a skill when your prompt matches the skill’s trigger phrases. Trigger phrases are examples, not exact commands. Describe what you want in your own words, and include the platform, the component, or the capability so the agent picks the right skill.
mobile-apps-create
The mobile-apps-create skill is the entry point for building a Salesforce-connected native mobile app on iOS or Android. The skill doesn’t implement features itself. It identifies the SDK family and platform that you’re targeting and hands off to the matching platform skill, which owns the setup steps and code generation.
Item
Details
Trigger phrases
”Build a Salesforce iOS app,” “Add Salesforce login to my Android app,” “Set up Mobile SDK,” “Add MobileSync and SmartStore offline storage,” “Embed an Agentforce agent in my mobile app,” “Add Agentforce chat to my iOS app”
Inputs
A description of the app or feature, the target platform (iOS with Swift or Android with Kotlin), and the SDK family (Mobile SDK, Agentforce SDK, or both). If the SDK family or platform is unclear, the skill asks you. To add the Mobile SDK to an existing app, run the skill from the app’s project directory.
Outputs
A handoff to the matching platform skill, which generates a new Xcode or Android Studio project or integrates the SDK into your existing codebase. If the platform skill isn’t installed, the agent prompts you to install it.
Doesn’t cover
Non-Salesforce mobile apps, React Native, Flutter, or Ionic apps without Salesforce integration, generic mobile UI design, and web or desktop surfaces such as LWC, Experience Cloud, or Mobile Publisher branding
How the Skill Chooses an SDK
The skill routes your request based on what the app does.
If Your App…
The Skill Uses
Authenticates users to Salesforce, syncs records, stores data offline, uses biometric login, or calls REST APIs
Mobile SDK
Uses an embedded Agentforce agent as the primary surface, such as a chat-first app
Agentforce SDK
Works with Salesforce data and also includes an embedded agent
Mobile SDK first, and then the Agentforce SDK layered on top
When an app needs both SDKs, the skill always runs the Mobile SDK platform skill first to scaffold the app and set up authentication. It then loads the Agentforce SDK platform skill to add the agent. Each SDK owns its own authentication setup, dependency installation order, and initialization sequence, so the skill doesn’t merge their steps. To target both iOS and Android, the skill runs each platform skill separately.
Authentication also differs between the SDKs. If users sign in to access Salesforce data, the app needs Mobile SDK, and the skill adds the Agentforce SDK on top. If the agent is the primary surface of the app and users don’t sign in to Salesforce, the Agentforce SDK alone is usually enough because it uses guest authentication.
Example: Build an Offline-Ready iOS App
Prompt
Name the platform, the users, and the data in your prompt.
1Build me a native iOS app for field reps with offline access to Accounts and Contacts.
What the skill does
Identifies Mobile SDK on iOS and loads the ios-mobile-sdk skill. If that skill isn’t installed, the agent asks for permission to install it.
Hands off to ios-mobile-sdk, which creates an Xcode project with Salesforce login, adds SmartStore soups for Accounts and Contacts, and adds MobileSync to sync those records between the soups and your org.
The mobile-platform-native-capabilities-integrate skill builds Lightning web components that use native device features through the lightning/mobileCapabilities module.
Item
Details
Trigger phrases
Requests for an LWC that scans a barcode or document, reads location or uses geofencing, prompts for biometrics, reads or writes the calendar or contacts, taps NFC, takes a payment, prompts for an app review, or scans an AR space. Also “lightning/mobileCapabilities,” “mobile capability,” “Nimbus,” and “device capability.”
Inputs
The device feature that you want and the LWC to add it to, either a new component or an existing component bundle in your project
Outputs
LWC JavaScript that imports the capability factory from lightning/mobileCapabilities, checks isAvailable() before every call, uses the current, non-deprecated method, and handles each typed failure code
Doesn’t cover
Offline-priming reviews, which mobile-platform-offline-validate handles, and choosing or styling Lightning base components
Example: Add a Barcode Scanner to an LWC
Prompt
From the project that contains your component, enter a prompt.
1Add a barcode scanner to this LWC and write the scanned value into the field.
What the skill does
Maps the request to the Barcode Scanner capability and loads its type definitions.
Wires getBarcodeScanner() into the component, gates the call behind isAvailable(), and uses scan() instead of the deprecated beginCapture(), resumeCapture(), and endCapture() methods.
Writes the first scan result to the bound field and maps each BarcodeScannerFailureCode value to a user-facing message or developer error.
The mobile-platform-offline-validate skill reviews a Lightning web component for compatibility with the Komaci offline static analyzer, which pre-primes the data graph for Salesforce Mobile App Plus and the Field Service mobile app.
Item
Details
Trigger phrases
”Mobile offline review,” “Komaci check,” “Offline priming audit,” “Offline priming failure,” “Offline data graph error,” and requests to validate an LWC against the @salesforce/eslint-plugin-lwc-graph-analyzer recommended ruleset
Inputs
The path to the LWC bundle, including its JavaScript or TypeScript files and HTML templates. CSS and metadata files aren’t reviewed. To run the Komaci ESLint pass, the skill needs Node.js, npm, and the @salesforce/eslint-plugin-lwc-graph-analyzer plugin.
Outputs
A report that lists each finding with its file and line range, the reviewer or ESLint rule that flagged it, a description, and a suggested action. The report ends with a summary of issues found, fixed, and deferred. When you ask for fixes, the skill applies them to the component.
Doesn’t cover
Generic LWC code review and building LWCs with native device capabilities
The skill checks three categories of issues that block offline priming:
lwc:if, lwc:elseif, and lwc:else directives in HTML templates
Inline GraphQL queries in @wire configurations
Komaci ESLint rule violations, such as private wire properties, non-local reactive references, and getter side effects
Example: Audit and Fix a Component for Offline Use
Prompt
From the project that contains your component, enter a prompt.
1Do a Komaci check on this component and fix the issues you find.
What the skill does
Reads the component’s HTML templates and JavaScript, and runs the Komaci ESLint analyzer on the bundle.
Produces a report. This shortened example shows the report’s structure.
Applies the fixes. If a fix conflicts with how the component behaves outside of offline mode, the skill lists the fix as deferred instead of rewriting the code.