一键导入
edit-canvas-app
Edit an existing Power Apps canvas app. USE WHEN the user wants to modify, update, change, or edit an existing Canvas App or pa.yaml files.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Edit an existing Power Apps canvas app. USE WHEN the user wants to modify, update, change, or edit an existing Canvas App or pa.yaml files.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Guide the user to add a data source, connection, or API connector to a Canvas App via Power Apps Studio, then verify and continue. USE WHEN the user asks to add a data source, add a connection, add an API, add a connector, connect to SharePoint / Dataverse / SQL / Excel / OneDrive / Teams / Office 365, or any similar request to make new data available to the app. DO NOT USE WHEN the user is asking to list or describe existing data sources — call list_data_sources or list_apis directly instead.
Configure the Canvas Authoring MCP server for Codex CLI. USE WHEN the user says "configure MCP", "set up MCP server", "MCP not working", "connect Canvas Apps MCP", "canvas-authoring not available", "set up canvas apps". DO NOT USE WHEN prerequisites are missing — direct the user to install .NET 10 SDK first.
Generate a complete, visually distinctive Power Apps canvas app with YAML. USE WHEN the user wants to create, build, or generate a Canvas App or pa.yaml files.
| name | edit-canvas-app |
| version | 2.0.0-codex |
| description | Edit an existing Power Apps canvas app. USE WHEN the user wants to modify, update, change, or edit an existing Canvas App or pa.yaml files. |
| author | Microsoft Corporation (adapted for Codex by setup plan) |
Make the following changes to the existing Canvas App:
$ARGUMENTS
Two paths depending on edit complexity:
Plugin root: the directory containing skills/, agents/, and references/
$ARGUMENTS — extract the app name or use a 2–3 word summarymkdir -p <folder-name>Call sync_canvas targeting the working directory. This pulls the current app state from
the coauthoring session into local .pa.yaml files.
After sync, read the files and check if the app has meaningful content. An app is empty if:
.pa.yaml files were written, orIf empty, inform the user and switch to the full generate-canvas-app workflow.
Simple — ALL of these are true:
Complex — ANY of these are true:
Read ../../references/TechnicalGuide.md.
Apply changes directly to the relevant .pa.yaml files.
Call compile_canvas on the working directory. Iterate until clean.
Present summary:
Edit complete. [1-2 sentence description.] Compiled clean after [N] pass(es).
Read the edit planner agent definition:
../../references/TechnicalGuide.md../../references/DesignGuide.md../../agents/canvas-edit-planner.mdAdopt the role of canvas-edit-planner and follow every step in that file with:
$ARGUMENTSskills/, agents/, and references/.pa.yaml filesDo not proceed to Phase 4 until the user approves the plan.
After the planner completes, read canvas-edit-plan.md from the working directory.
Extract screens to modify and screens to add.
For each affected screen, in sequence:
../../agents/canvas-screen-editor.mdcanvas-screen-editor for this screenCall compile_canvas on the working directory. Iterate until clean.
Delete canvas-edit-plan.md:
rm <working-directory>/canvas-edit-plan.md
Present final summary table of all screens modified/added, compilation passes, any remaining errors.