reviewing-lwc-mobile-offline

Analyze Salesforce Lightning Web Components for mobile offline compatibility with Komaci static analysis.

Updated Jun 1, 2026
One-click install
npx skills add https://github.com/Collabalist/SFDC --skill reviewing-lwc-mobile-offline
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reviewing-lwc-mobile-offline
Source: https://github.com/Collabalist/SFDC/tree/main/.agents/skills/reviewing-lwc-mobile-offline
Command: npx skills add https://github.com/Collabalist/SFDC --skill reviewing-lwc-mobile-offline

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 reviews Lightning Web Components for mobile offline compatibility, identifying and suggesting fixes for code-level issues that may prevent offline functionality.

Core Features & Use Cases

  • Offline Compatibility Analysis: Static analysis of LWCs to identify issues that may block offline data priming.
  • Komaci ESLint Integration: Utilizes the Komaci ESLint plugin to detect and suggest remediations for common priming-blockers.
  • Conditional Rendering Compatibility: Checks and suggests conversions for lwc:if directives to ensure offline compatibility.
  • GraphQL Wire Configuration: Analyzes and suggests extraction of inline GraphQL queries for proper offline data handling.
  • Use Case: When developing an LWC for use in Salesforce Mobile App Plus or Field Service Mobile App, this Skill can help ensure the component will function correctly in offline mode.

Quick Start

Run the reviewing-lwc-mobile-offline skill on your LWC to check for mobile offline compatibility issues.

Frequently Asked Questions about reviewing-lwc-mobile-offline

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

FAQPage Schema
How do I check my Lightning Web Components for mobile offline compatibility?

You can check LWC mobile offline compatibility by running static analysis with the Komaci ESLint plugin to identify code-level issues that prevent offline data priming in Salesforce Mobile App Plus or Field Service Mobile App.

What causes a Lightning Web Component to fail offline data priming?

LWC offline data priming fails when components use incompatible conditional rendering like lwc:if directives or inline GraphQL wire configurations that block static analysis from preparing offline data.

How do I fix lwc:if conditional rendering issues for offline LWCs?

To fix lwc:if conditional rendering for offline LWCs, apply the conversion suggestions from Komaci static analysis to ensure your directives support offline data priming.

Do I need the Komaci ESLint plugin to analyze LWC offline compatibility?

Yes, analyzing LWC offline compatibility requires the Komaci ESLint plugin to run static analysis and detect priming-blockers within your component's JavaScript and HTML files.

How do I extract inline GraphQL queries for proper offline data handling?

To extract inline GraphQL queries for offline data handling, follow Komaci static analysis suggestions to restructure your GraphQL wire configurations into a compatible format for offline data priming.