Pular para o conteúdo
Kitbay
SkillOficial

mobile-platform-offline-validate

Apache-2.0Atualizado em 6 de nov. de 20261.156Estrelas no GitHubInclui scripts

A Salesforce skill for reviewing whether a Lightning Web Component will work offline in Salesforce's mobile apps, namely Mobile App Plus and the Field Service app.

O que a skill ensina

A Salesforce skill for reviewing whether a Lightning Web Component will work offline in Salesforce's mobile apps, namely Mobile App Plus and the Field Service app. It checks the points that Komaci, the offline static analyser that pre-loads the data graph, depends on: inline GraphQL queries in @wire configurations, use of lwc:if, lwc:elseif and lwc:else, and the rules in Salesforce's graph analyser ESLint plugin. The agent reports findings with code fixes and can apply them. A bundled shell script runs the Komaci ESLint check. It uses npm, npx and ESLint and is not a general code review.

O que faz

  • Review an LWC for mobile offline priming issues
  • Run the Komaci ESLint ruleset
  • Check inline GraphQL in @wire configurations
  • Apply fixes for offline compatibility