Skip to content

react-native-performance-review

Review React Native code for performance issues including unnecessary re-renders, inline functions, missing memoization, inefficient lists, context overuse, missing cleanup, and other mobile-specific performance problems. Use when asked to check performance, optimize React Native code, reduce jank, or review performance-critical mobile changes.

active
IDE:
codex
Version:
1.0.0
Owner:optum-tech-compute
react-native
mobile
performance
review
uhc-mobile

React Native Performance Review

Use this skill to review React Native code for avoidable render work, list inefficiencies, memory leaks, jank risks, and mobile UI performance regressions.

Workflow

  1. Inspect the target repository guidance first, especially local AGENTS.md, package manifests, navigation structure, and relevant React Native screens or packages.
  2. Read the changed files before scanning. Use rg for quick pattern checks, then confirm each candidate by reading the surrounding code.
  3. Check render stability: inline JSX callbacks, inline object/array props, missing React.memo, missing useCallback for handlers passed to children, and missing useMemo for expensive derived values.
  4. Check list behavior: stable keys, FlatList/FlashList usage, pagination, item memoization, renderItem stability, and large unvirtualized collections.
  5. Check context, state, and effects: broad context values, duplicated or derived state, unbatched updates, listener cleanup, timers, AppState, keyboard, network, and navigation subscriptions.
  6. Classify findings by impact and provide concrete fixes. Implement fixes only when the user asks for code changes or the task is explicitly implementation-oriented.

Review Focus

  • Inline functions or inline objects in hot render paths that force child re-renders.
  • Large lists without virtualization, pagination, stable keys, or memoized item components.
  • Context providers carrying large or frequently changing values across broad trees.
  • Effects that subscribe to AppState, keyboard, network, timers, or navigation without cleanup.
  • Derived state stored redundantly instead of computed from source state.
  • Deep wrapper-heavy component trees where flattening would reduce layout and reconciliation cost.
  • Image or asset optimization only when size, memory, bundle impact, or repeated rendering is a known concern.

Output

  • Lead with findings ordered by severity, with file and line references when possible.
  • Separate blocking issues from high, medium, and low priority recommendations.
  • Explain impact in mobile-user terms: security exposure, broken rollout, jank, inaccessible flow, analytics drift, build/runtime failure, or maintainability risk.
  • Include specific remediation guidance. Keep code snippets small unless the user asks for an implementation.
  • If no issues are found, say so clearly and note any meaningful test or verification gaps.

References

  • references/review-guide.md: Migrated detailed review guide from the original mobile-ai-skills agent definition. Read it when you need the full checklist, example report shape, or grep patterns.

Related Assets

react-native-security-review

active

Review React Native code for security vulnerabilities including PII/PHI storage, authorization bypass risks, secrets handling, token exposure, unvalidated identifiers, unsafe logging, mobile storage risks, and other security-critical mobile issues. Use when asked to check security, sensitive data handling, authentication, authorization, storage, logging, or network-related React Native changes.

codex
react-native
mobile
security
hipaa
review
+1

Owner: optum-tech-compute

dependency-management-reviewer

active

Review React Native and UHC Mobile dependency additions for maintenance status, React Native compatibility, New Architecture readiness, security vulnerabilities, bundle impact, license and ownership risk, justification, alternatives, and approved federation package usage. Use when package.json, lockfiles, native modules, or third-party package choices change.

codex
react-native
uhc-mobile
dependencies
security
review

Owner: optum-tech-compute

file-structure-auditor

active

Review React Native and UHC Mobile code for file structure, file naming, related-file grouping, folder organization, modal placement, utility extraction, and package boundary standards. Use when asked to audit directories, organize components, review screen/package layout, or clean up UHC Mobile file structure.

codex
react-native
uhc-mobile
file-structure
review
maintainability

Owner: optum-tech-compute

mobile-accessibility-reviewer

active

Review mobile React Native UI and federated modules for accessibility labels, roles, hints, states, focus handling, announcements, disabled/loading/error states, dynamic text scaling, design-token contrast, keyboard and screen reader behavior, and approved accessibility package usage. Use when reviewing mobile UI, forms, navigation, modals, cards, buttons, or federated UI surfaces.

codex
mobile
accessibility
react-native
a11y
review

Owner: optum-tech-compute

uhc-analytics-reviewer

active

Review UHC Mobile analytics implementations for .analytics.ts isolation, track-prefixed functions, Adobe payload casing, analytics constants, screenNameMapEntries updates, route mapping, A/B test tracking, event placement, and federated analytics events. Use when adding or changing mobile analytics, tracking hooks, navigation tracking, or Adobe payloads.

codex
uhc-mobile
analytics
adobe
react-native
review

Owner: optum-tech-compute

uhc-code-organization-auditor

active

Audit UHC Mobile code organization, naming conventions, file structure, import/export patterns, component section ordering, selector and analytics naming, feature-flag naming, and module boundaries before feature merges or cleanup work. Use when reviewing UHC Mobile React Native packages for maintainability and repository convention drift.

codex
uhc-mobile
react-native
code-organization
review
maintainability

Owner: optum-tech-compute