expo-build-and-sdk-upgrade-checker
Skill0 starsChanged 7 months agoApache-2.0View on GitHub
Analyzes Expo Managed Workflow projects for build failures, dependency mismatches, EAS configuration problems, and SDK upgrade risks — generates a prioritized health report with exact fix commands.
- Deletes or force-pushes
- Installs packages
In this repository37 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- auto-mergeSkill
- auto-shipSkill
- backlog-burn-downSkill
- cloud-infra-plannerSkill
- daily-statusSkill
- decision-briefSkill
- deploy-shieldSkill
- eddSkill
- git-workflowSkill
- handle-reviewSkill
- hr-resume-screenerSkill
- img-prompt-genSkill
- instagram-carouselSkill
- integratekitSkill
- investor-deck-builderSkill
- investor-form-fillerSkill
- playwright-test-generationSkill
- qa-handoffSkill
- razorpay-integrationSkill
- resume-hiring-managerSkill
- resume-recruiterSkill
- review-queueSkill
- safe-push-workflowSkill
- ship-issueSkill
- skill-fixerSkill
- skill-reviewerSkill
- tech-mentorSkill
- your-skill-nameSkill
- test-case-generatorSkill
- test-case-reviewerSkill
- test-scenario-planningSkill
- triage-issuesSkill
- ui-consistencySkill
- wp-maintenance-conductorSkill
- x-twitter-scraperSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 30
Do NOT activate when: the project uses Expo Bare Workflow requiring edits to committed ios/ or android/ native directories (Xcode, Gradle, …
- Very specific: line 47
Use Glob for discovery (/package.json, /app.{json,config.*}, /eas.json) and Read for file contents.
- Very specific: line 51
Run the four read-only helper scripts from the scripts/ folder, then run the two live Expo CLI checks:
- Distinctive: line 87
After the analyzers and rulebooks have run (Steps 2–3), compare the detected SDK major against the latest known SDK (currently 55).
- Distinctive: line 97
Do not run TSX scans, load breaking-change files, or produce the upgrade checklist during a health check — that belongs in Step 6 (upgrade …
- Very specific: line 126
If the user asks for an upgrade plan, load checks/upgrade-checklist.md and the breaking-change files for each hop in the sequence.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Expo Build & SDK Upgrade Checker
Analyzes Expo Managed Workflow projects for build failures, dependency mismatches, EAS configuration problems, and SDK upgrade risks — generates a prioritized health report with exact fix commands.
When to use
- Activate when: the user wants to check if their Expo project is safe to build or release
- Activate when: the user is upgrading or planning to upgrade the Expo SDK
- Activate when: the user reports EAS Build failures, dependency mismatches, or expo-doctor warnings
- Activate when: the user says "upgrade Expo SDK", "check Expo compatibility", "analyze expo-doctor", "fix EAS build issue", "validate Expo dependencies", "check iOS build readiness", "review package.json for Expo issues", "Expo Router compatibility", "dependency mismatch", "EAS build failed", or "is my Expo project safe to build"
- Do NOT activate when: the project uses Expo Bare Workflow requiring edits to committed
ios/orandroid/native directories (Xcode, Gradle, Swift, Kotlin — those are out of scope)
Prerequisites
- An Expo Managed Workflow project with a
package.jsonandapp.json/app.config.js eas.jsonpresent (recommended — EAS checks are skipped if absent)- Node.js installed so the analyzer scripts in
scripts/can run
Steps
Step 1: Discover the project
- Locate and read
package.json(prefer repo root). - Locate and read
app.jsonorapp.config.js/app.config.ts. - Locate and read
eas.jsonif present. - Confirm this is a managed project — no tracked
ios/orandroid/directories with native source. If native dirs exist and are committed, flag usingchecks/ios-managed-risks.mdand continue in managed-analysis mode only.
Use Glob for discovery (**/package.json, **/app.{json,config.*}, **/eas.json) and Read for file contents.
Step 2: Run the analyzers
Run the four read-only helper scripts from the scripts/ folder, then run the two live Expo CLI checks:
node <skill>/scripts/analyze-package-json.js <projectRoot>
node <skill>/scripts/check-sdk-alignment.js <projectRoot>
node <skill>/scripts/validate-expo-config.js <projectRoot>
node <skill>/scripts/detect-risky-dependencies.js <projectRoot>
npx expo-doctor
npx expo install --checkCapture the full output of all six commands. If either CLI command fails (offline, not installed), note it explicitly in the report — do not silently omit it.
Step 3: Apply the check rulebooks (load on demand)
Load only the file relevant to what the analyzers found — do not load all of them upfront:
| Concern | File |
| SDK ↔ React Native ↔ React version mapping | checks/sdk-compatibility.md |
| Interpreting expo-doctor / expo install --check | checks/expo-doctor-analysis.md |
| Expo-managed package version drift, Expo Router | checks/dependency-alignment.md |
| eas.json profiles, channels, runtime version | checks/eas-validation.md |
| iOS-specific managed risks | checks/ios-managed-risks.md |
| SDK upgrade procedure and multi-hop sequence | checks/upgrade-checklist.md |
| SDK 51→52 breaking changes + TSX + 3rd-party | checks/breaking-changes-sdk-52.md |
| SDK 52→53 breaking changes + TSX + 3rd-party | checks/breaking-changes-sdk-53.md |
| SDK 53→54 breaking changes + TSX + 3rd-party | checks/breaking-changes-sdk-54.md |
| SDK 54→55 breaking changes + TSX + 3rd-party | checks/breaking-changes-sdk-55.md |
| 3rd-party version matrix + New Architecture blockers | checks/third-party-packages.md |
For any SDK upgrade request: load checks/upgrade-checklist.md first to determine the hop sequence, then load only the breaking-change files for those hops. Never load all breaking-change files at once.
Step 4: SDK upgrade availability check (health-check mode)
After the analyzers and rulebooks have run (Steps 2–3), compare the detected SDK major against the latest known SDK (currently 55). If the project is behind, add this finding at LOW severity:
[LOW] SDK UPGRADE AVAILABLE
Current: SDK <X> | Latest: SDK 55 | Hops required: <n>
Hop sequence: <X>→<X+1>→...→55
Ask for an "upgrade plan" to get the full per-hop checklist, code-change
scope, and TSX migration commands for each hop.Do not run TSX scans, load breaking-change files, or produce the upgrade checklist during a health check — that belongs in Step 6 (upgrade mode only).
Step 5: Generate the health report
Produce a findings report using the relevant template from templates/. Every finding must carry a severity level, a one-line explanation, and an exact recommended command or config change. Order findings CRITICAL → HIGH → MEDIUM → LOW.
Severity levels:
| Level | Meaning | Action |
| CRITICAL | Build will fail or release is unsafe | Block — fix before any EAS build |
| HIGH | Likely failure or runtime crash on device | Fix before next build |
| MEDIUM | Works now but fragile or deprecated | Fix this cycle |
| LOW | Hygiene / future-proofing | Track, fix opportunistically |
Managed-safe recovery commands (never recommend native edits):
npx expo install --check # report misaligned packages
npx expo install --fix # realign — preserves devDependencies placement
npx expo install -- --save-dev <pkg> # add new dev dependency (npm/pnpm)
npx expo install -- --dev <pkg> # add new dev dependency (yarn)
npx expo-doctor # full project health validation
rm -rf node_modules && npm install # clean dependency state
npx expo start -c # clear Metro / Expo cachesStep 6: Upgrade mode (when explicitly requested)
If the user asks for an upgrade plan, load checks/upgrade-checklist.md and the breaking-change files for each hop in the sequence. Run the two-phase TSX scan described in the checklist. Generate the filled templates/sdk-upgrade-checklist.md.
Output
- Format: Markdown health report delivered inline in the conversation
- Location: Inline response; upgrade checklists may also be saved as a file if the user requests
- Example: A prioritized findings list — one CRITICAL (React Native version mismatch with exact fix command), two MEDIUM (deprecated packages), one LOW (SDK 52 available, 3 hops to SDK 55)
Example
User says: "Is my Expo project safe to push to EAS Build?"
Claude does: Reads package.json, app.json, and eas.json; runs the four analyzer scripts plus npx expo-doctor and npx expo install --check; loads only the relevant check rulebooks; produces a health report ordered by severity with exact fix commands for each finding.
Result: A prioritized report — e.g., one CRITICAL finding (React Native version mismatch), two MEDIUM findings (deprecated packages), and one LOW finding (SDK 52 available, 3 hops to SDK 55 with upgrade plan offer).
Notes
- Managed Workflow only — bare workflow native edits (
ios/,android/, Xcode, Gradle) are explicitly out of scope; state this and stop if the user needs native changes - No
eas.json→ EAS checks are skipped; report notes it and recommendseas build:configure - Dynamic
app.config.tsfiles may be only partially parsed statically; report flags unresolved fields - Monorepo: analyze the app package root, not the workspace root; watch for hoisted/duplicate React or React Native versions (duplicate = CRITICAL)
- Multiple lockfiles in the same project is itself a HIGH finding
- Scripts erroring "cannot find package.json" → confirm
<projectRoot>argument points to the directory containingpackage.json expo prebuildregenerates native folders — only mention it if the user explicitly opted into prebuild, and warn it converts the project toward bare workflow- Reference files:
checks/— validation rulebooks |scripts/— read-only Node analyzers |templates/— report scaffolds |examples/— worked scenarios
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

