Mobile Platform Native Capabilities Integrate
Mobile-native device capabilities for Salesforce LWCs, gated behind availability checks and typed failure handling.
- CCM score
- 64 of 100
- skills.sh installs
- 4.8K
- GitHub stars
- 1.2K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers 11 capabilities: barcode scanner, biometrics, location, NFC, calendar, contacts, document scanner, geofencing, AR space capture, app review, and payments
- Provides a capability index mapping each feature to its reference file, with a shared
BaseCapabilityinterface and module declaration - Enforces a
isAvailable()check before every call and prefers non-deprecated entry points over older methods - Designed for LWCs running inside Salesforce Mobile App or Field Service Mobile App, not desktop or mobile web
Install
$ npx -y skills add forcedotcom/sf-skills --skill mobile-platform-native-capabilities-integrate -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Using Mobile Native Capabilities
The lightning/mobileCapabilities module exposes a set of factory functions
that return service objects for native device features (barcode scanning,
biometrics, location, etc.). Each service extends a common
BaseCapability with an isAvailable()
method, so an LWC can degrade gracefully on surfaces where the capability is
not present (desktop, mobile web).
This skill routes an agent through (1) picking the right capability, (2) loading the authoritative type definitions, and (3) wiring the service into an LWC with the correct availability gating, error handling, and deprecation-aware API choice.
When to Use This Skill
- User asks for an LWC that uses a device capability listed in the index below.
- User mentions
lightning/mobileCapabilities, "mobile capability", or "Nimbus" by name. - User wants to know which mobile native APIs are available, or which one fits their feature.
Do NOT use this skill for:
Details
- Repository
- github.com/forcedotcom/sf-skills
- Categories
- Mobile Apps, Frontend & UI Code
- First seen
- Jul 14, 2026
More from forcedotcom/sf-skills
All 78- Mobile Platform Offline Validate4.7K
- Commerce B2b Store Create4.7K
- Commerce B2b Open Code Components Integrate4.7K
- Commerce B2b Open Code Components Replace4.6K
- Platform Apex Generate7.8K
- Platform Apex Test Generate7.7K
- Platform Apex Test Run7.5K
- Platform Apex Logs Debug7.4K
- Platform Soql Query7.4K
- Platform Metadata Deploy7.3K
- Platform Metadata Retrieve7.2K
- Platform Custom Field Generate7.1K
- Platform Docs Get7K
- Platform Permission Set Generate7K
- Dx Code Analyzer Run6.9K
- Platform Custom Object Generate6.9K
- Automation Flow Generate6.8K
- Experience Lwc Generate6.7K
- Platform Validation Rule Generate6.5K
- Platform Flexipage Generate6.5K
- Dx Org Manage6.4K
- Platform Data Manage6.4K
- Platform Sharing Rules Generate6.4K
- Platform Metadata Api Context Get6.3K
Similar to Mobile Platform Native Capabilities Integrate
More Mobile Appsmobile-developmentPluginforcedotcom/sf-skills1.2K starsBuild and extend native Salesforce mobile apps on iOS and Android. Bundles skills for scaffolding new Mobile SDK apps, adding Mobile SDK to existing apps, Sales
Mobile McpMCP servermobile-next11K starsAutomates iOS and Android simulators, emulators, and real devices through accessibility trees and screenshots.
core-nfcSkilldpearson2699/swift-ios-skills4K installsRead and write NFC tags with CoreNFC across NDEF, ISO, FeliCa, and MIFARE protocols on iPhone.
contacts-frameworkSkilldpearson2699/swift-ios-skills4K installsRead, create, update, and pick contacts with Contacts and ContactsUI, including limited-access and save-recovery guidance.