mobile-platform-offline-validate

Validate Lightning Web Components for Salesforce Mobile App offline compatibility.

Updated Jul 2, 2026
One-click install
npx skills add https://github.com/padjei/SF_Agents --skill mobile-platform-offline-validate-padjei
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mobile-platform-offline-validate
Source: https://github.com/padjei/SF_Agents/tree/main/.claude/skills/mobile-platform-offline-validate
Command: npx skills add https://github.com/padjei/SF_Agents --skill mobile-platform-offline-validate-padjei

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @salesforce/eslint-plugin-lwc-graph-analyzer, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill identifies issues in Lightning Web Components (LWC) that prevent them from functioning correctly in Salesforce Mobile App Plus and Field Service Mobile App offline mode.

Core Features & Use Cases

  • Komaci Analysis: Uses Komaci's offline static analysis engine to pre-prime the data graph for mobile offline use.
  • Conditional Rendering: Rewrites modern lwc:if directives for compatibility with Komaci priming.
  • GraphQL Wire Configuration: Ensures GraphQL queries are correctly configured for offline scenarios.
  • ESLint Rule Check: Utilizes the @salesforce/eslint-plugin-lwc-graph-analyzer to detect additional issues.
  • Use Case: Validate LWC code before deploying to ensure seamless offline functionality for mobile apps.

Quick Start

Analyze the LWC at 'modules/ComponentName/lwc' for mobile offline compatibility using the mobile-platform-offline-validate skill.

Frequently Asked Questions about mobile-platform-offline-validate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate Lightning Web Components for Salesforce mobile offline compatibility?

Komaci offline static analysis pre-primes the data graph for mobile offline use by validating Lightning Web Components. It checks for correct usage of `lwc:if` directives, GraphQL wire configurations, and ESLint rules to ensure components function correctly in Salesforce Mobile App Plus and Field Service Mobile App offline mode.

Can I use `lwc:if` directives in LWC components for Komaci offline priming?

Yes, but `lwc:if` directives must be correctly configured for Komaci offline priming. The validation process checks and rewrites modern `lwc:if` directives to ensure compatibility with Komaci's static analysis requirements for Salesforce Mobile App Plus and Field Service Mobile App offline mode.

Do I need the `@salesforce/eslint-plugin-lwc-graph-analyzer` to check LWC offline compatibility?

Yes, the `@salesforce/eslint-plugin-lwc-graph-analyzer` dependency is required to check LWC offline compatibility. The validation utilizes this specific ESLint plugin to detect additional issues in Lightning Web Components that prevent them from functioning correctly in Salesforce mobile offline mode.

How do I ensure GraphQL wire configurations are correct for Salesforce Field Service Mobile offline mode?

To ensure GraphQL wire configurations are correct for Salesforce Field Service Mobile offline mode, validate the component using Komaci analysis. This process checks that GraphQL queries are correctly configured for offline scenarios according to Komaci's static analysis requirements.

What are the limitations of validating LWC code for mobile offline compatibility?

Validation for mobile offline compatibility is limited to checking `lwc:if` directives, GraphQL wire configurations, and specific ESLint rules defined by Komaci static analysis. It ensures functionality for Salesforce Mobile App Plus and Field Service Mobile App offline mode but does not cover unrelated component issues.