/flowstudio-power-automate:power-apps-canvas-editfrom flowstudio-power-automate
Builds and edits Power Apps canvas apps via FlowStudio MCP: create apps, add/restyle screens and controls, write Power Fx, build galleries, connect Dataverse/SharePoint/flows. Requires FlowStudio MCP subscription.
Ships in flowstudio-power-automate. 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.
Read when SKILL.md points to them.
All edits go through update_canvas_app as named operations: set a property,
add a control, rename a screen. The server writes the package files, keeps
control ids unique, rewrites the YAML for most edits (not after
renameScreen, see "Renaming screens") and checks every formula. Do not edit
Controls/*.json or Src/*.pa.yaml by hand.
Prerequisite: The power-apps-canvas-mcp skill (sessions, timeouts) and,
for finding things, power-apps-canvas-read. Pushing and publishing are in
power-apps-canvas-ship. Subscribe at https://mcp.flowstudio.app
Always call
tool_searchwith"skill:canvas-app"first to confirm tool names and parameter schemas. They change between server versions. This skill covers behavior the schemas cannot tell you. Tool behavior was checked on the production server on 2026-11-20; lines marked "on a real app" come from customer apps built between August and November 2026. If what a response shows actually happened disagrees with this file, the response wins. The server's general guidance text does not override the warnings here.
power-apps-canvas-ship, "Power Apps Studio"). Then
get_canvas_app. If session.pendingEdits is above 0 and you did not
stage them, diff_canvas_app from base to session shows what they
are; ask the person before discard_canvas_app_session drops them.list_canvas_controls for control names,
describe_canvas_control for a control's property names and current
formulas, or for a type's properties (name: "modernButton").get_canvas_app_sources before any formula that
touches a table, so column names are real.check_canvas_formula with
formulas, screen and control. power-apps-canvas-read lists what it
gets wrong.update_canvas_app with dryRun: true. It reports from and
to per edit and lists edits that match nothing.dryRun. Read notMatched, hints,
defaults and layoutSuggestions in the reply.describe_canvas_control on what you changed.check_canvas_formula with no formula, then
score_canvas_app. Fix what is worth fixing and repeat.power-apps-canvas-ship.update_canvas_app Applies Editsedits is an ordered list and runs in order. After renameControl
from Label1 to lblTitle, every later edit in the same batch must say
lblTitle (seen with a screen rename on 2026-11-20).notMatched with a reason; the rest are staged. Fix and re-send only the
failed ones.=. Text keeps its quotes
("\"Hello\"" in JSON). Colors are RGBA(0, 120, 212, 1).OnStart, Formulas, StartScreen) use
screen: "App" and control: "App". Named formulas go in Formulas, for
example fxTotal = Sum(colExpenses, Amount);.notMatched; the rest of the batch still applies, and a push in the same
call goes ahead without it.op | Does | Seen in testing |
|---|---|---|
setProperty (default) | writes formula to property | reply shows from and to |
removeProperty | reverts a property to its default | the way to drop an unwanted formula |
addControl | adds control of type under parent | see "Adding Controls" |
moveControl | changes parent and/or position | after worked; before and position are from the tool description |
renameControl | renames and rewrites every formula that uses it | reply gives formulasRewritten |
deleteControl | removes a control | refused while formulas use it, listing them; force: true overrides |
addScreen | adds an empty screen, last in order | App.StartScreen is untouched |
renameScreen | renames and rewrites Navigate calls | empties that screen's YAML file; see "Renaming screens" |
deleteScreen | removes a screen | refused while anything navigates to it; force: true overrides (fix the Navigate calls first) |
addDataSource | Dataverse table, SharePoint list, connector or flow | see "Data Sources" |
refreshDataSource | re-reads a source's schema | worked for all four kinds |
removeDataSource | removes a table or list | refused while formulas use it; force: true overrides according to the tool description (not tested); does not handle connectors or flows |
addFlow | same as addDataSource with flow | seen in a dry run only |
type takes the YAML type name. In an app with modern controls (the default
for new apps) the server builds the modern version; modern: false gives the
classic one. The table uses the names the reply's type field gives:
type | Modern app builds | Classic app builds |
|---|---|---|
Label | ModernText (a text label) | Label |
Text | ModernTextInput (an input box) | Classic/TextInput, per the server's hint |
TextInput | ModernTextInput | Classic/TextInput |
Button | ModernButton | Classic/Button |
Gallery | Gallery | not tested |
Image | Image (not tested) | not tested |
Table | Table (the modern data table) | not tested |
Toggle | not tested | Classic/Toggle |
Dropdown | not tested | Classic/DropDown |
Galleries and images have one generation, used by modern and classic apps
alike. Text builds an input box, not a label. Use Label for display
text. The reply's type field says what was actually built; check it.
list_canvas_controls with in: "catalog" lists every type you can add.
When the app already has a control of the same type, addControl models the
new one on it (modelledOn in the reply). Normally it drops the model's own
settings. Seen on 2026-11-20, it copied them instead:
Size: 20 from the title label (listed in defaults);DisplayMode formula, which
disabled them whenever two unrelated text boxes were empty. One of the two
replies did not mention it.In both cases the model control sat on a screen whose YAML a renameScreen
had emptied; one of the new buttons went on a different screen and still
copied. The server reads the model's own settings from the model's screen
YAML to know what to drop, and with nothing there it keeps everything except
On... formulas. So expect copying whenever the model is on such a screen,
wherever the new control goes, and in older apps with no YAML at all (read
from the server code, not tested).
After every addControl, describe_canvas_control the new control and
removeProperty anything it should not have, behavior formulas above all
(DisplayMode, Visible). Set every property you care about explicitly in
properties. copyFrom copies a chosen control on purpose.
parent is the container (or gallery) to put it in; the default is the
screen.before, after
or position. X and Y are ignored.X and Y; order
only decides which paints on top.create_canvas_app and their containers:
responsive: HeaderContainer1, MainContainer1, FooterContainer1
inside ScreenContainer1sidebar: HeaderContainer1, SidebarContainer1, MainContainer1split-screen: LeftContainer1, RightContainer1phone, tablet: an empty screen, controls by X and YaddScreen gives an empty screen with no containers, even in a responsive
app. Place controls by X and Y.Act on what the reply says about the new control:
hints, for example a missing AccessibleLabel. App Checker flags it on
modern buttons and icons, data tables, classic text inputs, combo boxes and
toggles, and galleries, not on labels or classic buttons.layoutSuggestions, for example text-height (a modern text label too
short for its font shows a scrollbar) and input-label (an input with no
visible label beside it).On 2026-11-20 renameScreen left the renamed screen's Src/<Screen>.pa.yaml
holding only the screen name, and later edits did not rebuild it. Studio
parses that file when it opens the app (see "Images and Other Package Files"
below, and "Package Files" in power-apps-canvas-read), so the app may open
with that screen empty, or not open at all; this was not checked. The model
controls in "New controls can copy formulas from an existing one" sat on that
screen. Until the server is fixed:
addScreen rather than renaming.
For the first screen create_canvas_app makes, keep its name (Screen1).
In a phone or tablet app you can instead add a named screen, set
App.StartScreen to it, and delete the first (not tested). In a
responsive, sidebar or split-screen app that loses the starting
containers, so keep Screen1 there.There are three generations with different property names. The new modern
text input outputs .Text; the older Fluent one outputs .Value. Writing the
wrong one compiles as an error. Check the control's type with
describe_canvas_control and read
control-dialects.md before touching text,
color, font weight, alignment or input values.
parent set to the gallery.ThisItem.<column> and size against
Parent.TemplateWidth and Parent.TemplateHeight. TemplateSize sets the
row height.OnSelect is
UpdateContext({ itemSelected: true, CurrentItem: ThisItem }).fields on addControl (the columns to show, in order) does not work on a
gallery yet; it is refused with a clear message. It is accepted on a
Table, but on 2026-11-20 the score then marked the column controls it
built as zero-size; whether they really were was not checked. Look at the
table in the published app before relying on it.Parent: on a real app, a Select(Parent) in them then
selected the container, not the row, and Studio showed errors. Change those
to Select(<GalleryName>).Visible is IsEmpty(<items>) so an empty list says what
to do; the score marks galleries without one.Call get_canvas_app_sources after adding any source, and use the names it
returns.
| Source | Edit | Name in formulas |
|---|---|---|
| Dataverse table | {"op": "addDataSource", "table": "contact"} (logical name) | display name, for example Contacts |
| SharePoint list | "connector": "sharepoint", "dataset": "<site URL>", "table": "<list title>" | the list title, for example 'Grocery Price Catalog' |
| Connector | "connector": "shared_office365users" | for example Office365Users |
| Flow | "flow": "<flow id>" | the flow's name with spaces removed, in single quotes if it still has hyphens or other symbols: 'Greeting-Flow'.Run(...) |
connection.PowerAppV2). list_live_flows gives the id.refreshDataSource after a list or table gains columns, or after a flow's
inputs or outputs change.removeDataSource removes tables and lists only. There is no edit that
removes a connector or flow from an app.ClearCollect
of a whole list, a Filter it cannot run on the server) stop at
DefaultConnectedDataSourceMaxGetRowsCount rows, 500 by default, with no
error. On a real app the newest rows were the ones that went missing. The
setting is in Properties.json. There is no edit for it, and patching that
file with update_canvas_app_files was not tested, so filter on the server
or tell the person to raise it in Studio (the maximum is 2,000).The checker misses these, or reports them only vaguely:
Select(btnSave) does not wait. Formulas after it in the same OnSelect
run before btnSave's OnSelect finishes. On a real app this stamped
records with the previous person's name. Write the follow-up
into btnSave's own OnSelect, or repeat the logic, instead of relying on
Select to finish first.Navigate in a screen's OnVisible checks clean, but Studio reported it as
an error on a real app.Sort(Distinct(list, Origin), "Result") sorts nothing. Use Value, unquoted, in current apps (Result
in older ones). The checker shows only a vague "Arguments were rejected" for
the quoted form, and wrongly says Value is "not recognised" (2026-11-20).
Ignore that warning.update_canvas_app_files stages raw package files.
create Assets/Images/<name>.png with encoding: "base64". The
server registers it, and formulas use it by name (Image: logo).patch changes one exact match in a text file without resending it. It
refuses when find matches nothing, or matches several places and you did
not pass occurrence (1 = first match).Src/*.pa.yaml. The player runs the control JSON, and the
server warns that a YAML write changes nothing, but it still pushes the file.
The package then has YAML that disagrees with the app, and Studio parses
that YAML when it opens the app. On a real app a YAML syntax error stopped
Studio opening an app the player ran fine.create_canvas_app with start (responsive, sidebar, split-screen,
phone, tablet) and a name not used in the environment. modern
defaults to true. The app is created published, with one screen.fromApp: "<app id>" copies an app. It runs as a saveAsNewApp push on
the source app: the reply's top-level appId is the source, and the
copy is newApp.appId. Use the copy's id for every later call; running the
test-data steps below on the top-level appId changes the original app.
Staged edits in the source's session go into the copy and are then cleared
from the source, so check its session.pendingEdits first. On a real app a
copy took 20 seconds. On 2026-11-20 a copy of an app with a flow and three
data sources, made while two other creates ran, timed out twice and was
still created the first time. See "Long Calls and Timeouts" in
power-apps-canvas-mcp before retrying a create.update_canvas_app with push: true and saveAsNewApp: "<name>" saves
your session as a new app and leaves the source untouched, apart from
closing its session. As with fromApp, the reply's appId is the source
and newApp.appId is the new app. It took 13 seconds for a small app and
31 seconds on a real app. The new app is created published, so it is
live for anyone it is shared with.fromApp copy came
back published and connected to the same SharePoint lists and flows as the
source, so anything tested in it wrote to the real data. Expect the same
from saveAsNewApp (not checked). To point a copy at test data:
removeDataSource with force: true (it refuses while formulas use the
list), addDataSource a test list that ends up with the same name in
formulas, then check_canvas_formula on the whole app. That sequence was
not tested, and flows cannot be removed. Otherwise test only with data that
is safe to change.Load tool_search "skill:canvas-layout" for Microsoft's layout guidance.
Every staging reply carries layoutSuggestions; check_canvas_formula with
layout: true lists them for the whole app. Common ones:
LayoutOverflowY: LayoutOverflow.Scroll) so
content taller than the screen can be reached. An inner container that
should fit its children exactly gets an exact Height and
LayoutOverflow.Hide instead (see
autolayout-semantics.md);FillPortions: 0 plus a height for a gallery inside a scrolling container;LayoutWrap or a width test on LayoutDirection for rows that squeeze on a
phone.autolayout-semantics.md covers what the player honors and ignores inside containers.
score_canvas_app returns ranked fixes with their score gain. Work down the
list: empty-state labels, a way to reach every screen, Notify after a save
and a busy state on save buttons, a theme instead of literal colors. Re-score
after each round. Push and publish replies carry the score too.
power-apps-canvas-mcp: sessions, draft versus live, timeouts and costspower-apps-canvas-read: find controls, formulas and columns before you editpower-apps-canvas-ship: push, publish and recover from refused pushespower-automate-build: build or change a flow the app callsWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (ninihen1/power-automate-mcp-skills) — no native marketplace selected
npx claudepluginhub p/ninihen1-flowstudio-power-automate9 skills in this plugin
/power-apps-canvas-mcpGround rules for Power Apps canvas apps through FlowStudio MCP: the canvas tools, edit sessions, draft versus live, and long calls and timeouts. Load this skill first for any canvas app work, before `power-apps-canvas-read`, `power-apps-canvas-edit` or `power-apps-canvas-ship`, and when a canvas call behaves strangely: a timeout that may still have created something, a push stuck importing, a session that moved, or draft-versus-live confusion. Requires a FlowStudio MCP subscription; see https://mcp.flowstudio.app/power-apps-canvas-readInspect, audit and diagnose Power Apps canvas apps through FlowStudio MCP: control trees, formulas, data sources and their columns, formula checks, a quality score, version diffs, and what the published app actually contains. Load this skill when asked to: find the formula or control behind a behavior, check formulas for errors, list data sources and columns, score an app's quality, compare versions, find when something broke, or confirm what users are running. Requires a FlowStudio MCP subscription; see https://mcp.flowstudio.app/power-apps-canvas-shipPush and publish Power Apps canvas app changes through FlowStudio MCP, and get out of trouble: refused pushes, apps that call flows, damaged drafts and Power Apps Studio saving over your work. Load this skill when asked to: push or publish canvas app changes, recover from a push refused because the app moved, fix a push that fails on a deleted flow, spot a damaged draft or restore a good version, or work alongside an open Power Apps Studio session. Requires a FlowStudio MCP subscription; see https://mcp.flowstudio.app/power-automate-buildBuild, scaffold, and deploy Power Automate cloud flows using the FlowStudio MCP server. Your agent constructs flow definitions, wires connections, deploys, and tests — all via MCP without opening the portal. Load this skill when asked to: create a flow, build a new flow, deploy a flow definition, scaffold a Power Automate workflow, construct a flow JSON, update an existing flow's actions, patch a flow definition, add actions to a flow, wire up connections, or generate a workflow definition from scratch. Requires a FlowStudio MCP subscription — see https://mcp.flowstudio.app/power-automate-debugDebug failing Power Automate cloud flows using the FlowStudio MCP server. The Graph API only shows top-level status codes. This skill gives your agent action-level inputs and outputs to find the actual root cause. Load this skill when asked to: debug a flow, investigate a failed run, why is this flow failing, inspect action outputs, find the root cause of a flow error, fix a broken Power Automate flow, diagnose a timeout, trace a DynamicOperationRequestFailure, check connector auth errors, read error details from a run, or troubleshoot expression failures. Requires a FlowStudio MCP subscription — see https://mcp.flowstudio.app/power-automate-governanceGovern Power Automate flows and Power Apps at scale using the FlowStudio MCP cached store. Classify flows by business impact, detect orphaned resources, audit connector usage, enforce compliance standards, manage notification rules, and compute governance scores — all without Dataverse or the CoE Starter Kit. Load this skill when asked to: tag or classify flows, set business impact, assign ownership, detect orphans, audit connectors, check compliance, compute archive scores, manage notification rules, run a governance review, generate a compliance report, offboard a maker, or any task that involves writing governance metadata to flows. Requires an MCP Pro+ subscription — see https://mcp.flowstudio.appOther plugins' skills for the same job