Mobile Platform Offline Validate
Static analyzer that checks Lightning Web Components for mobile offline priming compliance, with code-level fixes.
- CCM score
- 72 of 100
- skills.sh installs
- 4.7K
- GitHub stars
- 1.2K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the offline review flow: inline GraphQL in
@wire,lwc:ifdirective rewrites, and Komaci ESLint rule violations - Includes
scripts/run-komaci.shand reference guides for each reviewer, with per-rule remediation text - Enforces the
@salesforce/eslint-plugin-lwc-graph-analyzerrecommended ruleset, flagging private wire properties and getter side-effects - Designed for LWCs targeting Salesforce Mobile App Plus and Field Service Mobile App offline mode
Install
$ npx -y skills add forcedotcom/sf-skills --skill mobile-platform-offline-validate -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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.
Details
- Repository
- github.com/forcedotcom/sf-skills
- Categories
- Mobile Apps, Frontend & UI Code, Code Review & Quality
- First seen
- Jul 14, 2026
Questions
What does the mobile-platform-offline-validate skill check in a Lightning Web Component?
It runs a structured offline-priming compliance pass over a Lightning Web Component, flagging problems that block the Komaci offline analyzer from pre-priming the data graph for Salesforce Mobile App Plus and Field Service Mobile App. It checks inline GraphQL in @wire configurations, lwc:if directives, and Komaci ESLint rule violations, and produces code-level fixes for each finding.
When should I use the mobile-platform-offline-validate skill instead of a generic LWC review?
Use it when you ask for a mobile offline review, a Komaci check, or an offline priming audit on a specific component, or when you need to validate an LWC against the Komaci ESLint recommended ruleset. It is not meant for generic LWC code review or for building components with native mobile capabilities, which the mobile-platform-native-capabilities-integrate skill covers.
How do I install the mobile-platform-offline-validate skill?
Run npx -y skills add forcedotcom/sf-skills --skill mobile-platform-offline-validate -y inside your project. Once installed, the agent can review your component bundle for Komaci offline priming issues, using the eslint and npm tools the skill lists.
What do I need to run the mobile-platform-offline-validate skill?
You need the path to the LWC bundle, access to its JavaScript or TypeScript and HTML template files, and local Node and npm with the ability to run npx eslint. The skill also needs the @salesforce/eslint-plugin-lwc-graph-analyzer plugin resolvable from your working directory, with the component's sibling HTML templates next to the JS file.
More from forcedotcom/sf-skills
All 78- 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
- Design Systems Slds Apply6.3K
Similar to Mobile Platform Offline Validate
More Mobile Appsdesign-systems-slds-validateSkillforcedotcom/sf-skills6.1K installsAudit Lightning Web Components for SLDS compliance with a linter-plus-static-analysis scorecard and a manual review gate.
Front-End ChecklistMCP serverthedaviddias74.9K starsAudit frontend code and live pages against 386 web development rules via structured review tools.
Lighthouse McpMCP serverpriyankark220 starsRuns Lighthouse performance audits on public URLs and returns scores and metrics for web pages.
mobile-designSkillsickn33/agentic-awesome-skills3.8K installsDesign and review mobile interfaces for touch, accessibility, offline behavior, and measured performance across platforms.
web-design-guidelinesSkillvercel-labs/agent-skills927K installsThorough UI compliance review against live Web Interface Guidelines fetched at review time, reporting findings as file:line.