Skills

Add Native

Public entry point for native device capabilities and native controls, camera, image...

Install

npx skills add microsoft/power-platform-skills --skill add-native -g -a claude-code -y
Category
Documents
Updated
4d ago
License
MIT
Context cost
Mediumabout 3,000 tokens
Runs scripts
No, instructions only

What it does

Public entry point for native device capabilities and native controls, camera, image picker, barcode/QR scanner, document picker, file picker, secure storage, file system, sharing, haptic feedback, PDF generation/viewing, pen/signature capture, background GPS/geolocation tracking, or supported local file workflows, in a Power Apps mobile app. Also owns routing to internal camera/PDF/pen/geolocation implementation helpers and the guidance boundary between native wrappers and Dataverse File/Image host controls.

Plugin check: Run node "${PLUGIN_ROOT}/scripts/check-version.js" - if it outputs a message, show it to the user before proceeding.

📋 Shared instructions: shared-instructions.md, read first.

Working directory: before any project read or command, execute native-artifact-compatibility.md Step 0. Resolve --working-dir / owner context there; use the resolved absolute root for every shell call and file tool, not a previous shell's cwd.

Add Native Capability

Entry routing: use the shared App feature entry points preflight before the workflow below.

The leaf generates typed wrappers under src/native/ for native capabilities that the upstream template already ships. Screens import the wrapper instead of touching Expo modules directly, so the discriminated-union result contract stays consistent.

Hard rules, do NOT cross these lines

Read the whole SKILL.md on GitHub

More in Documents