/mobile-app:add-datasourcefrom mobile-app
Routes users to the correct data source connector (Dataverse, SharePoint, or custom connector) for Expo/React Native Power Apps mobile apps based on their end goal.
Ships in mobile-app. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
Entry routing: use the shared App feature entry points preflight before the workflow below.
Invocation scope: follow Data-source invocation scope before any project read or the workflow below. Resolve the absolute app root before reading memory-bank. Routing selects a data workflow, not implementation approval or a full-app integration workflow.
Router skill that understands the user's goal and connects them to the right data source — without requiring them to know Power Platform terminology.
Check for memory-bank.md per shared-instructions.md.
$ARGUMENTS is provided or the caller already specified what's needed, use it directly and skip the question below.Telemetry checkpoint: route_data_source_request
| User's goal | Best approach | Invoke |
|---|---|---|
| Refresh generated services for a retained data source | Resolve the existing registration; preserve its platform and binding | Matching /add-dataverse, /add-sharepoint, or /add-connector with skill-only --refresh --data-source-name "<registered-name>" |
| Stop using a registered table or connector in this app | Preserve the removal intent and resolve its existing registration type; do not infer a new data platform | Matching /add-dataverse, /add-sharepoint, or /add-connector with skill-only --remove |
| Store and manage structured business data (custom tables, forms, CRUD) | Dataverse is the platform's native database | /add-dataverse |
| Invoke an existing Dataverse action/function/API | Discover with pa app find-dataverse-api; this plugin only adds Dataverse table CRUD | /add-connector |
| Read lists, manage documents, integrate with SharePoint sites | SharePoint Online — dedicated skill with list creation support | /add-sharepoint |
| Add, invoke, refresh, or remove a Power Automate cloud-flow binding | Cloud-flow integration is not supported by mobile skills | None; report the limitation and return without CLI calls |
| Anything else — Teams messages, Excel data, OneDrive files, Office 365 email/calendar, Azure DevOps, Copilot Studio, custom connectors | Generic connector (we'll figure out the right one) | /add-connector |
Note: Dedicated skills for Teams, Excel, OneDrive, Office 365, and Azure DevOps are planned for v1. Until then, /add-connector handles all of them — it covers every connector the platform supports and generates the same src/generated/ service layer.
Important routing rules:
working_dir, current request, owner/phase/scope,
supplied answers, and --plan-only or planning-phase status unchanged on every
handoff. Standalone calls use the selected leaf's own approval and verification
gates; a saved plan or router choice is not consent to mutate.--refresh,
--data-source-name, proposal-only status, and current approved scope to the matching leaf.
Never convert a refresh into an add or request a new connection.
Conflicting add/refresh/remove scopes return to the owner for separate calls./add-connector with the connector name as the argument (e.g., /add-connector office365, /add-connector teams).BLOCKED: cloud-flow integration is not supported and return without discovery or mutation. Do not route it through a connector or Dataverse workflow./add-connector and tell it to use $PA app find-dataverse-api --search '<operation-name>' --json; then stop and explain that this plugin only adds Dataverse table CRUD./add-dataverse.If the user describes a vague goal (e.g., "I need data for my app"), guide them:
What SKILL.md sets; muted values are Claude Code's defaults
sonnetThree short reads, in order
npx claudepluginhub microsoft/power-platform-skills --plugin mobile-app26 skills in this plugin
/add-connectorUse when adding a Power Platform connector to an Expo/React Native Power Apps mobile app and no dedicated mobile connector skill exists./add-dataverseUse when the user wants to add Dataverse tables (existing or new) to a Power Apps mobile app, extend an existing Dataverse table with new columns, or apply an approved data model plan./add-nativePublic 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.Other plugins' skills for the same job