
Mobile Platform Offline Validate
When you're shipping Lightning Web Components to Salesforce Mobile App Plus or Field Service Mobile App in offline mode, Komaci's static analyzer can fail your priming graph for surprisingly subtle reasons. This skill walks your LWC through the three categories that block offline: legacy lwc:if directives that need migration to if:true/if:false, inline GraphQL queries in @wire decorators that must move to getters, and a suite of ESLint rules from @salesforce/eslint-plugin-lwc-graph-analyzer covering things like private wire properties and getter side effects. It produces a finding report with exact line ranges and code level fixes pulled from the reviewer references, then applies them if you want. Useful when you hit a cryptic priming failure or need to audit a component before mobile rollout.
- skills.sh installs
- 4.7K
- GitHub stars
- 1.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add forcedotcom/sf-skills --skill mobile-platform-offline-validate --agent claude-codeInstalls into .claude/skills of the current project.
Files
Reviewing LWC Mobile Offline
Run a structured offline-priming compliance pass over a Lightning Web Component, producing a report of issues found and code-level fixes to bring the component into compliance with Komaci's static analysis requirements for the Salesforce Mobile App Plus and Field Service Mobile App.
When to Use
- The user asks for a "mobile offline review", "Komaci check", or "offline priming audit" on a specific LWC.
- Preparing a component to ship in Salesforce Mobile App Plus or Field Service Mobile App offline mode.
- Investigating priming failures reported by the offline analyzer.
Do NOT use this skill for:
- Building an LWC that uses native mobile capabilities (barcode scanner,
biometrics, location, etc.) — use
mobile-platform-native-capabilities-integrate. - Generic LWC code review — use the appropriate domain skill
(
reviewing-lws-security,reviewing-lwc-rtl,accessibility-code-review).
Prerequisites
- Component path (LWC bundle under
modules/…). - Access to the component's JS/TS and HTML templates.
- Local Node + npm; ability to run
npx eslintwith the@salesforce/eslint-plugin-lwc-graph-analyzerplugin.
Sponsors
Details
- Repository
- github.com/forcedotcom/sf-skills
- Categories
- Frontend Development, Backend & APIs, Git & Pull Requests, Code Review & Quality, Debugging, Sales & Marketing, Mobile Development
- First seen
- Jul 14, 2026
More from forcedotcom/sf-skills
All 158- Commerce B2b Store Create4.7K
- Commerce B2b Open Code Components Integrate4.6K
- Commerce B2b Open Code Components Replace4.6K
- Generating Apex4.2K
- Generating Apex Test4.2K
- Generating Flow4.1K
- Generating Custom Field4K
- Generating Custom Object4K
- Generating Permission Set4K
- Generating Flexipage4K
- Generating Custom Tab3.9K
- Generating Custom Application3.9K
- Generating Lightning App3.9K
- Generating Custom Lightning Type3.9K
- Generating List View3.9K
- Generating Validation Rule3.9K
- Data360 Query3.8K
- Data360 Connect3.8K
- Data360 Activate3.8K
- Data360 Prepare3.8K
- Data360 Harmonize3.8K
- Data360 Orchestrate3.8K
- Data360 Segment3.8K
- Developing Agentforce3.8K