What problem does it solve?
Native extension repos for Power Apps mobile (.ppmplugin bundles) can fail late — at build time or on device — due to fixable structural mistakes like mismatched module names, missing manifest entries, or unsafe constructors. This Skill runs a fast, toolchain-free pre-flight validation so those errors surface in seconds before slow Gradle or xcodebuild compiles.
Core Features & Use Cases
- Layered automated validation: Runs Layer 0 holistic contract cross-checks (native ↔ manifest ↔ PCF), Layer 1 native-source structure asserts (Android getName(), iOS +moduleName, @ReactMethod, load/init readiness), Layer 2 manifest.json validation against ppmplugin-format rules, Layer 3 request/response/error-code agreement, and Layer 4 PCF compile.
- Crash-at-launch prevention: Hard-gates checks for ReactPackage no-arg constructors, iOS [cls new] instantiation, requiresMainQueueSetup, and non-throwing eager construction so launch-time crashes are caught before any build.
- Use Case: After scaffolding a third-party native control with Android and iOS modules plus a PCF companion, run this Skill to confirm the routing key, method names, and error codes agree across all three artifacts before invoking /build-android-binary or /build-ios-binary.
Quick Start
Ask the agent to run the test-native-extension validation on the current native extension repo and report pass or fail per layer with fix hints.