add-data-source
Guide the user to add a data source, connection, or API connector to a Canvas App via Power Apps Studio, then verify and…
Use when the user wants to seed Dataverse tables with realistic sample records so a freshly-scaffolded code app shows real-looking data on first launch. Generates contextually appropriate rows from each table's schema and inserts them in dependency order. Mirrors
Claude Code
$ npx -y skills add microsoft/power-platform-skills --skill add-sample-data --agent claude-code
Codex
$ npx skills add microsoft/power-platform-skills --skill add-sample-data -a codex -y
Cursor
$ npx skills add microsoft/power-platform-skills --skill add-sample-data -a cursor -y
Gemini CLI
$ npx skills add microsoft/power-platform-skills --skill add-sample-data -a gemini-cli -y
GitHub Copilot
$ npx skills add microsoft/power-platform-skills --skill add-sample-data -a github-copilot -y
OpenCode
$ npx skills add microsoft/power-platform-skills --skill add-sample-data -a opencode -y
Windsurf
$ npx skills add microsoft/power-platform-skills --skill add-sample-data -a windsurf -y
name: add-sample-data description: Use when the user wants to seed Dataverse tables with realistic sample records so a freshly-scaffolded code app shows real-looking data on first launch. Generates contextually appropriate rows from each table's schema and inserts them in dependency order. Mirrors microsoft/power-platform-skills/power-pages/add-sample-data, adapted for mobile apps. user-invocable: true allowed-tools: Read, Edit, Write, Grep, Glob, Bash, AskUserQuestion model: sonnet
> **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](${PLUGIN_ROOT}/shared/shared-instructions.md)** — read first.
**App root:** before any project read or command, execute [app-working-directory.md](${PLUGIN_ROOT}/shared/references/app-working-directory.md). Use its resolved absolute `working_dir` for every shell call and file tool, including media paths and retries; never inherit a prior `cd`.
Populate Dataverse tables with realistic sample records so a freshly-scaffolded code app shows real-looking data on first launch. Generates rows from each table's schema and inserts them in dependency order. Use after `/add-dataverse` (or `/setup-datamodel`) has created the tables.
approved table with a small useful dataset. The manifest is verified app inventory and can include retiring or unrelated tables; its presence is not permission to seed them. Scope and retirement exclusions override every coverage, fanout, prototype-reuse, media, and retry rule below.
0. Resolve approved seed scope → 1. Verify project + auth → 2. Discover scoped tables → 3. Select tables + count → 4. Generate + preview → 5. Insert → 6. Summary
Inputs are skill arguments, not flags for `dataverse-request.js`:
explicit/inherited roots. Never default to shell cwd in a nested invocation.
allowlist. Required for every orchestrated call, including fresh creation.
the approved edit; omit or pass an explicit empty string only when none retire.
For an orchestrated call, require the scoped handoff and matching `--tables` before auth, record-count queries, or generation. A missing or malformed allowlist returns `NEEDS_CONTEXT`; never fall back to all manifest tables. An explicitly empty allowlist is a no-op: report no approved seed tables and return without cloud calls or writes.
Validate logical names against the manifest and the approved plan/caller scope. Build `retiringTables` from the caller's retirement set plus any pending removals recorded in the current plan/history; include these in `--exclude-tables`. If an allowlisted name is absent/unverified or overlaps `retiringTables`, stop before insertion and return the scope mismatch. Do not silently drop unknown names or infer permission from a transitional manifest entry.
For a standalone request, honor explicit `--tables` and exclusions. If no table list was supplied, discover candidates in Step 2 and ask the user to approve the specific table set/counts before Step 5, then freeze that selection as `seedTables`. For this standalone discovery path, validate against verified metadata when the local manifest is absent; never treat the discovery result itself as approval. Pending retirement always excludes a candidate; if that state is unclear, ask rather than treating the manifest as approval. Read-only fallback discovery is not permission to seed the environment.
Keep a fixed `seedTables` allowlist throughout the invocation. All later selection, batches, media jobs, and resume operations must remain within it. Do not edit `.datamodel-manifest.json` or the app plan to make an excluded table eligible. Expanding scope requires returning to the owning approval gate.
For `--plan-only` or a planning-phase handoff, use the supplied proposed table scope for read-only checks and return the proposed counts, dependency needs, and media policy before Step 5. Planning approval is not insertion approval. Do not generate media files, insert/update/upload records, or change the app plan, manifest, or seeded-data history on this path.
`--from-seed` is used by `/prototype-to-real-app` after a mock prototype is converted to Dataverse. In this mode, prefer existing prototype seed files before gen
Plugins from Microsoft that teach AI assistants, such as GitHub Copilot and Claude Code, to build on Power Platform.
Guide the user to add a data source, connection, or API connector to a Canvas App via Power Apps Studio, then verify and…
Creates or edits a Power Apps Canvas App through the Canvas Authoring MCP coauthoring session. Handles staged experience design,…
Configure the Canvas Authoring MCP server for the current coauthoring session. Use before starting to edit a canvas app with the…
Use this skill when the user wants to "report a bug", "file an issue", "report an issue", "submit a bug report", or report any…
Adds Azure DevOps connector to a Power Apps code app. Use when querying work items, creating bugs, managing pipelines, or making…
Adds any Power Platform connector to a Power Apps code app. Generic fallback for connectors not covered by a specific skill.
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.