Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
forcedotcom avatar

Reviewing Lwc Mobile Offline

  • 1.3k installs
  • 763 repo stars
  • Updated July 24, 2026
  • forcedotcom/sf-skills

reviewing-lwc-mobile-offline is an agent skill that review a lightning web component for **mobile offline** compatibility — the komaci offline static analyzer that pre-primes the data graph for salesforce mobile app plus

About

reviewing-lwc-mobile-offline is an agent skill from forcedotcom/sf-skills that review a lightning web component for **mobile offline** compatibility — the komaci offline static analyzer that pre-primes the data graph for salesforce mobile app plus and field service mobile app. p. # 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 f Developers invoke reviewing-lwc-mobile-offline during build/integrations work for automation & workflows tasks. The skill documents triggers, prerequisites, and step-by-step workflows grounded in SKILL.md. Compatible with Claude Code, Cursor, and Codex agent runtimes that load marketplace skills.

  • 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.

Reviewing Lwc Mobile Offline by the numbers

  • 1,331 all-time installs (skills.sh)
  • +7 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Ranked #233 of 2,742 Automation & Workflows skills by installs in the Skillselion catalog
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

reviewing-lwc-mobile-offline capabilities & compatibility

Capabilities
reviewing lwc mobile offline · run a structured offline priming compliance pass · component, producing a report of issues found an · the component into compliance with komaci's stat · for the salesforce mobile app plus and field ser
Use cases
orchestration
From the docs

What reviewing-lwc-mobile-offline says it does

Run a structured offline-priming compliance pass over a Lightning Web
SKILL.md
Component, producing a report of issues found and code-level fixes to bring
SKILL.md
the component into compliance with Komaci's static analysis requirements
SKILL.md
npx skills add https://github.com/forcedotcom/sf-skills --skill reviewing-lwc-mobile-offline

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1.3k
repo stars763
Last updatedJuly 24, 2026
Repositoryforcedotcom/sf-skills

What it does

Review a Lightning Web Component for **mobile offline** compatibility — the Komaci offline static analyzer that pre-primes the data graph for Salesforce Mobile App Plus and Field Service Mobile App. P

Who is it for?

Developers working on automation & workflows during build tasks.

Skip if: Tasks outside Automation & Workflows scope described in SKILL.md.

When should I use this skill?

Review a Lightning Web Component for **mobile offline** compatibility — the Komaci offline static analyzer that pre-primes the data graph for Salesforce Mobile App Plus and Field Service Mobile App. P

What you get

Completed automation & workflows workflow aligned with SKILL.md steps.

  • offline compatibility review findings
  • LWC remediation guidance

By the numbers

  • Covers 3 Komaci review categories: conditional rendering, GraphQL wire configuration, and related offline priming issues

Files

SKILL.mdMarkdownGitHub ↗

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 using-mobile-native-capabilities.

  • 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.

Knowledge Base

Mobile Offline Grounding explains the three violation categories and why each blocks offline priming. Read it before judging. The per-reviewer references below are the source of truth for the rules and remediations:

  • Inline GraphQL wire configuration: Inline GraphQL Reviewer
  • lwc:if conditional rendering compatibility: lwc:if Reviewer
  • Komaci ESLint static analysis: Komaci ESLint Reviewer

Workflow

Step 1 — Scope the review

Identify the component bundle: .html, .js/.ts. CSS and meta files are not in scope for offline priming. If the bundle has multiple HTML templates, all are reviewed.

Step 2 — Read the grounding and per-reviewer references

Read Mobile Offline Grounding and the three per-reviewer references end-to-end before judging. Cite the specific reviewer when emitting each finding so the report is auditable.

Step 3 — lwc:if / lwc:elseif / lwc:else (HTML)

Walk every .html file in the bundle and apply the rules in lwc:if Reviewer. For each occurrence of lwc:if={…}, lwc:elseif={…}, or lwc:else, emit a finding with the exact if:true / if:false rewrite — including the nesting required to preserve lwc:elseif and lwc:else semantics.

Step 4 — Inline GraphQL in @wire (JS)

Walk every .js/.ts file in the bundle and apply the rules in Inline GraphQL Reviewer. For each @wire that references a gql template literal directly (or via a top-level constant), emit a finding that names a concrete getter and shows the rewritten @wire configuration.

Step 5 — Komaci ESLint pass (JS)

Run the Komaci ESLint analyzer over the bundle's JS file using the bundled script. It applies the @salesforce/eslint-plugin-lwc-graph-analyzer recommended ruleset with the bundleAnalyzer processor enabled.

scripts/run-komaci.sh path/to/component.js

The script requires @salesforce/eslint-plugin-lwc-graph-analyzer to be resolvable from the working directory, and the component's sibling HTML templates must live next to the JS file (the plugin's bundleAnalyzer processor uses them to resolve the offline data graph). Output is ESLint --format json on stdout.

For each messages[*] entry in the output, group by ruleId and look up the per-rule remediation in Komaci ESLint Reviewer. Emit a finding per (rule, line) pair with the exact remediation text from the reference; do not invent new advice. See the reference for the manual npx eslint ... invocation if the script is unavailable in the runtime environment.

Step 6 — Produce the report

Emit a report in this shape:

## Mobile Offline (Komaci priming)
- <reviewer> — <file>:<startLine>:<startColumn>-<endLine>:<endColumn> — <type>
  Description: <verbatim from the reviewer reference>
  Intent analysis: <verbatim from the reviewer reference>
  Suggested action: <verbatim from the reviewer reference>
  Code: |
    <source snippet from startLine through endLine, optional but
     recommended when the violation spans multiple lines>
  Applied: yes/no

## Summary
- <n> issues found; <m> fixed; <k> deferred (with reason)

For Komaci ESLint findings, take startLine/startColumn/endLine/ endColumn from the ESLint message's line/column/endLine/endColumn. For Inline GraphQL and lwc:if findings, supply the line/column range you observed in the source. If endLine/endColumn are not available for a finding, fall back to <file>:<startLine> and omit the trailing range.

Cite the reviewer (Inline GraphQL / lwc:if / Komaci ESLint rule id) on every finding.

Step 7 — Apply fixes

Apply the remediations directly when the user asked for fixes. If a remediation conflicts with the component's behavior outside offline (e.g. the developer relies on lwc:elseif for readability and the user is not yet shipping to mobile offline), surface the conflict in the deferred list rather than silently rewriting.

Verification Checklist

  • [ ] Every lwc:if / lwc:elseif / lwc:else flagged or absent.
  • [ ] Every @wire referencing gql checked; inline queries extracted to

a getter.

  • [ ] Komaci ESLint analyzer was actually run; findings cite real rule

ids, not invented ones.

  • [ ] Each finding cites the originating reviewer or rule id.
  • [ ] No remediation outside the three categories above (other concerns

belong to other skills).

Troubleshooting

  • `npx eslint` cannot find the plugin — install

@salesforce/eslint-plugin-lwc-graph-analyzer in the workspace, or use a pinned local install path. The plugin is the canonical source of Komaci rules.

  • `bundleAnalyzer` related errors — the recommended config drives the

bundle processor; do not strip it. The processor expects sibling HTML files to be discoverable. If running on a stripped-down JS file, supply the matching HTML in the temp directory.

  • No findings for a component you expect to fail — confirm the

recommended ruleset is applied (not just bundleAnalyzer with empty rules). Some rules require the HTML to be present alongside the JS.

  • Findings duplicate `lwc:if` from the dedicated reviewer — the Komaci

plugin does not check templates; the lwc:if check is HTML-only and comes from Step 3. Findings from Step 5 are JS-only.

Related skills

Forks & variants (1)

Reviewing Lwc Mobile Offline has 1 known copy in the catalog totaling 196 installs. They canonicalize to this original listing.

FAQ

What does reviewing-lwc-mobile-offline do?

Review a Lightning Web Component for **mobile offline** compatibility — the Komaci offline static analyzer that pre-primes the data graph for Salesforce Mobile App Plus and Field Service Mobile App. P

When should I use reviewing-lwc-mobile-offline?

During build integrations work for automation & workflows.

Is reviewing-lwc-mobile-offline safe to install?

Review the Security Audits panel on this listing before production use.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.