patching-native-modules

Analyze iOS and Android crash logs and generate patch-package patch files.

3|2|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/Paxeer-Network/Sidiora-Perpetual-Protocol --skill patching-native-modules
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: patching-native-modules
Source: https://github.com/Paxeer-Network/Sidiora-Perpetual-Protocol/tree/main/.windsurf/skills/patching-native-modules
Command: npx skills add https://github.com/Paxeer-Network/Sidiora-Perpetual-Protocol --skill patching-native-modules

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses crashes and bugs within native modules of mobile applications, ensuring smoother performance and stability.

Core Features & Use Cases

  • Crash Log Analysis: Interprets iOS and Android crash logs to pinpoint the root cause of native module failures.
  • Code Patching: Modifies Swift, Objective-C, Kotlin, or Java code to resolve identified bugs.
  • Patch Generation: Creates patch files compatible with patch-package for easy integration.
  • Use Case: When an EXC_BAD_ACCESS crash occurs on iOS due to a nil pointer in expo-image, this Skill can analyze the stack trace, fix the Swift code with a guard let check, and generate a patch file.

Quick Start

Use the patching-native-modules skill to fix a crash in the expo-image package by analyzing the provided iOS crash log.

Frequently Asked Questions about patching-native-modules

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix an EXC_BAD_ACCESS crash in an iOS native module?

To fix an EXC_BAD_ACCESS crash in an iOS native module, analyze the crash log stack trace to identify the nil pointer dereference, apply a guard let check in the Swift or Objective-C code, and generate a patch file to resolve the memory access error.

Can I generate patch-package files for Android Kotlin and Java native modules?

Yes, you can generate patch-package files for Android native modules by analyzing crash logs, modifying the Kotlin or Java code to resolve identified bugs, and creating compatible patch files for easy integration into your project.

What is the best way to patch native module crashes without modifying the original package source?

The best way to patch native module crashes without directly modifying the original package source is to generate patch files compatible with patch-package, which integrates the Swift, Objective-C, Kotlin, or Java code fixes into your project seamlessly.

How does crash log analysis work for finding the root cause of mobile app native module failures?

Crash log analysis for native module failures works by interpreting iOS and Android stack traces to pinpoint the exact root cause of the bug, such as identifying nil pointer dereferences or memory access errors within the native code.

Do I need to provide a crash log to patch a native module bug?

Yes, providing a crash log is necessary to patch a native module bug effectively, as the Skill relies on interpreting iOS and Android crash logs to pinpoint the root cause and determine the necessary code modifications for your application.

Does patching native modules support both Swift and Objective-C environments?

Yes, patching native modules supports both Swift and Objective-C environments on iOS, allowing you to modify the code to resolve identified bugs and generate patch files for common issues like nil pointer dereferences.