PowerAppsCodeApps / Dataverse
Copilot instructions510 starsChanged 10 months agoMITView on GitHub
This guide explains how to initialize an app, add a data source using the Power SDK CLI and generate the corresponding Models and Services, and publish the app. Always continue immediately without asking for confirmation at each step. Use the following command to initialize an app: Use the following command to add a data source: If additional parameters such as table and dataset are required, use: Use the following command to publish an app: - Read the files under src\Models…
In this repository5 other files it gives its agents.
- docs/assets/AGENTS.mdAGENTS.md
- samples/FluentSample/.github/copilot-instructions.mdCopilot instructions
- samples/Dataverse/.cursor/rules/powersdkcli.mdcCursor rule
- samples/FluentSample/.cursor/rules/powersdkcli_backup.mdcCursor rule
- samples/FluentSample/.cursor/rules/powersdkcli.mdcCursor rule
The file
We split this copilot-instructions.md into the rules it gives an agent
6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use the following command to initialize an app:
- Distinctive: line 22
Use the following command to add a data source:
- Distinctive: line 34
If additional parameters such as table and dataset are required, use:
- Distinctive: line 46
Use the following command to publish an app:
- Distinctive: line 61
Read the files under src\Models and src\Services folder for data binding.
- Distinctive: line 62
Read the files under .power\schemas folder for other schema reference.
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Power SDK Instructions Start
Overview
This guide explains how to initialize an app, add a data source using the Power SDK CLI and generate the corresponding Models and Services, and publish the app.
Always continue immediately without asking for confirmation at each step.
CLI Command
Use the following command to initialize an app:
pa app init --display-name <app name> --environment-id <environmentId>Example:
pa app init --display-name "Asset Tracker" --environment-id "<environment-id>"Use the following command to add a data source:
pa app add data-source --connector <apiId> --connection-id <connectionId>Example:
pa app add data-source --connector "shared_office365users" --connection-id "<connection-id>"If additional parameters such as table and dataset are required, use:
pa app add data-source --connector <apiId> --connection-id <connectionId> --table <tableName> --dataset <datasetName>Example:
pa app add data-source --connector "shared_sql" --connection-id "<connection-id>" --table "[dbo].[MobileDeviceInventory]" --dataset "<server-name>,<database-name>"Use the following command to publish an app:
npm run build
pa app pushExample:
pa app pushUsing Model and Service
- Read the files under src\Models and src\Services folder for data binding.
- Read the files under .power\schemas folder for other schema reference.
Power SDK Instructions End
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

