Skip to content

forcedotcom/sf-skills / plugins/builder/mobile-development/skills/mobile-platform-offline-validate

mobile-platform-offline-validate

Flagged

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. Produces a finding list with code-level fixes covering inline GraphQL queries in `@wire` configurations, modern `lwc:if` / `lwc:elseif` / `lwc:else` directives, and Komaci ESLint rule violations (private wire properties, non-local reactive references, getter side-effects). Use when the user asks for a "mobile offline review", "Komaci check", "offline priming audit", "offline priming failure", or "offline data graph error", or to validate an LWC against the `@salesforce/eslint-plugin-lwc-graph-analyzer` recommended ruleset. Do not use for generic LWC code review (use an appropriate domain review skill) or for building LWCs with native mobile capabilities (use `mobile-platform-native-capabilities-integrate`).

FileKindSize
SKILL.mdskill md7.8 KB
references/grounding.mdmarkdown1.0 KB
references/inline-graphql.mdmarkdown2.8 KB
references/komaci-eslint.mdmarkdown7.6 KB
references/lwc-if.mdmarkdown3.2 KB
scripts/komaci.config.mjsscript579 B
scripts/package.jsonmanifest286 B
scripts/run-komaci.shexecutablescript2.3 KB

scripts/komaci.config.mjs

View on GitHub
// ESLint flat config for the Komaci offline static analyzer.
// Applies the recommended ruleset from
// @salesforce/eslint-plugin-lwc-graph-analyzer with the bundleAnalyzer
// processor wired in via the recommended config.
import lwcGraphAnalyzerPlugin from '@salesforce/eslint-plugin-lwc-graph-analyzer';

const PLUGIN_NAME = '@salesforce/lwc-graph-analyzer';
const RECOMMENDED = lwcGraphAnalyzerPlugin.configs.recommended;

export default [
  {
    name: `config: ${PLUGIN_NAME}`,
    plugins: {
      [PLUGIN_NAME]: lwcGraphAnalyzerPlugin,
    },
    ...RECOMMENDED,
  },
];
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall