Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

mobile-platform-offline-validate

Skill by forcedotcom

Reviews a Lightning Web Component for mobile offline compatibility using the Komaci static analyzer. Produces a finding list with code-level fixes for Salesforce Mobile App Plus and Field Service Mobile App. Aimed at developers preparing LWCs for offline mode.

  • Score 81
  • 1.2k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install mobile-platform-offline-validate

Built from the published package, never by AI.

git clone --depth 1 https://github.com/forcedotcom/sf-skills /tmp/sf-skills && mkdir -p ~/.claude/skills && cp -r /tmp/sf-skills/skills/mobile-platform-offline-validate ~/.claude/skills/mobile-platform-offline-validate

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install mobile-platform-offline-validate in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill reviews a Lightning Web Component for mobile offline compatibility. It applies the Komaci offline static analyzer rules that pre-prime the data graph for Salesforce Mobile App Plus and Field Service Mobile App. The review produces a finding list with code-level fixes.

The skill works in steps. It checks lwc:if, lwc:elseif and lwc:else directives in HTML templates, and inline GraphQL in @wire configurations in JavaScript. It then runs an ESLint pass using the @salesforce/eslint-plugin-lwc-graph-analyzer recommended ruleset. Each finding cites its reviewer or rule id. It is intended for developers preparing an LWC to ship in offline mode on those mobile apps.

Written from the project's SKILL.md and checked against it.

What it can do

  • Inline GraphQL reviewFinds gql queries used directly or through constants in @wire and suggests extracting them to a getter.
  • lwc:if directive reviewFlags lwc:if, lwc:elseif and lwc:else in templates and gives if:true and if:false rewrites.
  • Komaci ESLint passRuns the lwc-graph-analyzer recommended ruleset on the component JavaScript file.
  • Finding reportLists each finding with file location, description, suggested action and code, grouped by reviewer.
  • Fix applicationApplies remediations when the user asks for fixes and lists any deferred items with reasons.

What you need

  • Node.js and npm (version 9 or later)
  • ESLint 8 or later
  • @salesforce/eslint-plugin-lwc-graph-analyzer installed in the workspace
  • Access to the component's JS or TS and HTML files

Try asking

  • Run a mobile offline review on my LWC in modules/c/accountList.
  • Check this component for Komaci priming issues and suggest fixes.
  • Review the lwc:if directives in this component's HTML for offline mode.

Good to know

  • Komaci ESLint findings cover JavaScript only; templates are checked by the lwc:if review.
  • Does not perform generic LWC code review or build native mobile capabilities.
  • CSS and meta files are out of scope for offline priming.
  • Some rules need the sibling HTML template present next to the JavaScript file.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/mobile-platform-offline-validate/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md8 KB
  • references/grounding.md1 KB
  • references/inline-graphql.md3 KB
  • references/komaci-eslint.md8 KB
  • references/lwc-if.md3 KB
Show all 8 files
  • scripts/komaci.config.mjs579 B
  • scripts/package.json286 B
  • scripts/run-komaci.sh2 KB

Alternatives to mobile-platform-offline-validate

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

mobile-platform-offline-validate: common questions

What does the Komaci check look for in an LWC?

It looks for inline GraphQL in @wire configurations, lwc:if and related directives in templates, and Komaci ESLint rule violations such as private wire properties, non-local reactive references and getter side-effects.

Which mobile apps does this skill target?

The source says the offline priming checks are for Salesforce Mobile App Plus and Field Service Mobile App.

Should I use this skill for general LWC code review?

No. The source says generic LWC code review should use an appropriate domain review skill instead.

How do I install mobile-platform-offline-validate?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is mobile-platform-offline-validate free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is mobile-platform-offline-validate safe to use?

It scores 81 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to mobile-platform-offline-validate?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

mobile-platform-offline-validate Install

Add to stack

Loading.