plugins/code-apps/skills/add-datasource/SKILL.md
Adds a data source or connector to a Power Apps code app. Asks what the user wants to accomplish and routes to the appropriate specialized skill.
npx skillsauth add microsoft/power-platform-skills add-datasourceInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
📋 Shared Instructions: shared-instructions.md - Cross-cutting concerns.
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.Map the user's goal to the appropriate skill:
| User's goal | Best approach | Invoke |
|-------------|---------------|--------|
| Store and manage structured business data (custom tables, forms, CRUD) | Dataverse is the platform's native database | /add-dataverse |
| Track work items, bugs, builds, or pipelines | Azure DevOps connector | /add-azuredevops |
| Send or read Teams messages, post to channels | Teams connector | /add-teams |
| Read/write Excel spreadsheet data | Excel Online (Business) connector | /add-excel |
| Upload, download, or manage files | OneDrive for Business connector | /add-onedrive |
| Work with SharePoint lists or document libraries | SharePoint Online connector | /add-sharepoint |
| Send emails, read inbox, manage calendar events | Office 365 Outlook connector | /add-office365 |
| Invoke an AI agent or copilot built in Copilot Studio | Copilot Studio connector | /add-mcscopilot |
| Something else or not sure | Generic connector (we'll figure it out) | /add-connector |
Important routing rules:
/add-office365 for sending email, /add-teams for posting messages).If the user describes a vague goal (e.g., "I need data for my app"), guide them:
development
(Preview) Builds and edits a model-driven Power Apps app from a natural-language intent — tables, columns, relationships, adaptive forms with sub-grids, views, Choice-column charts, generative page intents for overview/dashboard surfaces (page `.tsx` generated in generate-pages after plan approval), and an app module + sitemap — via the headless cds-maker-sdk. Runs an interactive, multi-turn authoring flow (env selection, jobs-to-be-done first, then design-only App Spec authoring across confirmed levels, guardrail lint, plan-mode approval, generate-pages, full build) and a narrated build, and can download a deployed app back into an editable spec to change it. Use when the user says "build an app for X", "create a model-driven app", "make me an app to manage Y", or "edit/add to my app". This skill stands alone and does not require /genpage — but for a standalone generative page added to an app that already exists, use /genpage instead.
data-ai
Use when the user wants to enable offline mode for a Power Apps mobile app and create a Mobile Offline Profile in Dataverse — designs per-table row scope, relationships, columns, and sync frequency through a 3-gate approval flow.
data-ai
Use when the user wants to design or redesign the Dataverse schema and connector plan for an existing mobile app, or has an ER diagram (image, Mermaid, or text) to apply. Skip when the user is creating a brand-new app — /create-mobile-app handles the data model inline.
tools
Use when the user wants to report a bug, file an issue, submit a bug report, or report any problem with the mobile-app plugin.