Skip to content

uhc-code-organization-auditor

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.

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

UHC Code Organization Auditor

Use this skill to audit UHC Mobile React Native code for naming, layout, export, import, and component-organization consistency.

Workflow

  1. Read local AGENTS.md and package-level guidance before applying generic standards.
  2. Identify the package or screen ownership boundary and inspect related components, selectors, hooks, analytics, utils, tests, and route files together.
  3. Check naming conventions for handlers, listeners, selectors, analytics functions, feature flags, booleans, acronyms, constants, component names, types, and files.
  4. Check import and export shape: named exports by default, ESM syntax, stable barrel files, no avoidable circular imports, and no CommonJS in app code unless local convention allows it.
  5. Check component organization: props/types, hooks, handlers, derived values, render helpers, effects, and JSX should be arranged consistently and stay easy to scan.
  6. Prefer targeted, behavior-preserving improvements. Separate convention-only findings from defects that can break runtime behavior.

Review Focus

  • File names matching main exports, with index.ts used for export aggregation only.
  • handle*, on*, select*, track*, enable*, is*, can*, and has* naming patterns where applicable.
  • UpperCamelCase components and types; lowerCamelCase functions, variables, params, and properties.
  • Named exports and ESM imports over default exports or CommonJS require/module.exports.
  • Flat package structure with common, screens, and components boundaries respected.
  • Component files that are readable, testable, and not carrying extracted utility logic inline.

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

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

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

react-native-performance-review

active

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.

codex
react-native
mobile
performance
review
uhc-mobile

Owner: optum-tech-compute

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

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-env-secrets-reviewer

active

Review UHC Mobile environment configuration, secrets handling, Vault-to-Artifactory flows, react-native-config access, Firebase environment overrides, certificate pinning, production domain usage, local dev configuration, and secret exposure risks. Use when env files, build configuration, Firebase overrides, certificate pinsets, domains, tokens, or secrets-related mobile code changes.

codex
uhc-mobile
secrets
environment
security
react-native
+1

Owner: optum-tech-compute