canvas-apps
Skill46 starsChanged 8 months agoMITView on GitHub
Canvas Apps Development with Power Fx. Use when: building Canvas Apps, Power Fx formulas, delegation patterns, component libraries, responsive Canvas layout, offline capabilities, modern controls, named formulas, Canvas App ALM.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- microsoft/PilotSwarmtheir own version, first seen Mar 6, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- microsoft/PilotSwarm★ 17same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository40 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- accessibility-uxSkill
- ai-builderSkill
- almSkill
- architectureSkill
- azure-openaiSkill
- business-process-flowsSkill
- code-appsSkill
- code-reviewerSkill
- copilot-studioSkill
- custom-connectorsSkill
- dashboardsSkill
- data-migrationSkill
- dataverse-mcpSkill
- dataverseSkill
- dataverse-web-apiSkill
- devops-engineerSkill
- env-strategySkill
- governanceSkill
- integration-patternsSkill
- licensingSkill
- m365-integrationSkill
- model-driven-appsSkill
- observabilitySkill
- pcfSkill
- perf-optimiseSkill
- platform-builderSkill
- pluginsSkill
- power-automateSkill
- power-biSkill
- power-pagesSkill
- power-platform-teamSkill
- project-managerSkill
- securitySkill
- solutions-architectSkill
- spec-driven-devSkill
- test-engineSkill
- testingSkill
- uat-coordinatorSkill
- web-resourcesSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 78
Use Live property for dynamic content updates (screen reader announcements)
- Distinctive: line 80
Ensure all functionality accessible via keyboard
- Distinctive: line 81
Use the Accessibility Checker in Power Apps Studio: App checker → Accessibility
- Distinctive: line 96
Not implementing error handling on form submissions
≈ “Common” is an estimate: at least 1 in 5 of the 372,429 skill 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
Skill: Canvas Apps Development
When to Use
Trigger when building, reviewing, or debugging Canvas Apps — low-code Power Apps built with Power Fx formulas, connectors, and drag-and-drop controls for mobile, tablet, and web scenarios.
AI Accuracy Warning
LLMs produce less accurate Power Fx than mainstream languages (JavaScript, C#, Python) due to smaller training datasets. Always verify AI-generated Power Fx formulas — especially complex ones involving delegation, ThisItem/ThisRecord, concurrent collections, or nested If/Switch logic. Use Power Apps Test Engine to validate formulas before promoting to production.
When to Use Canvas Apps vs Alternatives
| Scenario | Best Choice | Why |
| Standard Dataverse CRUD + business process | Model-Driven App | Built-in forms, views, business rules |
| Custom pixel-perfect UI + pro-dev team | Code App | Full React/TypeScript control |
| Mobile-first field app | Canvas App | Power Apps mobile, offline, camera, GPS |
| SharePoint list frontend | Canvas App | SharePoint form customization |
| Multi-data-source mashup | Canvas App | 1000+ connectors |
| Quick internal tool / form | Canvas App | Fastest time-to-value |
| Citizen developer / maker | Canvas App | Low-code, no TypeScript needed |
| Complex interactive dashboards | Code App | Better performance, charting libraries |
⚠️ REQUIRED: Load Sub-Files Before Implementation
SKILL.md is a summary only — it is NOT sufficient for implementation.
The detailed content (complete payloads, XML templates, working examples, edge-case handling) lives in sub-files in the same directory as this SKILL.md. Before writing any code, you MUST use read_file on the sub-files relevant to your task:
- Power Fx Fundamentals — data types, core functions (CRUD, navigation, variables), named formulas, UDFs
- Delegation — delegable vs non-delegable functions, limits, warning patterns, workarounds
- Components & Modern Controls — component library, property types, Fluent 2 modern controls, theming
- Screen Patterns & Responsive Design — master-detail, loading pattern, container layout, phone vs tablet
- Offline Capabilities — LoadData/SaveData, connectivity check, offline queue + sync pattern
- Connectors, Data Sources & Integration — connector types, Dataverse/SharePoint patterns, Power Automate integration, environment variables
- Canvas ALM — solution-aware development, source control (pac canvas unpack/pack), co-authoring
- Performance & Error Handling — Concurrent loading, optimization do's/don'ts, form validation, IfError
- Power Fx Function Reference — Complete function reference by category: Text, Math, Date/Time, Logical, Table, Collection, Behavior, JSON, Environment
- Power Fx Operators Reference — Arithmetic, comparison, logical, membership (
in/exactin), scope (ThisItem/Self/Parent/As/@), chaining, type operators, precedence - Controls Reference — Top 15 Canvas controls (Gallery, EditForm, TextInput, ComboBox, Button, etc.) with key properties, events, patterns, modern vs classic differences
Naming Conventions
| Object | Convention | Example |
| Screens | [Feature]Screen | ContactBrowseScreen, ContactDetailScreen |
| Galleries | gal[Name] | galContacts, galOrders |
| Buttons | btn[Action] | btnSave, btnDelete, btnRefresh |
| Text Inputs | txt[Field] | txtFirstName, txtSearchQuery |
| Dropdowns | drp[Field] | drpStatus, drpPriority |
| Labels | lbl[Purpose] | lblTitle, lblErrorMessage |
| Icons | ico[Purpose] | icoSearch, icoClose |
| Forms | frm[Entity] | frmContact, frmOrder |
| Containers | con[Purpose] | conHeader, conSidebar |
| Global variables | gbl[Name] | gblUserName, gblIsAdmin |
| Context variables | loc[Name] | locIsEditing, locErrorMsg |
| Collections | col[Name] | colContacts, colPendingChanges |
| Flows | flow[Action] | flowProcessOrder, flowSendNotification |
| Components | cmp[Name] | cmpStatusBadge, cmpSearchBar |
| Component libraries | lib[Name] | libSharedControls |
Accessibility in Canvas Apps
- Set
AccessibleLabelon every control - Set
TabIndexfor logical tab order (0 for interactive, -1 to skip) - Use
Liveproperty for dynamic content updates (screen reader announcements) - Provide sufficient color contrast (4.5:1 for text)
- Ensure all functionality accessible via keyboard
- Use the Accessibility Checker in Power Apps Studio: App checker → Accessibility
Anti-Patterns
- Building Canvas Apps outside of solutions ("My Apps")
- Direct connections instead of connection references
- Hardcoded GUIDs or environment URLs
- Loading entire tables without
Filteror$top - Ignoring delegation warnings (blue underline in formula bar)
- Using
Setfor table data instead ofClearCollect - Nesting
ForAllwithPatchfor bulk operations - Using
OnStartfor heavy data loading withoutConcurrent - Naming controls with default names (Button1, Label4, Gallery3)
- Not implementing error handling on form submissions
- Using
NavigatewithoutBack()support (no way to return) - Embedding sensitive values in formulas (visible in .msapp file)
- Using the Dynamics 365 connector (deprecated) — use the native Microsoft Dataverse connector instead
- Using the Dataverse (legacy) connector — use the current Microsoft Dataverse connector
Related Skills
dataverse— Table design and data modeling for Canvas App data sourcespower-automate— Cloud flows triggered from Canvas Appstesting— Canvas App testing strategiesaccessibility-ux— WCAG compliance in Canvas Apps
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.

