add-native-extension

Installation
SKILL.md

Skill: Add a Native C++ Extension & JSI Bindings

Use this guide to add custom, performance-critical native operations in C++ and expose them to TypeScript via React Native JSI.


🚦 Architectural Guidelines

Before writing any C++ code, ensure you adhere to the following principles:

  1. Amdahl's Law & Premature Optimization:
    • Prefer existing operations and TypeScript orchestration. Add native code when a missing platform capability, memory/threading requirement or measured bottleneck justifies it. Record relevant measurements when performance is the reason; there is no universal percentage cutoff.
Installs
2
GitHub Stars
1.8K
First Seen
Oct 25, 2026
Security Audits