forcedotcom avatar

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-code

Installs 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 eslint with the @salesforce/eslint-plugin-lwc-graph-analyzer plugin.

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
1figma avatarfigma-generate-libraryfigma/mcp-server-guideBuild or update a professional-grade design system in Figma from a codebase. Use when the user wants to create variables/tokens, build component libraries, crea4.7Kskills.sh installs
2medusajs avatarbuilding-admin-dashboard-customizationsmedusajs/medusa-agent-skillsLoad automatically when planning, researching, or implementing Medusa Admin dashboard UI (widgets, custom pages, forms, tables, data loading, navigation). REQUI4.7Kskills.sh installs
3forcedotcom avatarcommerce-b2b-open-code-components-replaceforcedotcom/sf-skillsReplace OOTB (out-of-the-box) B2B Commerce components with open source equivalents in site metadata content.json files, or look up the equivalent open code `sit4.6Kskills.sh installs
4composiohq avatartheme-factorycomposiohq/awesome-claude-skillsToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fo4.6Kskills.sh installs
5axiomhq avatarbuilding-dashboardsaxiomhq/skillsDesigns and builds Axiom dashboards via API. Covers chart types, APL and metrics/MPL query patterns, SmartFilters, layout, and configuration options. Use when c4.5Kskills.sh installs
6dpearson2699 avatarswift-testingdpearson2699/swift-ios-skillsWrites and migrates Swift Testing framework tests with @Test, @Suite, #expect, #require, confirmation, traits, withKnownIssue, Attachment.record, processExitsWi4.5Kskills.sh installs