new-arch-check · git:20260728.436a435 · 2026-07-28 · sha256 2a55c5cea9a2c8cc
new-arch-check git:20260728.436a435A
Immutable. This exact content is served forever at /api/v1/blob/2a55c5cea9a2c8cc.
--- name: new-arch-check description: Audit this project's dependencies for React Native New Architecture compatibility and maintenance status. Use when the user asks whether their libraries support the New Architecture or which dependencies are risky. --- Audit the project's dependencies for New Architecture readiness and abandonment risk. 1. Read `package.json` and collect dependencies that ship native code or are React Native specific. Skip pure-JS utility packages; they are not the risk. 2. Run `npx expo-doctor` and capture what it flags. It checks packages against React Native Directory metadata and catches known-incompatible and unmaintained ones. 3. For each remaining native dependency not covered by doctor output, query React Native Directory: `https://reactnative.directory/api/libraries?search=<package-name>` Note the New Architecture flag and the last-release recency. A package missing from the directory is not automatically bad, but combined with an old last-publish date it goes in the risk column. 4. Produce a single table: package, version, New Architecture status (supported / interop-expected / unsupported / unknown), last release age, and verdict. Three verdicts only: - keep: maintained and compatible - watch: works today via interop or unclear, has a pulse; recheck at the next SDK upgrade - replace: abandoned or incompatible; name the standard replacement (the new-architecture skill lists the usual swaps) 5. End with the two or three highest-risk items and one concrete next step for each. No generic advice; name packages and replacements.