debug-rn-native-crash
Skill by LedgerHQ
Investigates native React Native crashes in the ledger-live-mobile iOS app when JavaScript logs are missing or unhelpful. Built for developers facing silent crashes, NSException errors or native-only stack traces.
Install debug-rn-native-crash
Built from the published package, never by AI.
git clone --depth 1 https://github.com/LedgerHQ/ledger-live /tmp/ledger-live && mkdir -p ~/.claude/skills && cp -r /tmp/ledger-live/.agents/skills/debug-rn-native-crash ~/.claude/skills/debug-rn-native-crashRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/LedgerHQ/ledger-live /tmp/ledger-live && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/ledger-live/.agents/skills/debug-rn-native-crash ~/.gemini/antigravity-cli/skills/debug-rn-native-crashAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install debug-rn-native-crash in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill guides an AI assistant through debugging native React Native crashes in the ledger-live-mobile app. It applies when the app dies silently, throws an NSException on iOS, or shows only a native stack trace. The workflow captures the exception from the booted iOS simulator log, reproduces the crash under the Xcode debugger, and uses lldb to find the React component involved.
It then maps the native cause to a known Fabric crash pattern and suggests a minimal fix. The skill also checks that Metro has served the fix, since its file watcher can fail with EMFILE errors. It is aimed at developers working on the Ledger Live mobile app who hit native crashes that JavaScript logs do not explain. The skill says to skip it when the JS console already shows a clear stack.
Written from the project's SKILL.md and checked against it.
What it can do
- Capture native exceptionPulls the exception message and native stack from the booted iOS simulator log.
- Reproduce under XcodeSets an Objective-C exception breakpoint and runs the app attached to Xcode.
- Identify offending componentUses lldb and view inspection to find the RN testID of the orphan view.
- Map crash patternMatches the native cause to a catalogue of common Fabric crash patterns.
- Verify Metro serves fixConfirms Metro recompiled the edit and suggests a restart with --reset-cache if needed.
What you need
- Xcode
- iOS simulator
- Metro bundler started with pnpm mobile start:ios
- ledger-live-mobile repository checkout
Try asking
- Investigate this NSInternalInconsistencyException in ledger-live-mobile on the iOS simulator
- Find which React component is behind this RCTPerformMountInstructions crash
- Check that Metro served my fix after the Fabric assertion edit
Good to know
- Not for crashes where the JS console already shows a clear stack.
- Steps target the iOS simulator and the Xcode debugger.
- Paths and commands are specific to the ledger-live-mobile repository.
- Says to apply one fix at a time and to test both flag states before trusting a flag-related cause.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/debug-rn-native-crash/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB -
reference.md7 KB
Alternatives to debug-rn-native-crash
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
debug-rn-native-crash: common questions
What does the debug-rn-native-crash skill do?
It investigates native React Native crashes in ledger-live-mobile when JavaScript error logs are missing or unhelpful. It covers Fabric, Hermes and iOS issues.
When should I not use this skill?
The source says to skip it when the JS console already gives a clear stack, and to read the JS error instead.
What tools does it use to find the cause?
It uses xcrun simctl log output, the Xcode debugger with an Objective-C exception breakpoint, and lldb commands on the view hierarchy.
How do I install debug-rn-native-crash?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is debug-rn-native-crash free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is debug-rn-native-crash safe to use?
It scores 75 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to debug-rn-native-crash?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
