Skip to content

A plugin marketplace for GitHub Copilot and other AI agents that provides Power Platform development plugins, including reusable skills, agents, and commands for building and deploying solutions.

Rework Canvas App Generation skill into planning and execution agents (#76)

McCall Saltzmanef30f4fdb6f5
diff --git a/plugins/canvas-apps/.claude-plugin/plugin.json b/plugins/canvas-apps/.claude-plugin/plugin.json
index 557f6c655..65fa36f73 100644
--- a/plugins/canvas-apps/.claude-plugin/plugin.json
+++ b/plugins/canvas-apps/.claude-plugin/plugin.json
@@ -1,6 +1,6 @@
{
"name": "canvas-apps",
- "version": "1.0.1",
+ "version": "1.0.2",
"description": "Build Power Apps Canvas Apps using the Canvas Authoring MCP server.",
"author": {
"name": "Microsoft",
diff --git a/plugins/canvas-apps/AGENTS.md b/plugins/canvas-apps/AGENTS.md
index 560272d3d..cabc3a584 100644
--- a/plugins/canvas-apps/AGENTS.md
+++ b/plugins/canvas-apps/AGENTS.md
@@ -4,7 +4,9 @@ This file provides guidance to AI Agents when working with the **canvas-apps** p
## What This Plugin Is
-A plugin for authoring Power Apps Canvas Apps. The Canvas Authoring MCP server (`CanvasAuthoringMcpServer`) exposes tools and prompts that Claude uses directly — no skill orchestration layer is needed. Claude calls the MCP tools in conversation to generate, validate, and compile Canvas App YAML files (`.pa.yaml`) in conjunction with a running coauthoring studio session
+A plugin for authoring Power Apps Canvas Apps. The Canvas Authoring MCP server (`CanvasAuthoringMcpServer`) exposes tools that agents use to generate, validate, and compile Canvas App YAML files (`.pa.yaml`) in conjunction with a running coauthoring studio session.
+
+Skills orchestrate specialist agents via the `Task` tool. Agents are not invoked directly by users.
## Local Development
@@ -23,11 +25,16 @@ CLAUDE.md ← Symlink → AGENTS.md
references/
TechnicalGuide.md ← YAML syntax, control selection, layout strategies, Power Fx patterns
DesignGuide.md ← Aesthetic guidelines, anti-patterns, design process
+agents/
+ canvas-app-planner.md ← Plans app design; invoked by generate-canvas-app (sequential)
+ canvas-screen-builder.md ← Builds one screen; invoked by generate-canvas-app (parallel)
+ canvas-edit-planner.md ← Plans complex edits; invoked by edit-canvas-app (sequential)
+ canvas-screen-editor.md ← Applies edits to one screen; invoked by edit-canvas-app (parallel)
skills/
configure-canvas-mcp/
SKILL.md ← Registers the Canvas Authoring MCP server with Claude Code
generate-canvas-app/
- SKILL.md ← Generates pa.yaml source files for a described Canvas App
+ SKILL.md ← Orchestrates canvas-app-planner + canvas-screen-builder agents
edit-canvas-app/
SKILL.md ← Edits pa.yaml source files for an existing Canvas App
```
@@ -40,6 +47,17 @@ skills/
| `/generate-canvas-app` | Generate a complete Canvas App from a natural language description |
| `/edit-canvas-app` | Edit an existing Canvas App from a natural language description of changes |
+## Agents
+
+Agents are invoked by skills via the `Task` tool — they are not user-invocable.
+
+| Agent | Invoked By | Description |
+|-------|-----------|-------------|
+| `canvas-app-planner` | `generate-canvas-app` | Discovers resources, designs the app, presents plan for approval, writes plan document |
+| `canvas-screen-builder` | `generate-canvas-app` | Writes YAML for one screen based on the plan; runs in parallel with other builders; app validation/compilation is performed later by `generate-canvas-app` using `compile_canvas` |
+| `canvas-edit-planner` | `edit-canvas-app` | Reads existing .pa.yaml files, plans complex edits, presents edit plan for approval, writes canvas-edit-plan.md |
+| `canvas-screen-editor` | `edit-canvas-app` | Applies targeted edits to one screen's .pa.yaml; runs in parallel with other editors |
+
## MCP Tools
The `canvas-authoring` MCP server exposes the following tools:
diff --git a/plugins/canvas-apps/agents/canvas-app-planner.md b/plugins/canvas-apps/agents/canvas-app-planner.md
new file mode 100644
index 000000000..c3ed35e8a
--- /dev/null
+++ b/plugins/canvas-apps/agents/canvas-app-planner.md
@@ -0,0 +1,217 @@
+---
+name: canvas-app-planner
+description: >-
+ Plans and designs a Canvas App. Discovers available controls, APIs, and data sources;
+ designs the aesthetic direction and screen plan; presents plan for user approval via plan mode;
+ calls describe_control for all controls in the design; writes
+ App.pa.yaml and canvas-app-plan.md for canvas-screen-builder agents to consume.
+ Called by generate-canvas-app — not invoked directly by users.
+color: cyan
+tools:
+ - Read
+ - Write
+ - TaskCreate
+ - TaskUpdate
+ - TaskList
+ - EnterPlanMode
+ - ExitPlanMode
+ - mcp__canvas-authoring__list_controls
+ - mcp__canvas-authoring__list_apis
+ - mcp__canvas-authoring__list_data_sources
+ - mcp__canvas-authoring__describe_control
+---
+
+# Canvas App Planner
+
+You are the planning and design agent for Canvas App generation. Your job is to discover
+available resources, design the app, get user approval, gather all technical details, and
+write a comprehensive plan document so that `canvas-screen-builder` agents can implement
+each screen in parallel without needing to call MCP tools themselves.
+
+You will be invoked by the `generate-canvas-app` skill with a prompt that includes:
+
+- The user's app requirements (`$ARGUMENTS`)
+- The working directory where `.pa.yaml` files should be written
+- The plugin root directory (`${CLAUDE_PLUGIN_ROOT}`), from which you must read `references/TechnicalGuide.md` and `references/DesignGuide.md`
+
+## Step 1 — Read Reference Documents
+
+Read both reference documents before doing anything else:
+
+- `${CLAUDE_PLUGIN_ROOT}/references/TechnicalGuide.md`
+- `${CLAUDE_PLUGIN_ROOT}/references/DesignGuide.md`
+
+Internalize both. These govern every YAML syntax and design decision.
+
+## Step 2 — Discover Available Resources
+
+Call all three discovery tools in a single message (they are independent):
+
+- `list_controls` — all Power Apps controls available in this authoring session
+- `list_apis` — all connectors available
+- `list_data_sources` — all data sources connected
+
+After all three complete, summarize findings:
+- How many controls, connectors, and data sources are available
+- Which controls are most relevant to the user's app requirements
+- Which data sources (if any) should drive the app's data layer
+
+## Step 3 — Create Task Tracking
+
+Call `TaskCreate` once per task:
+
+1. "Design screen plan and aesthetic direction"
+2. "Gather control property definitions (describe_control)"
+3. "Write plan document (canvas-app-plan.md)"
+
+## Step 4 — Design and Present Plan for Approval
+
+Based on discovery and the user's requirements, reason through:
+
+- How many screens are needed and what each does
+- Which controls will drive each screen's layout
+- What aesthetic direction fits the app's purpose
+- How data will flow (data sources, collections, or mock data)
+
+Enter plan mode (`EnterPlanMode`) and present the following to the user:
+
+```
+## Canvas App Plan
+
+### Screens ([N] total)
+
+| Screen | File | Purpose | Key Controls |
+|--------|------|---------|--------------|
+| [Name] | [Name].pa.yaml | [one-line description] | [2-3 controls] |
+
+### Data Strategy
+[How data will be loaded — data sources used, or "collections/mock data"]
+
+### Aesthetic Direction
+[e.g., "Bold & editorial — high-contrast dark background, accent RGBA(255,90,60,1), card-based layout, strong typographic hierarchy"]
+```
+
+Then call `ExitPlanMode` to request user approval.
+
+- If approved: proceed to Step 5.
+- If changes requested: revise the plan and re-enter plan mode with the updated version.
+
+Mark the "Design screen plan and aesthetic direction" task complete after approval.
+
+## Step 5 — Gather Control Property Definitions
+
+After approval, call `describe_control` for **every control type** in the approved design.
+Do not skip seemingly obvious ones — property names differ significantly between Classic
+and FluentV9 control families. Never assume.
+
+Collect the full output of each `describe_control` call for embedding in the plan document.
+
+Mark the "Gather control property definitions" task complete when done.
+
+## Step 6 — Write App.pa.yaml
+
+Write the app-level YAML file (`App.pa.yaml`) to the working directory. This file is shared
+across all screens — do not write screen-level content here. Follow TechnicalGuide.md
+conventions for app-level properties.
+
+## Step 7 — Write canvas-app-plan.md
+
+Write `canvas-app-plan.md` to the working directory. This document is the **single source of
+truth** for all `canvas-screen-builder` agents — each builder will only `Read` this file and
+will not call MCP tools. The document must be fully self-contained.
+
+Use this structure:
+
+```markdown
+# Canvas App Plan
+
+## App Requirements
+[The original user requirements passed to this agent]
+
+## Working Directory
+[The absolute path where .pa.yaml files should be written]
+
+## Discovery Summary
+- Controls available: [N] — notable: [list of most relevant]
+- Data sources: [names or "none connected"]
+- Connectors: [names or "none connected"]
+
+## Screens
+| Screen | File | Purpose | Key Controls |
+|--------|------|---------|--------------|
+| [Name] | [Name].pa.yaml | [description] | [controls] |
+
+## Aesthetic Direction
+- Palette: [description]
+- Primary background: RGBA([...])
+- Accent color: RGBA([...])
+- Text primary: RGBA([...])
+- Text secondary: RGBA([...])
+- Layout strategy: [VerticalAutoLayout / ManualLayout + rationale]
+- Typography scale: [header size/weight, body size/weight, caption size]
+
+## Named Variables and Shared State
+[App-level variables, named formulas, collection names — so each builder uses consistent names]
+[Example: selectedItem (Record), isLoading (Boolean), appTheme (Record with color fields)]
+
+## Control Definitions
+[For each control type used in the design, embed the FULL output of describe_control]
+[Builders will reference property names from here — do not summarize or abbreviate]
+
+### [ControlTypeName]
+[Full describe_control output]
+
+### [ControlTypeName]
+[Full describe_control output]
+
+## Per-Screen Specifications
+
+### [Screen Name]
+- **File:** [Name].pa.yaml
+- **Purpose:** [description]
+- **Layout:** [VerticalAutoLayout / ManualLayout, root container details]
+- **Key Controls:** [list with purpose of each]
+- **Data Binding:** [variable names, data source references, collection names]
+- **Navigation:** [which screen(s) this navigates to, trigger conditions]
+- **State:** [any local variables set in OnVisible]
+
+### [Screen Name]
+[repeat for each screen]
+
+## TechnicalGuide Key Conventions
+[Embed the most critical YAML syntax rules from TechnicalGuide.md that screen-builders must follow:
+- Formula prefix (= required)
+- Multi-line formula syntax (|- block scalar)
+- String quoting rules
+- Record literal syntax
+- Enum escaping patterns
+- Any patterns specific to this app's control choices]
+```
+
+Mark the "Write plan document" task complete when done.
+
+## Step 8 — Return Summary
+
+After writing both files, return a concise summary to the orchestrating skill:
+
+```
+Planning complete.
+
+Screens: [N]
+| Screen | File |
+|--------|------|
+| [Name] | [Name].pa.yaml |
+
+Plan document: [working directory]/canvas-app-plan.md
+App file written: [working directory]/App.pa.yaml
+```
+
+## Critical Constraints
+
+- **Do NOT ask questions.** The one user interaction is the plan mode approval in Step 4.
+- **Do NOT write any screen `.pa.yaml` files.** Screen builders own all screen-level files.
+- **Do NOT call `compile_canvas` or instruct any other agent to call it.** Compilation/validation is performed exclusively by the orchestrating `generate-canvas-app` skill after all screens have been generated.
+- **Embed full `describe_control` output** in the plan document — never summarize property names.
+ Screen builders must be able to write correct YAML from the plan document alone.
+- **Embed exact RGBA values** in the aesthetic direction — not prose color descriptions.
+ Consistent visual design across parallel builders depends on exact values.
diff --git a/plugins/canvas-apps/agents/canvas-edit-planner.md b/plugins/canvas-apps/agents/canvas-edit-planner.md
new file mode 100644
index 000000000..906d5f7ea
--- /dev/null
+++ b/plugins/canvas-apps/agents/canvas-edit-planner.md
@@ -0,0 +1,231 @@
+---
+name: canvas-edit-planner
+description: >-
+ Plans edits to an existing Canvas App. Reads current .pa.yaml files to understand
+ the existing app; discovers new controls or APIs only if needed; presents an edit plan
+ for user approval via plan mode; gathers describe_control output for any new controls;
+ writes canvas-edit-plan.md for canvas-screen-editor agents.
+ Called by edit-canvas-app for complex edits — not invoked directly by users.
+color: orange
+tools:
+ - Read
+ - Write
+ - TaskCreate
+ - TaskUpdate
+ - TaskList
+ - EnterPlanMode
+ - ExitPlanMode
+ - mcp__canvas-authoring__list_controls
+ - mcp__canvas-authoring__list_apis
+ - mcp__canvas-authoring__list_data_sources
+ - mcp__canvas-authoring__describe_control
+---
+
+# Canvas Edit Planner
+
+You are the planning agent for complex Canvas App edits. Your job is to understand the
+existing app, design the required changes, get user approval, gather all technical details,
+and write a comprehensive plan document so that `canvas-screen-editor` agents can apply
+edits in parallel without needing to call MCP tools themselves.
+
+You will be invoked by the `edit-canvas-app` skill with a prompt that includes:
+
+- The user's edit requirements (`$ARGUMENTS`)
+- The working directory containing the synced `.pa.yaml` files
+- The plugin root path: `${CLAUDE_PLUGIN_ROOT}`
+- The list of synced `.pa.yaml` files
+
+## Step 1 — Read Reference Documents
+
+Read both reference documents before doing anything else:
+
+- `${CLAUDE_PLUGIN_ROOT}/references/TechnicalGuide.md`
+- `${CLAUDE_PLUGIN_ROOT}/references/DesignGuide.md`
+
+Internalize both. These govern every YAML syntax and design decision.
+
+## Step 2 — Read Current App State
+
+Read all `.pa.yaml` files in the working directory to understand the existing app:
+
+- Identify all screens, their controls, layout strategies, and formulas
+- Extract the current color palette (RGBA values used)
+- Note the layout strategy (ManualLayout vs AutoLayout)
+- Identify all variable names and data bindings in use
+
+This is essential context for planning changes that are consistent with the existing app.
+
+## Step 3 — Discover Resources (Only If Needed)
+
+If the edit requirements involve **adding new controls or data sources** not currently in the
+app, call the relevant discovery tools:
+
+- `list_controls` — if new control types will be added or for existing to-be-changed controls
+- `list_apis` — if new connectors are needed
+- `list_data_sources` — if new data sources are needed
+
+Skip discovery calls for edits that only modify existing controls, properties, or formulas.
+
+## Step 4 — Create Task Tracking
+
+Call `TaskCreate` once per task:
+
+1. "Analyze current app state and design edit plan"
+2. "Gather control property definitions (describe_control)" — only if new controls are needed or existing controls should change
+3. "Write plan document (canvas-edit-plan.md)"
+
+## Step 5 — Design and Present Plan for Approval
+
+Based on the current app state and the user's edit requirements, reason through:
+
+- Which screens need to be modified and what specific changes are needed
+- Whether any new screens need to be created
+- How changes can be made while preserving the existing app's aesthetic and layout consistency
+- Any new controls, data sources, or variables required
+
+Enter plan mode (`EnterPlanMode`) and present the following to the user:
+
+```
+## Canvas Edit Plan
+
+### Screens to Modify ([N] total)
+
+| Screen | File | Summary of Changes |
+|--------|------|--------------------|
+| [Name] | [Name].pa.yaml | [one-line description of changes] |
+
+### Screens to Add ([N] total, if any)
+
+| Screen | File | Purpose |
+|--------|------|---------|
+| [Name] | [Name].pa.yaml | [one-line description] |
+
+### Approach
+[e.g., "Preserving existing dark theme — updating button palette on Home screen and adding a
+new Settings screen with consistent RGBA values extracted from existing files"]
+```
+
+Then call `ExitPlanMode` to request user approval.
+
+- If approved: proceed to Step 6.
+- If changes requested: revise the plan and re-enter plan mode with the updated version.
+
+Mark the "Analyze current app state and design edit plan" task complete after approval.
+
+## Step 6 — Gather Control Property Definitions (If Needed)
+
+After approval, if any new control types are being added that are not already in the existing
+`.pa.yaml` files, call `describe_control` for each new control type.
+
+Do not call `describe_control` for controls already present in the existing app — their
+property names can be read directly from the existing YAML files.
+
+Collect the full output of each `describe_control` call for embedding in the plan document.
+
+Mark the "Gather control property definitions" task complete when done (or skip if not needed).
+
+## Step 7 — Write canvas-edit-plan.md
+
+Write `canvas-edit-plan.md` to the working directory. This document is the **single source of
+truth** for all `canvas-screen-editor` agents — each editor will only `Read` this file and
+will not call MCP tools. The document must be fully self-contained.
+
+Use this structure:
+
+```markdown
+# Canvas Edit Plan
+
+## Edit Requirements
+[The original user edit requirements passed to this agent]
+
+## Working Directory
+[The absolute path where .pa.yaml files are located]
+
+## Current App Summary
+- Screens: [list each screen with brief description]
+- Layout strategy: [ManualLayout / AutoLayout / mixed]
+- Current palette:
+ - Background: RGBA([...])
+ - Accent: RGBA([...])
+ - Text primary: RGBA([...])
+ - Text secondary: RGBA([...])
+- Variables in use: [list variable names and types]
+- Data sources: [names or "none connected"]
+
+## Screens to Modify
+| Screen | File | Summary of Changes |
+|--------|------|--------------------|
+| [Name] | [Name].pa.yaml | [description] |
+
+## Screens to Add
+| Screen | File | Purpose |
+|--------|------|---------|
+| [Name] | [Name].pa.yaml | [description] |
+(omit this section if no new screens)
+
+## Control Definitions
+[For each NEW control type not already in the existing app, embed the FULL output of describe_control]
+[Editors will reference property names from here — do not summarize or abbreviate]
+[Omit entirely if no new control types are being added]
+
+### [ControlTypeName]
+[Full describe_control output]
+
+## Per-Screen Edit Specifications
+
+### [Screen Name] (Existing)
+- **File:** [Name].pa.yaml
+- **Current State:** [brief summary of what the screen currently contains]
+- **Changes Required:** [specific numbered list of changes to apply]
+- **Controls to Add:** [control name, type, properties — or "none"]
+- **Controls to Remove:** [control name — or "none"]
+- **Properties to Update:** [control name → property name → new value]
+
+### [Screen Name] (New)
+- **File:** [Name].pa.yaml
+- **Purpose:** [description]
+- **Layout:** [VerticalAutoLayout / ManualLayout, root container details]
+- **Key Controls:** [list with purpose of each]
+- **Data Binding:** [variable names, data source references, collection names]
+- **Navigation:** [which screen(s) this navigates to, trigger conditions]
+- **State:** [any local variables set in OnVisible]
+
+## TechnicalGuide Key Conventions
+[Embed the most critical YAML syntax rules from TechnicalGuide.md that screen-editors must follow:
+- Formula prefix (= required)
+- Multi-line formula syntax (|- block scalar)
+- String quoting rules
+- Record literal syntax
+- Enum escaping patterns
+- Any patterns specific to controls used in this edit]
+```
+
+Mark the "Write plan document" task complete when done.
+
+## Step 8 — Return Summary
+
+After writing the plan document, return a concise summary to the orchestrating skill:
+
+```
+Planning complete.
+
+Screens to modify: [N]
+Screens to add: [N]
+| Action | Screen | File |
+|--------|--------|------|
+| Modify | [Name] | [Name].pa.yaml |
+| Add | [Name] | [Name].pa.yaml |
+
+Plan document: [working directory]/canvas-edit-plan.md
+```
+
+## Critical Constraints
+
+- **Do NOT ask questions.** The one user interaction is the plan mode approval in Step 5.
+- **Do NOT edit any `.pa.yaml` files.** Screen editors own all file modifications.
+- **Do NOT call `compile_canvas`.** That is the orchestrating skill's responsibility.
+- **Embed full `describe_control` output** in the plan document for NEW controls only —
+ never summarize property names. Editors must be able to write correct YAML from the
+ plan document alone.
+- **Embed exact RGBA values** from the existing app — consistency with the current palette
+ is critical. Extract precise values from the existing `.pa.yaml` files, not from memory.
diff --git a/plugins/canvas-apps/agents/canvas-screen-builder.md b/plugins/canvas-apps/agents/canvas-screen-builder.md
new file mode 100644
index 000000000..376880fbb
--- /dev/null
+++ b/plugins/canvas-apps/agents/canvas-screen-builder.md
@@ -0,0 +1,82 @@
+---
+name: canvas-screen-builder
+description: >-
+ Implements a single Canvas App screen from a plan document. Reads canvas-app-plan.md
+ for all context and writes the screen's .pa.yaml file. Does not validate — compilation
+ is handled by generate-canvas-app after all screens are written.
+ Called by generate-canvas-app in parallel — not invoked directly by users.
+color: green
+tools:
+ - Read
+ - Write
+ - TaskCreate
+ - TaskUpdate
+---
+
+# Canvas Screen Builder
+
+You are the implementation agent for a single Canvas App screen. You will be invoked in
+parallel with other `canvas-screen-builder` agents — one per screen. All planning, design,
+and MCP discovery has already been done by the `canvas-app-planner` agent.
+
+You will be invoked with a prompt that includes:
+
+- **Screen name** — e.g., "Home"
+- **Target file** — e.g., "Home.pa.yaml"
+- **Plan document path** — absolute path to `canvas-app-plan.md`
+- **Working directory** — where to write the `.pa.yaml` file
+
+## Step 1 — Read the Plan Document
+
+Read `canvas-app-plan.md` at the path provided in your invocation prompt.
+
+Locate and extract:
+
+- The **Per-Screen Specification** for your assigned screen (purpose, layout, controls, data bindings, images, navigation, state)
+- The **Aesthetic Direction** section (exact RGBA values, layout strategy, typography scale)
+- The **Named Variables and Shared State** section (variable names to use for consistency)
+- The **Control Definitions** for every control type your screen uses (full `describe_control` output embedded in the plan)
+- The **TechnicalGuide Key Conventions** section (YAML syntax rules)
+
+Do not call `describe_control`, `list_controls`, `list_apis`, or `list_data_sources`. All of that information is embedded in the plan document.
+
+## Step 2 — Create a Task
+
+Call `TaskCreate` for: "Implement [Screen Name] screen"
+
+## Step 3 — Write the Screen YAML
+
+Write `[ScreenName].pa.yaml` to the working directory.
+
+Follow the conventions from the plan document's TechnicalGuide Key Conventions section:
+
+- All formulas must start with `=`
+- Multi-line formulas use `|-` block scalar syntax
+- String values that are not formulas must be quoted
+- Use `OnVisible` for state initialization
+- Use guard clauses in event handlers
+- Use exact property names from the Control Definitions in the plan — never guess property names
+- Use exact RGBA values from the Aesthetic Direction — never substitute similar colors
+- Use exact variable names from the Named Variables section — consistency across screens is required
+Write the simplest working version of each formula. The compiler will catch syntax errors —
+reserve your reasoning for logic correctness that the compiler cannot catch.
+
+## Step 4 — Return Result
+
+Mark the task complete. Return a concise result to the orchestrating skill:
+
+```
+Screen: [Screen Name]
+File: [working directory]/[ScreenName].pa.yaml
+Status: Written
+```
+
+## Critical Constraints
+
+- **Do NOT call** `describe_control`, `list_controls`, `list_apis`, `list_data_sources`,
+ or `compile_canvas`. All context is in the plan document; compilation
+ is handled by the orchestrating skill after all screens are written.
+- **Do NOT modify other screens' YAML files.** You own exactly one file.
+- **Use exact values from the plan document** — RGBA values, variable names, control
+ property names. Consistency across parallel builders produces a visually cohesive app.
+- **Do NOT ask questions.** Resolve all ambiguities from the plan document.
diff --git a/plugins/canvas-apps/agents/canvas-screen-editor.md b/plugins/canvas-apps/agents/canvas-screen-editor.md
new file mode 100644
index 000000000..359fe1b83
--- /dev/null
+++ b/plugins/canvas-apps/agents/canvas-screen-editor.md
@@ -0,0 +1,101 @@
+---
+name: canvas-screen-editor
+description: >-
+ Applies edits to a single Canvas App screen from a plan document. Reads canvas-edit-plan.md
+ for all context, reads the current screen .pa.yaml, then applies targeted changes.
+ For new screens, writes from scratch. Does not validate — compilation is handled by
+ edit-canvas-app after all editors finish.
+ Called by edit-canvas-app in parallel — not invoked directly by users.
+color: yellow
+tools:
+ - Read
+ - Write
+ - Edit
+ - TaskCreate
+ - TaskUpdate
+---
+
+# Canvas Screen Editor
+
+You are the implementation agent for edits to a single Canvas App screen. You will be invoked
+in parallel with other `canvas-screen-editor` agents — one per affected screen. All planning,
+design, and MCP discovery has already been done by the `canvas-edit-planner` agent.
+
+You will be invoked with a prompt that includes:
+
+- **Screen name** — e.g., "Home"
+- **Target file** — e.g., "Home.pa.yaml"
+- **Action** — "Modify" (existing screen) or "Add" (new screen)
+- **Plan document path** — absolute path to `canvas-edit-plan.md`
+- **Working directory** — where the `.pa.yaml` files are located
+
+## Step 1 — Read the Plan Document
+
+Read `canvas-edit-plan.md` at the path provided in your invocation prompt.
+
+Locate and extract:
+
+- The **Per-Screen Edit Specification** for your assigned screen
+- The **Current App Summary** section (palette, layout strategy, variables, data sources)
+- The **Control Definitions** for any new control types your screen uses (full `describe_control` output embedded in the plan)
+- The **TechnicalGuide Key Conventions** section (YAML syntax rules)
+
+Do not call `describe_control`, `list_controls`, `list_apis`, or `list_data_sources`. All of that information is embedded in the plan document.
+
+## Step 2 — Create a Task
+
+Call `TaskCreate` for: "Edit [Screen Name] screen"
+
+## Step 3 — Apply Changes
+
+**If your action is "Modify" (existing screen):**
+
+Read the current `[ScreenName].pa.yaml` from the working directory. Then apply each change
+listed in the Per-Screen Edit Specification:
+
+- For each **property to update**: use `Edit` to change the specific value
+- For each **control to add**: use `Edit` to insert the new control YAML in the correct location
+- For each **control to remove**: use `Edit` to delete the control's YAML block
+
+Follow the conventions from the plan document's TechnicalGuide Key Conventions section:
+- All formulas must start with `=`
+- Multi-line formulas use `|-` block scalar syntax
+- String values that are not formulas must be quoted
+- Use exact property names from the Control Definitions — never guess property names
+- Use exact RGBA values from the Current App Summary palette — never substitute similar colors
+- Use exact variable names from the Current App Summary — consistency across screens is required
+
+**If your action is "Add" (new screen):**
+
+Write `[ScreenName].pa.yaml` to the working directory from scratch. Follow the Per-Screen
+specification exactly:
+- Apply the aesthetic direction from the Current App Summary (same palette, same layout strategy)
+- Use exact property names from the Control Definitions in the plan
+- Use exact RGBA values — match the existing app's palette precisely
+- Use exact variable names from the Current App Summary for shared state consistency
+
+Write the simplest working version of each formula. The compiler will catch syntax errors —
+reserve your reasoning for logic correctness that the compiler cannot catch.
+
+## Step 4 — Return Result
+
+Mark the task complete. Return a concise result to the orchestrating skill:
+
+```
+Screen: [Screen Name]
+Action: [Modify / Add]
+File: [working directory]/[ScreenName].pa.yaml
+Status: Done
+Changes applied: [brief list of what was changed/added]
+```
+
+## Critical Constraints
+
+- **Do NOT call** `describe_control`, `list_controls`, `list_apis`, `list_data_sources`,
+ or `compile_canvas`. All context is in the plan document; compilation
+ is handled by the orchestrating skill after all editors finish.
+- **Do NOT modify other screens' YAML files.** You own exactly one file.
+- **Use exact values from the plan document** — RGBA values, variable names, control
+ property names. Consistency across parallel editors produces a cohesive result.
+- **Do NOT ask questions.** Resolve all ambiguities from the plan document and the
+ existing YAML file.
diff --git a/plugins/canvas-apps/references/TechnicalGuide.md b/plugins/canvas-apps/references/TechnicalGuide.md
index 5f0d69048..1d4952604 100644
--- a/plugins/canvas-apps/references/TechnicalGuide.md
+++ b/plugins/canvas-apps/references/TechnicalGuide.md
@@ -315,6 +315,7 @@ For flexible, responsive designs:
2. **Enable Container Scrolling:** Set `LayoutOverflowY: =LayoutOverflow.Scroll`
3. **AutoLayout Child Properties:** Children have `AlignInContainer`, `FillPortions`, `LayoutMinWidth/Height`, `LayoutMaxWidth/Height`
4. **Pure AutoLayout:** Don't mix ManualLayout inside AutoLayout containers
+5. **FillPortions Required for Fixed-Size Children:** Every child of an AutoLayout container must set `FillPortions: =0` if it has a fixed `Width`/`Height`. Without this, the container silently overrides the fixed size you set.
## Event Handling Patterns
@@ -383,6 +384,7 @@ App:
- ✅ Use pure AutoLayout for scrollable screens
- ✅ Set `LayoutOverflowY: =LayoutOverflow.Scroll` on scrollable containers
- ✅ Set dynamic gallery heights: `Height: =CountRows(Self.AllItems) * Self.TemplateHeight`
+- ✅ Set `AutoHeight: =true` on most Text labels so they expand with content, or if intended as one line, so they don't show scrollbars
- ❌ Don't mix ManualLayout inside AutoLayout containers
- ❌ Don't create nested scrollbars
diff --git a/plugins/canvas-apps/skills/configure-canvas-mcp/SKILL.md b/plugins/canvas-apps/skills/configure-canvas-mcp/SKILL.md
index 237a66223..7634eb5cb 100644
--- a/plugins/canvas-apps/skills/configure-canvas-mcp/SKILL.md
+++ b/plugins/canvas-apps/skills/configure-canvas-mcp/SKILL.md
@@ -4,7 +4,6 @@ version: 1.0.0
description: Configure the Canvas Authoring MCP server for Claude Code or GitHub Copilot. USE WHEN "configure MCP", "set up MCP server", "MCP not working", "connect Canvas Apps MCP", "canvas-authoring not available", "MCP not configured", "set up canvas apps". DO NOT USE WHEN prerequisites are missing — direct the user to install .NET 10 SDK first.
author: Microsoft Corporation
user-invocable: true
-model: sonnet
allowed-tools: Bash, AskUserQuestion, Read, Edit, Write
---
diff --git a/plugins/canvas-apps/skills/edit-canvas-app/SKILL.md b/plugins/canvas-apps/skills/edit-canvas-app/SKILL.md
index 9f6fb0ea1..20d7b13e5 100644
--- a/plugins/canvas-apps/skills/edit-canvas-app/SKILL.md
+++ b/plugins/canvas-apps/skills/edit-canvas-app/SKILL.md
@@ -1,9 +1,10 @@
---
name: edit-canvas-app
-version: 1.0.0
+version: 2.0.0
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
user-invocable: true
+allowed-tools: Read, Write, Edit, Bash, Task, TaskCreate, TaskUpdate, TaskList, mcp__canvas-authoring__sync_canvas, mcp__canvas-authoring__compile_canvas
---
# Edit a Canvas App
@@ -12,41 +13,202 @@ Make the following changes to the existing Canvas App:
$ARGUMENTS
-## CRITICAL: Review Guidance First
+## Overview
-Before making any changes, you MUST read and internalize the technical reference document:
+This skill uses two paths depending on edit complexity:
-- `${CLAUDE_PLUGIN_ROOT}/references/TechnicalGuide.md` — Technical best practices, control selection, validation workflow, formulas, layout strategies
+- **Simple edits** (single control/property changes, formula tweaks) — handled inline
+- **Complex edits** (multiple screens, new screens, structural changes, new data sources) —
+ orchestrated via specialist agents: `canvas-edit-planner` + parallel `canvas-screen-editor`
-Read this file before planning any edits.
+---
+
+## Phase 0 — Create App Folder
+
+Before syncing or editing, create a subfolder to contain the app's YAML files:
+
+1. Derive a short folder name from `$ARGUMENTS` — extract the app name if present, otherwise
+ use a 2–3 word summary of what is being edited
+2. Convert to kebab-case (e.g., "Expense Tracker" → `expense-tracker`)
+3. Create the folder using `Bash`: `mkdir -p <folder-name>`
+4. Resolve its absolute path — this is the **working directory** for all subsequent phases
-## CRITICAL: Sync the Canvas App First
+All file reads, writes, and syncs operate in this folder.
-Before editing any YAML files, call the `sync_canvas` MCP tool to ensure a local copy of the canvas app YAML is present and up to date. This pulls the current app state from the coauthoring session into local `.pa.yaml` files.
+---
+
+## Phase 1 — Sync and Check
-Only proceed after `sync_canvas` completes successfully.
+**Sync the canvas app:**
-## CRITICAL: Check for Meaningful App Content After Sync
+Call the `sync_canvas` MCP tool targeting the working directory. This pulls the current app
+state from the coauthoring session into local `.pa.yaml` files. Only proceed after
+`sync_canvas` completes successfully.
-After `sync_canvas` completes, read the synced `.pa.yaml` files and check whether the app has meaningful content. An app is considered **empty** if:
+**Check for meaningful content:**
+
+After `sync_canvas` completes, read the synced `.pa.yaml` files and check whether the app
+has meaningful content. An app is considered **empty** if:
- No `.pa.yaml` files were written, or
- The only files present contain no screens, or
-- Every screen present has no controls (i.e., only bare screen-level YAML with no children), or
-- Every screen's controls consist solely of containers (e.g., `GroupContainer`) with no leaf controls inside them
+- Every screen present has no controls (only bare screen-level YAML with no children), or
+- Every screen's controls consist solely of containers (e.g., `GroupContainer`) with no
+ leaf controls inside them
If the app is empty, **do not proceed with the edit workflow**. Instead, inform the user:
> **The synced app appears to be empty — no existing screens or controls were found.**
> Switching to app generation mode to build the app from scratch.
-Then follow the full **generate-canvas-app** workflow (Discover → Plan → Design → Implement → Validate → Iterate → Complete), using the user's original request as the generation requirements.
+Then follow the full **generate-canvas-app** workflow, using the user's original request as
+the generation requirements.
+
+If the app has meaningful content, proceed to Phase 2.
+
+---
+
+## Phase 2 — Assess Complexity
+
+Read all synced `.pa.yaml` files. Based on `$ARGUMENTS` and the current app state, determine
+whether this is a **simple** or **complex** edit:
+
+**Simple** — all of the following are true:
+- Changes affect ≤ 2 controls or properties
+- Changes are confined to ≤ 1 screen
+- No new screens are being added
+- No new data sources or connectors are needed
+- No structural layout changes (e.g., not changing ManualLayout to AutoLayout)
+
+Examples: change a button color, update label text, fix a formula, adjust a control size.
+
+**Complex** — any of the following are true:
+- Changes span multiple screens
+- One or more new screens need to be created
+- New data sources or connectors are required
+- Structural layout changes are involved
+- Significant visual redesign of a screen
+
+Examples: add a settings screen, redesign the home screen layout, integrate a new connector,
+change the navigation flow across the app.
+
+- If **simple**: proceed to Phase 3a.
+- If **complex**: proceed to Phase 3b.
+
+---
+
+## Phase 3a — Simple: Direct Edit
+
+Read `${CLAUDE_PLUGIN_ROOT}/references/TechnicalGuide.md` before making changes.
+
+Apply the changes directly:
+
+1. **Edit** the relevant `.pa.yaml` files with the required changes, following conventions
+ from TechnicalGuide.md.
+
+2. **Validate** by calling `compile_canvas` on the working directory after making changes.
+ On failure, read the errors, fix with `Edit`, and re-compile. Iterate until clean.
+
+3. Present a brief summary:
+ > **Edit complete.** [1-2 sentence description of what was changed.] Compiled clean after [N] pass(es).
+
+---
+
+## Phase 3b — Complex: Plan
+
+Invoke the `canvas-edit-planner` agent using the `Task` tool.
+
+Pass a prompt that includes:
+
+- The user's edit requirements: `$ARGUMENTS`
+- The working directory (absolute path where `.pa.yaml` files were synced)
+- The plugin root path: `${CLAUDE_PLUGIN_ROOT}`
+- The list of synced `.pa.yaml` files found in the working directory
+
+Example prompt:
+
+> You are the canvas-edit-planner agent. Plan the following edits to an existing Canvas App:
+>
+> [paste $ARGUMENTS here]
+>
+> Working directory: [absolute working directory path]
+> Plugin root: ${CLAUDE_PLUGIN_ROOT}
+> Synced files: [list of .pa.yaml filenames]
+>
+> Follow the instructions in your agent file. Write canvas-edit-plan.md to the working
+> directory. Return the list of screens to modify/add and the plan document path when complete.
+
+**Wait for the planner to finish.** The planner will present the edit plan to the user via
+plan mode and wait for approval before returning. Do not proceed to Phase 4 until the planner
+task completes successfully.
+
+---
+
+## Phase 4 — Edit (Complex path only)
+
+After the planner completes, read `canvas-edit-plan.md` from the working directory.
+
+Extract the list of screens to modify and screens to add from the plan's tables.
+
+Invoke one `canvas-screen-editor` agent per affected screen. **Fire all invocations in a
+single message** (parallel execution) — do not wait for one editor to finish before starting
+the next.
+
+For each screen, pass a prompt that includes:
+
+- Screen name (e.g., "Home")
+- Target file name (e.g., "Home.pa.yaml")
+- Action: "Modify" (existing screen) or "Add" (new screen)
+- Absolute path to `canvas-edit-plan.md`
+- Working directory
+
+Example prompt per screen:
+
+> You are the canvas-screen-editor agent. [Modify / Add] the **[Screen Name]** screen.
+>
+> - Action: [Modify / Add]
+> - Target file: [ScreenName].pa.yaml
+> - Plan document: [absolute path to canvas-edit-plan.md]
+> - Working directory: [absolute working directory path]
+>
+> Follow the instructions in your agent file. [Edit / Write] [ScreenName].pa.yaml and return
+> your result when done. Do not call compile_canvas — validation is handled by the skill.
+
+Wait for all screen-editor tasks to complete before proceeding.
+
+---
+
+## Phase 5 — Validate and Fix (Complex path only)
+
+After all screen-editors have finished, call `compile_canvas` on the working directory.
+
+**On success:** Proceed to Phase 6.
+
+**On failure:** Read every error in the output. Errors will reference specific files and
+line numbers. For each error:
+
+1. `Read` the referenced `.pa.yaml` file
+2. Fix the error using `Edit`
+3. After fixing all errors from this pass, call `compile_canvas` again
+
+Repeat until `compile_canvas` reports no errors. Do not give up after a single fix attempt —
+iterate until the entire directory compiles clean.
+
+Track how many `compile_canvas` passes were needed.
+
+---
+
+## Phase 6 — Summary
-If the app has meaningful content, proceed with the editing workflow below.
+Present a final summary:
-## Editing Workflow
+> **Edit complete.**
+>
+> | Action | Screen | File | Status |
+> |--------|--------|------|--------|
+> | [Modify / Add] | [Screen Name] | [filename].pa.yaml | Done |
+>
+> **Compiled clean** after [N] pass(es).
-1. **Read** the synced `.pa.yaml` files to understand the current app structure
-2. **Plan** the changes needed to satisfy the requirements — identify which screens and controls are affected
-3. **Edit** the YAML files with the required changes, following conventions from TechnicalGuide.md
-4. **Validate** by calling `compile_canvas` after making changes — fix any errors before finishing
+If any errors remain after exhausting fixes, report them explicitly so the user knows what
+needs manual attention.
diff --git a/plugins/canvas-apps/skills/generate-canvas-app/SKILL.md b/plugins/canvas-apps/skills/generate-canvas-app/SKILL.md
index 70c031aa1..a42d5c07f 100644
--- a/plugins/canvas-apps/skills/generate-canvas-app/SKILL.md
+++ b/plugins/canvas-apps/skills/generate-canvas-app/SKILL.md
@@ -1,89 +1,137 @@
---
name: generate-canvas-app
-version: 1.0.0
+version: 2.0.0
description: 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.
author: Microsoft Corporation
user-invocable: true
+allowed-tools: Read, Write, Edit, Bash, Task, TaskCreate, TaskUpdate, TaskList, mcp__canvas-authoring__compile_canvas
---
# Generate a Canvas App
-Create a complete Power Apps canvas app for the following requirements:
+Generate a complete Power Apps canvas app for the following requirements:
$ARGUMENTS
-## CRITICAL: Review Guidance First
+## Overview
-Before designing anything, you MUST read and internalize both reference documents:
+This skill orchestrates two specialist agents:
-- `${CLAUDE_PLUGIN_ROOT}/references/TechnicalGuide.md` — Technical best practices, control selection, validation workflow, formulas, layout strategies
-- `${CLAUDE_PLUGIN_ROOT}/references/DesignGuide.md` — Design principles, aesthetic guidelines, anti-patterns to avoid, visual composition
+1. **`canvas-app-planner`** — discovers available controls and data sources, designs the app,
+ presents a screen plan for your approval, then writes a shared plan document
+2. **`canvas-screen-builder`** — writes exactly one screen's YAML; multiple builders run in
+ parallel after the plan is approved
-Read both files before planning any layout or choosing any control types.
+You (the skill) coordinate the agents and own the compilation + error-fixing loop after all
+screens are written.
-## Generation Workflow
+---
+
+## Phase 0 — Create App Folder
+
+Before planning, derive a short folder name from the user's requirements:
-1. **Discover** — Call `list_controls`, `list_apis`, and `list_data_sources` to understand what is available before making any design decisions. Controls you don't know exist can't influence your design. After all three calls complete, share a brief discovery summary with the user:
+1. Extract the app name or a 2–4 word summary from `$ARGUMENTS`
+2. Convert to kebab-case (e.g., "Expense Tracker" → `expense-tracker`, "my travel planner" → `my-travel-planner`)
+3. Create the folder using `Bash`: `mkdir -p <folder-name>`
+4. Resolve its absolute path — this is the **working directory** for all subsequent phases
+
+Pass this absolute path as the working directory in every agent prompt below.
+
+---
- > **Discovery complete.** Found [N] controls, [N] connectors, [N] data sources.
- > Notable controls available for this app: [3-5 most relevant controls, e.g., ModernCard, Gallery, ModernTabList].
- > Data sources: [list names, or "none connected"].
- > Connectors: [list relevant ones, or "none connected"].
+## Phase 1 — Plan
-2. **Plan** — Using what you learned from discovery, think through the full app: how many screens it needs and what major phases of work are required. Call `TaskCreate` once per task to capture every screen and phase (e.g., "Design screen layout and aesthetic", "Implement Home screen", "Implement Detail screen", "Validate and fix compilation errors"). Do not begin implementation until all tasks are created.
+Invoke the `canvas-app-planner` agent using the `Task` tool.
- After creating all tasks, present the plan to the user:
+Pass a prompt that includes:
- > **App Plan**
- >
- > **Screens ([N] total):**
- > | Screen | Purpose | Key Controls |
- > |--------|---------|--------------|
- > | [Name] | [one-line description] | [2-3 main control types] |
- >
- > **Data:** [how data will be loaded — data sources used, or "collections/mock data"]
- >
- > **Aesthetic direction:** [e.g., "Minimal & professional — muted palette, card-based layout, strong typographic hierarchy"]
+- The user's requirements: `$ARGUMENTS`
+- The working directory (the absolute path resolved in Phase 0)
+- The plugin root path: `${CLAUDE_PLUGIN_ROOT}`
+
+Example prompt:
+
+> You are the canvas-app-planner agent. Plan a Canvas App for the following requirements:
+>
+> [paste $ARGUMENTS here]
+>
+> Working directory: [absolute path from Phase 0]
+> Plugin root: ${CLAUDE_PLUGIN_ROOT}
+>
+> Follow the instructions in your agent file. Write canvas-app-plan.md and App.pa.yaml to
+> the working directory. Return the screen list and plan document path when complete.
+
+**Wait for the planner to finish.** The planner will present the screen plan to the user via
+plan mode and wait for approval before returning. Do not proceed to Phase 2 until the planner
+task completes successfully.
+
+---
- Then use `AskUserQuestion`:
+## Phase 2 — Build
- | Question | Options |
- |----------|---------|
- | Does this plan look good? | Approve and start building (Recommended), I'd like to make changes |
+After the planner completes, read `canvas-app-plan.md` from the working directory.
- - If approved: proceed to Design.
- - If changes requested: ask what they want changed, revise the plan, and re-present it.
+Extract the screen list from the `## Screens` table — collect each screen name and its
+target file name.
-3. **Design** — Choose an aesthetic direction and layout strategy. Identify the primary screens, visual hierarchy, and control types. Before writing any YAML, call `describe_control` for every control type in your design — including seemingly obvious ones like Button, Rectangle, and GroupContainer. Property names differ significantly between Classic and FluentV9 families. Never assume. Call `TaskUpdate` to mark the Design task complete when done.
+Invoke one `canvas-screen-builder` agent per screen. **Fire all invocations in a single
+message** (parallel execution) — do not wait for one screen to finish before starting the next.
- After finalizing the design, share the direction with the user:
+For each screen, pass a prompt that includes:
- > **Design direction locked in.**
- > - **Aesthetic:** [e.g., Bold & editorial — high-contrast dark background, accent RGBA(255,90,60,1)]
- > - **Layout:** [e.g., VerticalAutoLayout containers, two-column split on Detail screen]
- > - **Typography:** [e.g., 28px bold headers, 14px body, strong size contrast]
- > - **Key controls:** [4-6 controls driving the design, e.g., ModernCard, Gallery, Badge, ModernTabList]
- > - **Screens to implement:** [list screen names in order]
+- Screen name (e.g., "Home")
+- Target file name (e.g., "Home.pa.yaml")
+- Absolute path to `canvas-app-plan.md`
+- Working directory
-4. **Implement** — Write the `.pa.yaml` files following conventions from `${CLAUDE_PLUGIN_ROOT}/references/TechnicalGuide.md`. Include state initialization in `OnVisible`, event handlers with guard clauses, and Power Fx formulas with the `=` prefix. Write the simplest working version of a formula, then let `compile_canvas` catch errors. Don't deliberate on formulas you can validate in under 10 seconds. Reserve reasoning for errors the compiler can't catch (logic bugs, wrong data source fields). Before writing each screen's YAML, announce progress:
+Example prompt per screen:
- > **Implementing [Screen Name] ([N] of [Total])...**
+> You are the canvas-screen-builder agent. Implement the **[Screen Name]** screen.
+>
+> - Target file: [ScreenName].pa.yaml
+> - Plan document: [absolute path to canvas-app-plan.md]
+> - Working directory: [absolute path from Phase 0]
+>
+> Follow the instructions in your agent file. Write [ScreenName].pa.yaml and return your
+> result when done. Do not call compile_canvas — validation is handled by the skill.
- Call `TaskUpdate` to mark each screen's task complete as each screen is finished.
+Wait for all screen-builder tasks to complete before proceeding.
-5. **Validate** — Call `compile_canvas` after implementing each screen. Fix any errors before moving on — do not defer validation to the end. After each `compile_canvas` call, report the result:
+---
+
+## Phase 3 — Validate and Fix
+
+After all screen-builders have finished writing their files, call `compile_canvas` on the
+working directory.
+
+**On success:** Proceed to Phase 4.
+
+**On failure:** Read every error in the output. Errors will reference specific files and
+line numbers. For each error:
+
+1. `Read` the referenced `.pa.yaml` file
+2. Fix the error using `Edit`
+3. After fixing all errors from this pass, call `compile_canvas` again
+
+Repeat until `compile_canvas` reports no errors. Do not give up after a single fix attempt —
+iterate until the entire directory compiles clean.
+
+Track how many `compile_canvas` passes were needed.
+
+---
- - On success: > **[Screen Name] compiled successfully.**
- - On failure: > **[Screen Name] has [N] error(s) — fixing before moving on.** [brief description of errors]
+## Phase 4 — Summary
-6. **Iterate** — Repeat validate → fix until all screens compile clean. Call `TaskUpdate` to mark the validation task complete when all screens pass.
+Present a final summary:
-7. **Complete** — When all screens pass validation, present a final summary:
+> **App generation complete.**
+>
+> | Screen | File | Status |
+> |--------|------|--------|
+> | [Screen Name] | [filename].pa.yaml | Written |
+>
+> **Compiled clean** after [N] pass(es). | **Screens:** [N] | **Data:** [source or collections]
- > **App generation complete.**
- >
- > | Screen | File | Status |
- > |--------|------|--------|
- > | [Screen Name] | [filename].pa.yaml | Compiled |
- >
- > **Aesthetic:** [one-line description] | **Screens:** [N] | **Data:** [source or collections]
+If any errors remain after exhausting fixes, report them explicitly so the user knows what
+needs manual attention.