maui-device-capabilities

Installation
SKILL.md

MAUI Device Capabilities

Use this skill when a MAUI app needs device services such as files, media, camera, location, or maps. Always pair runtime API calls with platform declarations and a user-friendly denied/cancelled path.

Workflow

  1. Inspect target platforms and existing files under Platforms/Android, Platforms/iOS, Platforms/MacCatalyst, and Platforms/Windows.
  2. Identify the exact capability and minimum permission needed.
  3. Add platform declarations before requesting runtime permissions.
  4. Request permissions close to the feature that needs them, after explaining why the app needs access.
  5. Treat cancellation as normal user choice.
  6. Keep device APIs behind services if ViewModels or tests should not depend on MAUI static APIs directly.
  7. Validate on every target platform because permission names and UX differ.
Installs
1
GitHub Stars
213
First Seen
4 days ago
maui-device-capabilities — dotnet/maui-labs