maui-platform-invoke
CommunityInvoke platform-native APIs across MAUI apps.
System Documentation
What problem does it solve?
Coordinating cross-platform MAUI apps with native platform capabilities can be verbose and error-prone. This Skill provides structured guidance to expose and call platform-specific APIs from shared code using partial classes, conditional compilation, multi-targeting configuration, and DI patterns for Android, iOS, MacCatalyst, and Windows.
Core Features & Use Cases
- Cross-platform interop patterns: partial classes, conditional compilation, multi-targeting, and DI wiring.
- Platform-specific implementations located under Platforms/{Platform} with shared interfaces in a clean separation.
- Use Case: Build a service to access device features (camera, sensors) from common code while delegating to platform-specific implementations.
Quick Start
Create a cross-platform service interface and implement platform-specific logic in Platforms/Android, iOS, MacCatalyst, and Windows, then wire the implementations via DI so shared code can call native APIs.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: maui-platform-invoke Download link: https://github.com/mkazimoto/AppMAUICopilot/archive/main.zip#maui-platform-invoke Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.