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.

Adds Canvas Apps plugin to use the Canvas Authoring MCP to generate and edit Canvas Apps (#64)

McCall Saltzman09eeee87d778
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json
index b6e1058f4..1fef52a90 100644
--- a/.claude-plugin/marketplace.json
+++ b/.claude-plugin/marketplace.json
@@ -33,6 +33,21 @@
"microsoft"
]
},
+ {
+ "name": "canvas-apps",
+ "source": "./plugins/canvas-apps",
+ "description": "Build Power Apps Canvas Apps using the Canvas Authoring MCP server",
+ "category": "development",
+ "tags": [
+ "power platform",
+ "power apps",
+ "canvas apps",
+ "pa-yaml",
+ "msapp",
+ "connectors",
+ "microsoft"
+ ]
+ },
{
"name": "code-apps",
"source": "./plugins/code-apps",
diff --git a/README.md b/README.md
index cb941f680..2ae816aa5 100644
--- a/README.md
+++ b/README.md
@@ -47,6 +47,7 @@ If you prefer to install manually, run these commands inside a Claude Code or Gi
/plugin install power-pages@power-platform-skills
/plugin install model-apps@power-platform-skills
/plugin install code-apps@power-platform-skills
+ /plugin install canvas-apps@power-platform-skills
```
## Available Plugins
@@ -69,6 +70,12 @@ Build and deploy Power Apps code apps connected to Power Platform via connectors
**Stack**: React + Vite + TypeScript, deployed via PAC CLI
+### [Canvas Apps](plugins/canvas-apps/AGENTS.md) (`plugins/canvas-apps`)
+
+Author Power Apps Canvas Apps using the Canvas Authoring MCP server.
+
+**Stack**: PA YAML (`.pa.yaml`) authored via `CanvasAuthoringMcpServer`, requires .NET 10 SDK
+
## Local Development
To develop and test plugins locally, follow these steps:
@@ -80,6 +87,7 @@ To develop and test plugins locally, follow these steps:
claude --plugin-dir /path/to/power-platform-skills/plugins/power-pages
claude --plugin-dir /path/to/power-platform-skills/plugins/model-apps
claude --plugin-dir /path/to/power-platform-skills/plugins/code-apps
+ claude --plugin-dir /path/to/power-platform-skills/plugins/canvas-apps
```
## Running Without Interruption
@@ -159,18 +167,23 @@ power-platform-skills/
│ │ ├── shared/
│ │ └── skills/
│ ├── model-apps/ # Model Apps plugin
+│ | ├── .claude-plugin/
+│ │ └── plugin.json
+│ | ├── commands/
+│ | ├── skills/
+│ | ├── shared/ # Shared references + samples
+│ | └── github/ # GitHub Copilot instructions
+│ ├── code-apps/ # Code Apps plugin
+│ │ ├── .claude-plugin/
+│ │ │ └── plugin.json
+│ │ ├── agents/
+│ │ ├── skills/
+│ │ └── shared/ # Shared instructions + references
+│ └── canvas-apps/ # Canvas Apps plugin
│ ├── .claude-plugin/
│ │ └── plugin.json
-│ ├── commands/
-│ ├── skills/
-│ ├── shared/ # Shared references + samples
-│ └── github/ # GitHub Copilot instructions
-│ └── code-apps/ # Code Apps plugin
-│ ├── .claude-plugin/
-│ │ └── plugin.json
-│ ├── agents/
-│ ├── skills/
-│ └── shared/ # Shared instructions + references
+│ ├── references/ # Technical + design guides
+│ └── skills/
├── AGENTS.md # Development guidelines
└── README.md
```
diff --git a/plugins/canvas-apps/.claude-plugin/plugin.json b/plugins/canvas-apps/.claude-plugin/plugin.json
new file mode 100644
index 000000000..caeb38f77
--- /dev/null
+++ b/plugins/canvas-apps/.claude-plugin/plugin.json
@@ -0,0 +1,19 @@
+{
+ "name": "canvas-apps",
+ "version": "1.0.0",
+ "description": "Build Power Apps Canvas Apps using the Canvas Authoring MCP server.",
+ "author": {
+ "name": "Microsoft",
+ "url": "https://www.microsoft.com"
+ },
+ "homepage": "https://github.com/microsoft/power-platform-skills/",
+ "repository": "https://github.com/microsoft/power-platform-skills/",
+ "license": "MIT",
+ "keywords": [
+ "canvas-apps",
+ "power-apps",
+ "canvas",
+ "pa-yaml",
+ "msapp"
+ ]
+}
diff --git a/plugins/canvas-apps/AGENTS.md b/plugins/canvas-apps/AGENTS.md
new file mode 100644
index 000000000..560272d3d
--- /dev/null
+++ b/plugins/canvas-apps/AGENTS.md
@@ -0,0 +1,62 @@
+# AGENTS.md — Canvas Apps Plugin
+
+This file provides guidance to AI Agents when working with the **canvas-apps** plugin.
+
+## 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
+
+## Local Development
+
+Test this plugin locally:
+
+```bash
+claude --plugin-dir /path/to/plugins/canvas-apps
+```
+
+## Architecture
+
+```
+.claude-plugin/plugin.json ← Plugin metadata (name, version, keywords)
+AGENTS.md ← Plugin guidance for AI agents (this file)
+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
+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
+ edit-canvas-app/
+ SKILL.md ← Edits pa.yaml source files for an existing Canvas App
+```
+
+## Skills
+
+| Skill | Description |
+|-------|-------------|
+| `/configure-canvas-mcp` | Register the Canvas Authoring MCP server with Claude Code |
+| `/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 |
+
+## MCP Tools
+
+The `canvas-authoring` MCP server exposes the following tools:
+
+| Tool | Description |
+|------|-------------|
+| `compile_canvas` | Validates canvas app YAML files in a directory using the Power Apps authoring service |
+| `describe_api` | Gets detailed information about a specific API (connector) including its operations and parameters |
+| `describe_control` | Gets detailed information about a specific Power Apps control including properties, variants, and metadata |
+| `get_data_source_schema` | Gets the schema (columns and their Power Fx types) for a specific data source in the current authoring session |
+| `list_apis` | Lists all available APIs (connectors) in the current authoring session |
+| `list_controls` | Lists all available Power Apps controls in the current authoring session |
+| `list_data_sources` | Lists all available data sources in the current authoring session |
+| `sync_canvas` | Syncs the current coauthoring session state from the server to a local directory, writing all YAML files |
+
+## Prerequisites
+
+Before the MCP server will start, you need:
+
+**.NET 10 SDK** — [Download from Microsoft](https://dotnet.microsoft.com/download/dotnet/10.0)
diff --git a/plugins/canvas-apps/CLAUDE.md b/plugins/canvas-apps/CLAUDE.md
new file mode 120000
index 000000000..47dc3e3d8
--- /dev/null
+++ b/plugins/canvas-apps/CLAUDE.md
@@ -0,0 +1 @@
+AGENTS.md
\ No newline at end of file
diff --git a/plugins/canvas-apps/README.md b/plugins/canvas-apps/README.md
new file mode 100644
index 000000000..e5e85b8b2
--- /dev/null
+++ b/plugins/canvas-apps/README.md
@@ -0,0 +1,79 @@
+# Canvas Apps Plugin
+
+Build Power Apps Canvas Apps with your coding agent as coauthor. This plugin connects AI coding assistants to the Power Apps authoring service over stdio, enabling them to validate .pa.yaml files, browse available controls and their properties, discover APIs/connectors and data sources, and sync app state from live coauthoring sessions.
+
+> **Preview:** This plugin is currently in [preview](https://www.microsoft.com/en-us/business-applications/legal/supp-powerplatform-preview/). These features are available before official release for customers to provide feedback.
+
+## Prerequisites
+
+- [.NET 10 SDK](https://dotnet.microsoft.com/download/dotnet/10.0)
+
+## Installation
+
+### From the marketplace
+
+```bash
+/plugin marketplace add microsoft/power-platform-skills
+/plugin install canvas-apps@power-platform-skills
+```
+
+### From a local clone
+
+```bash
+claude --plugin-dir /path/to/power-platform-skills/plugins/canvas-apps
+```
+
+## Skills
+
+### `/configure-canvas-mcp`
+
+Register the Canvas Authoring MCP server with Claude Code or GitHub Copilot.
+
+**Usage:** Invoke directly with `/configure-canvas-mcp`, or use any of the keywords below to trigger the skill automatically:
+
+- `Configure MCP for Canvas Apps`
+- `Set up the Canvas Authoring MCP server`
+- `Connect Canvas Apps MCP`
+
+### `/generate-canvas-app`
+
+Generate a complete Canvas App from a natural language description.
+
+**Usage:** Invoke directly with `/generate-canvas-app`, or use any of the keywords below to trigger the skill automatically:
+
+- `Create a Canvas App for managing inventory`
+- `I need a Canvas App for tracking employee time off`
+
+### `/edit-canvas-app`
+
+Edit an existing Canvas App from a natural language description of changes.
+
+**Usage:** Invoke directly with `/edit-canvas-app`, or use any of the keywords below to trigger the skill automatically:
+
+- `Modify the form in my existing Canvas App to include validation`
+- `Edit my Canvas App to add a new screen for reports`
+
+## MCP Tools
+
+The `canvas-authoring` MCP server exposes the following tools:
+
+| Tool | Description |
+|------|-------------|
+| `compile_canvas` | Validates canvas app YAML files in a directory using the Power Apps authoring service |
+| `describe_api` | Gets detailed information about a specific API (connector) including its operations and parameters |
+| `describe_control` | Gets detailed information about a specific Power Apps control including properties, variants, and metadata |
+| `get_data_source_schema` | Gets the schema (columns and their Power Fx types) for a specific data source in the current authoring session |
+| `list_apis` | Lists all available APIs (connectors) in the current authoring session |
+| `list_controls` | Lists all available Power Apps controls in the current authoring session |
+| `list_data_sources` | Lists all available data sources in the current authoring session |
+| `sync_canvas` | Syncs the current coauthoring session state from the server to a local directory, writing all YAML files |
+
+## Security
+
+Your credentials are always handled securely through the official Azure Identity SDK - we never store or manage tokens directly.
+
+MCP is a new and developing standard. As with all new technology standards, you should review the security of any systems that integrate with MCP servers, such as MCP hosts, clients, agents, AI applications, and models and confirm that they comply with system requirements, standards, and expectations. You should follow Microsoft security guidance for MCP servers, including enabling Entra ID authentication, secure token management, and network isolation. Refer to Microsoft Security Documentation for details.
+
+
+## License
+See the [LICENSE](../../LICENSE) file for license information.
\ No newline at end of file
diff --git a/plugins/canvas-apps/references/DesignGuide.md b/plugins/canvas-apps/references/DesignGuide.md
new file mode 100644
index 000000000..f6c099c38
--- /dev/null
+++ b/plugins/canvas-apps/references/DesignGuide.md
@@ -0,0 +1,152 @@
+# Canvas App Design Guide
+
+This guide helps create distinctive, production-grade Canvas App screens that avoid generic "AI slop" aesthetics.
+
+## Design Thinking Process
+
+Before generating YAML, understand the context and commit to a BOLD aesthetic direction:
+
+- **Purpose**: What problem does this screen solve? Who uses it? What's their context?
+- **Tone**: Pick an extreme aesthetic direction - brutally minimal, maximalist information density, retro-futuristic, organic/natural, luxury/refined, playful/toy-like, editorial/magazine, brutalist/raw, art deco/geometric, soft/pastel, industrial/utilitarian, data-dense dashboard, etc.
+- **Differentiation**: What makes this UNFORGETTABLE? What's the one thing someone will remember?
+
+**CRITICAL**: Choose a clear conceptual direction and execute it with precision. Bold maximalism and refined minimalism both work - the key is intentionality, not intensity.
+
+## Know Your Control Palette Before Designing
+
+**Run list_controls before committing to any layout.** The available controls are not just technical building blocks — they are design options. Designing without knowing what exists means you'll build inferior versions of things that already exist as polished, semantic components.
+
+Key controls that directly expand your design vocabulary:
+
+| Control | What it enables |
+|---------|----------------|
+| `ModernCard` | Ready-made card with Title, Subtitle, Description hierarchy, built-in shadow, and `OnSelect` — use this as your card primitive, not `GroupContainer` |
+| `Avatar` | User/entity representation with image, initials fallback, and size variants — no need to fake it with a circle and a label |
+| `Badge` | Status indicators, counts, and labels with semantic color variants — replaces ad-hoc colored rectangles with text |
+| `Progress` | Linear and circular progress display — replaces manual progress bar constructions |
+| `ModernTabList` | Tab navigation with selection state built in — replaces button rows with manual highlight logic |
+
+**The pattern to avoid:** Choosing an aesthetic direction, then reaching for `GroupContainer` + `Label` + `Rectangle` to assemble something that already exists. The controls above are not conveniences — they are fundamentally better starting points with richer built-in behavior and visual consistency.
+
+## Know Your Data Sources and APIs Before Creating Collections
+
+**Run list_data_sources and list_apis before creating any local collections with `ClearCollect()` or `Collect()` calls.** The
+data sources and APIs you have access to are not just technical details — they are design constraints and opportunities.
+Designing without knowing what data you can pull in and how means you'll create static, fake content that doesn't reflect
+the real user experience.
+
+## Canvas App Aesthetics Guidelines
+
+### Typography & Text Hierarchy
+
+- **Control Selection**: When there are multiple controls for the same purpose, and one of them is a "Classic" control, favor the modern controls:
+ - Favor `ModernText` over `Label`, `ModernCombobox` over `Classic/ComboBox`, `ModernRadio` over `Classic/Radio`, `Button` or `ModernButton` over `Classic/Button`, `ModernTabList` over building tabs with `Button` or `Toggle`, `ModernTextInput` over `Classic/TextInput`, and so on.
+- **Font Weight**: Use `ModernText` for headlines with `FontWeight: =FontWeight.Bold` and a large font size. Use `ModernText` with `FontWeight: =FontWeight.Normal` for body content.
+- **Size Contrast**: Create dramatic hierarchy with size differences. Headers at 24-32, subheaders at 18-20, body at 14-16.
+- **Alignment as Statement**: Mix `Align.Left`, `Align.Center`, `Align.Right` intentionally. Centered text for impact, left-aligned for readability.
+- **Font Properties**: Leverage `Size` / `FontSize`, `FontWeight`, `Align`, `VerticalAlign`, and `FontColor` to create visual interest.
+
+### Color & Visual Theme
+
+- **Commit to a Palette**: Use `Color` constants or custom `RGBA()` values consistently throughout.
+- **Dominant + Accent**: Choose one dominant color for primary actions and backgrounds, with sharp contrasting accents. Avoid evenly distributed pastels.
+- **Contextual Color**: Use `BasePaletteColor` on buttons to reinforce hierarchy.
+- **State-Based Color**: Use formulas like `=If(isActive, Color.Blue, Color.Gray)` to create dynamic interfaces.
+- **Background Depth**: Don't default to `Color.White`. Use subtle grays, tinted backgrounds, or bold color fills.
+
+### Spatial Composition & Layout
+
+- **Layout Strategy Choice**:
+ - Use `ManualLayout` for precise, pixel-perfect designs
+ - Use `AutoLayout` for responsive, flexible layouts
+- **Asymmetry & Breaking Grid**: Don't center everything. Offset elements. Use unexpected positioning.
+- **Spacing as Design**: Generous padding creates breathing room. Dense layouts create energy.
+- **Layering**: Use multiple `GroupContainer` controls to create visual depth.
+- **Scale Variation**: Mix large and small controls. A massive header with tiny supporting text creates drama.
+- **Card UI — use `ModernCard` as the starting point**: For anything that functions as a card, `ModernCard` is the right primitive. `GroupContainer` cannot be clicked and requires workarounds to match what `ModernCard` provides natively — see the Technical Guide for details.
+
+### Interactive States & Behavior
+
+- **State-Driven Design**: Use `Set()` variables to create dynamic interfaces that respond to user actions.
+- **DisplayMode as Design**: Toggle between `DisplayMode.Edit`, `DisplayMode.View`, and `DisplayMode.Disabled`.
+- **Visibility Choreography**: Use `Visible` property with state variables to reveal/hide elements.
+- **Button States**: Make buttons feel alive with `BasePaletteColor` changes based on state.
+- **Conditional Styling**: Every property can be a formula. Use `If()` statements to change `Fill`, `FontColor`, `Size`.
+
+### Visual Details & Polish
+
+- **DropShadow**: Use `DropShadow.Semilight`, `DropShadow.Regular`, `DropShadow.Heavy` for elevation and depth.
+- **Border Radius**: Use `RadiusTopLeft`, `RadiusTopRight`, `RadiusBottomLeft`, `RadiusBottomRight` intentionally.
+- **Transparency**: Use RGBA with alpha < 1 for overlays, subtle backgrounds, and layering.
+- **Touch Targets**: Make interactive elements at least 44-48px for mobile.
+- **Data Visualization**: Use appropriate controls with thoughtful `TemplateSize` and spacing.
+
+## NEVER Use Generic Canvas App Aesthetics
+
+Avoid these antipatterns:
+
+**Generic Color Choices:**
+- ❌ Default white backgrounds (`Color.White`) with no variation
+- ❌ Overused blue accent colors without considering context
+- ❌ Purple-on-white schemes that scream "generic business app"
+- ❌ Timid pastels that lack visual impact
+
+**Predictable Layouts:**
+- ❌ Everything centered and evenly spaced with no hierarchy
+- ❌ Uniform button sizes and spacing (everything at 40px height, 10px gaps)
+- ❌ Forms that look like database entry screens
+- ❌ Screens that are just vertical lists of identically-styled buttons
+
+**Lazy Control Choices:**
+- ❌ Using `Button` for everything when other controls are better
+- ❌ Defaulting to `Classic` controls without considering alternatives
+- ❌ Not exploring specialized controls
+- ❌ Generic control names like `Button1`, `Label2`
+- ❌ Building `Avatar`, `Badge`, `Progress`, `ModernTabList`, or card layouts from primitives when the semantic controls exist — always run list_controls first
+
+**Timid Typography:**
+- ❌ All text at size 12-14 with no hierarchy
+- ❌ Not using `FontWeight.Bold` or `FontWeight.Semibold` for emphasis
+- ❌ Everything left-aligned or everything centered with no variation
+- ❌ Ignoring the power of scale contrast
+
+**Missing Interactivity:**
+- ❌ Static screens with no state management or visual feedback
+- ❌ Buttons that don't change appearance when clicked or disabled
+- ❌ No use of `DisplayMode` to guide user flows
+- ❌ Forgetting to use `Visible` property for progressive disclosure
+
+**No Attention to Detail:**
+- ❌ Ignoring spacing and letting everything be equidistant
+- ❌ Not using `DropShadow` or radius properties for visual depth
+- ❌ Forgetting to use `RGBA()` for transparency effects
+- ❌ Uniform sizes across all controls
+
+## Creative Interpretation
+
+Interpret creatively and make unexpected choices:
+
+- **Vary Themes**: Don't always use light backgrounds. Try dark themes, colored backgrounds, or bold fills.
+- **Mix Layout Strategies**: Combine `ManualLayout` precision with `AutoLayout` flexibility.
+- **Experiment with Control Types**: Explore beyond basic buttons and labels.
+- **Context-Specific Palettes**: A game uses playful colors. A dashboard uses data-viz colors. A form uses sophisticated grays.
+- **No Design Should Be the Same**: Each screen should feel custom-designed for its purpose, not templated.
+
+**IMPORTANT**: Match implementation complexity to the aesthetic vision:
+
+- **Maximalist designs** need elaborate control hierarchies, dynamic state management, conditional visibility, layered containers, and rich color palettes.
+- **Minimalist designs** need restraint, precision spacing, careful typography choices, subtle color usage, and attention to negative space.
+- **Elegance comes from executing the vision well**, whether controlled chaos or refined simplicity.
+
+## Design Process Summary
+
+1. **Discover your palette** — Run list_controls before committing to any design direction
+2. **Choose an aesthetic direction** — Commit to a specific, bold tone (see Design Thinking Process above)
+3. **Plan visual hierarchy** — What are the primary, secondary, and tertiary elements? How do they relate?
+4. **Choose layout strategy** — ManualLayout for precision; AutoLayout for responsiveness
+5. **Plan interactivity** — What state variables drive dynamic behavior? What does the user experience over time?
+6. **Implement YAML** — Execute the vision with intentional aesthetic choices at every property
+7. **Validate** — Use compile_canvas early, not just at the end
+8. **Refine** — Polish spacing, color, sizing, and depth until the design feels intentional
+
+Remember: Canvas Apps can be visually striking and memorable despite platform constraints. Don't hold back. Show what can truly be created when thinking outside the box and committing fully to a distinctive vision.
\ No newline at end of file
diff --git a/plugins/canvas-apps/references/TechnicalGuide.md b/plugins/canvas-apps/references/TechnicalGuide.md
new file mode 100644
index 000000000..5f0d69048
--- /dev/null
+++ b/plugins/canvas-apps/references/TechnicalGuide.md
@@ -0,0 +1,448 @@
+# Canvas App YAML Generation Guide
+
+This guide captures best practices and learnings for generating Canvas App YAML screens.
+
+## Quick Start Checklist
+
+When generating a new Canvas App screen:
+
+Always review this technical guide AND the design guide prior to designing a screen.
+
+1. ⚠️ **Run `list_controls` FIRST — this is non-optional** - Controls you don't know exist can't influence your design. Skipping this step leads to rebuilding things like `Avatar`, `Badge`, `Progress`, `ModernTabList`, and `ModernCard` from scratch using primitive controls. Run `list_controls` before planning layout or choosing any control type.
+2. ✅ **Explore examples** - Review existing `.pa.yaml` files for patterns if available
+3. ✅ **Plan state management** - Identify what variables you need (Set() calls)
+4. ✅ **Choose layout strategy** - ManualLayout for precise control, AutoLayout for responsive design
+5. ✅ **Select control types** - Match controls to use case
+6. ✅ **Write formulas carefully** - Use Power Fx syntax with `=` prefix
+7. ✅ **Validate early and often** - Use `compile_canvas` tool to catch errors
+
+## File Structure
+
+Have one .pa.yaml file for the App object, and a separate file for each screen.
+
+```yaml
+Screens:
+ ScreenName:
+ Properties: # Optional screen-level properties
+ Fill: =RGBA(...)
+ OnVisible: |- # Initialize variables on screen load
+ =Set(var1, value);
+ Set(var2, value)
+ Children:
+ - ControlName:
+ Control: ControlType
+ Variant: VariantName # Optional
+ Properties:
+ PropertyName: =formula
+ Children: # Only for controls with children
+ - NestedControl:
+ ...
+```
+
+## YAML Syntax Rules
+
+### Multi-line formulas — use `|-`
+
+Any formula that spans multiple lines must use the `|-` block scalar. The `=` prefix goes on the first content line, not on the `|-` line:
+
+```yaml
+OnSelect: |-
+ =Set(x, 1);
+ Set(y, 2)
+```
+
+Single-line formulas can be written inline:
+
+```yaml
+Text: =firstName & " " & lastName
+```
+
+### Strings that contain `: ` must be quoted
+
+YAML treats `key: value` as a mapping. If a plain string value contains a colon followed by a space, wrap the whole value in quotes:
+
+```yaml
+# WRONG — YAML parses "Label: something" as a nested mapping key
+HintText: =Label: enter a value
+
+# RIGHT
+HintText: ="Label: enter a value"
+```
+
+### Power Fx record literals must be quoted — `={Value: "..."}` will fail
+
+⚠️ This is a common source of hard-to-diagnose errors. A Power Fx record literal looks like `{Value: "x"}`, but in a YAML plain scalar that `Value:` is parsed as a YAML mapping key before Power Fx ever sees it. Always wrap record literals in a quoted YAML string:
+
+```yaml
+# WRONG — YAML parses `Value:` as a mapping key, formula never runs
+Default: ={Value: "Tab1"}
+
+# RIGHT — outer quotes make the whole thing a YAML string first
+Default: "={Value: ""Tab1""}"
+
+# Also valid — single quotes (no escaping needed for inner double quotes)
+Default: '={Value: "Tab1"}'
+```
+
+This applies anywhere a record literal appears inline: `Default`, `Selected`, `Items` (when hardcoded), and similar properties. `ModernTabList.Default` is the most common place this bites.
+
+## Control Type Selection
+
+**⚠️ Required — not optional:** Run list_controls before planning your layout. Controls you don't know exist can't influence your design, and the catalog includes high-level controls (`Avatar`, `Badge`, `Progress`, `ModernTabList`, `ModernCard`, and others) that are easy to miss and expensive to reinvent with primitives.
+
+### Layout Containers
+
+| Use Case | Control Type | Variant |
+|----------|--------------|---------|
+| Precise positioning | `GroupContainer` | `ManualLayout` |
+| Horizontal Responsive layout | `GroupContainer` | `Horizontal` with `LayoutDirection: =LayoutDirection.Horizontal` |
+| Vertical Responsive layout | `GroupContainer` | `Vertical` with `LayoutDirection: =LayoutDirection.Vertical` |
+
+⚠️ **`GroupContainer` has no `OnSelect` — it cannot be clicked.** This is a common dead end when building card UI: the container lays out perfectly but tapping it does nothing.
+
+- **Clickable cards:** Use `ModernCard` instead — it has `OnSelect` and is designed for this.
+- **Clickable non-card areas:** Overlay a transparent `Button` or `Rectangle` (both have `OnSelect`) on top of the container at the same position and size. If applicable, set the Appearance property to transparent; otherwise set `Fill: =RGBA(0,0,0,0)` and `BorderThickness: =0` to make it invisible.
+
+### Data Display
+
+| Use Case | Control Type | Key Properties |
+|----------|--------------|----------------|
+| List of items | `Gallery` | Items, TemplateSize, OnSelect |
+| Tabular data | `Table` | Items, columns |
+| Grid data with editing | `DataGrid` | Items, columns, OnSelect |
+| Forms | `Form`, `EntityForm` | DataSource, Item, OnSuccess |
+
+## Common Property Patterns
+
+### Positioning (ManualLayout)
+
+```yaml
+Properties:
+ X: =100 # Absolute position
+ Y: =50
+ Width: =200 # Fixed width
+ Height: =40
+```
+
+### Responsive Sizing
+
+```yaml
+Properties:
+ X: =(Parent.Width - Self.Width) / 2 # Center horizontally
+ Width: =Parent.Width # Full width
+ Height: =Parent.Height - Self.Y # Fill remaining height
+```
+
+### Colors
+
+```yaml
+# Using color constants
+Fill: =Color.White
+BasePaletteColor: =Color.Blue
+
+# Using RGBA
+Fill: =RGBA(240, 240, 240, 1)
+FontColor: =RGBA(0, 0, 0, 1)
+
+# Conditional colors
+BasePaletteColor: =If(isActive, Color.Blue, Color.Gray)
+```
+
+### Button States
+
+```yaml
+Properties:
+ DisplayMode: =If(isDisabled, DisplayMode.Disabled, DisplayMode.Edit)
+ Text: =buttonText
+ OnSelect: |-
+ =If(condition,
+ false, # Guard clause - do nothing
+ Set(variable, value); # Execute logic
+ Set(anotherVar, anotherValue)
+ )
+```
+
+## Power Fx Formula Patterns
+
+### State Management
+
+```yaml
+# Initialize variables on screen load
+OnVisible: |-
+ =Set(variable1, "initial value");
+ Set(variable2, 0);
+ Set(variable3, false)
+
+# Update state on interaction
+OnSelect: |-
+ =Set(counter, counter + 1);
+ Set(status, "updated")
+```
+
+### Conditional Logic
+
+```yaml
+# Simple conditional
+Text: =If(isActive, "Active", "Inactive")
+
+# Nested conditionals
+Text: =If(status = "complete",
+ "Done!",
+ If(status = "pending",
+ "In Progress",
+ "Not Started"))
+
+# Boolean expressions
+Visible: =isEnabled && !isHidden
+DisplayMode: =If(gameOver || alreadyPlayed, DisplayMode.Disabled, DisplayMode.Edit)
+```
+
+### String Operations
+
+```yaml
+# Concatenation
+Text: =firstName & " " & lastName
+Text: =currentPlayer & " wins!"
+
+# String comparison
+## Not equal (empty string)
+Visible: =searchText <> ""
+## Equal (case-sensitive)
+Visible: =selectedOption = "Option1"
+```
+
+### Converting date/time values to text
+
+When using format specifiers, always use them in lower case (e.g., `mm` for month, not `MM`)
+
+```yaml
+
+# Convert date to text using the "dddd, mmmm d, yyyy" format (e.g., "Monday, January 1, 2024")
+Text: =Text(varDate, "dddd, mmmm d, yyyy")
+
+# Convert current time to text using the "hh:mm:ss" format (e.g., "14:30:00")
+Text: =Text(Now(), "hh:mm:ss")
+```
+
+### Escaping enum values
+
+Some enum names and/or values need to be escaped with `'` to be parsed correctly in Power Fx.
+That is the case if the name or the value contains spaces, special characters, or if it starts with a number. For example:
+```yaml
+# Using enum values with dots: the enum name is 'ButtonCanvas.Appearance' and it has a value 'Transparent'
+- ButtonCanvas1:
+ Control: Button
+ Properties:
+ Appearance: ='ButtonCanvas.Appearance'.Transparent
+
+# Using enum values that start with a number: the enum name is 'DecimalPrecision' and it has a value '2'
+- NumberInput1:
+ Control: ModernNumberInput
+ Properties:
+ Precision: =DecimalPrecision.'2'
+```
+
+### Escaping option set values
+
+Some option set names and values need to be escaped with `'` to be parsed correctly in Power Fx. That is the case if
+the name or the value contains spaces, special characters, or if it starts with a number. For example:
+```yaml
+# Using option set values with spaces: the option set name is 'Account Status' and it has a value 'Active'
+- galItemsGallery:
+ Control: Gallery
+ Properties:
+ Items: =Filter(Accounts, 'Account Status' = 'Account Status'.Active)
+
+# Using option set with special characters
+- lblDueDate:
+ Control: ModernText
+ Properties:
+ Text: =ThisItem.DueDate
+ Visible: =ThisItem.Status = 'Status (Assignments)'.Active
+```
+
+## Layout Strategies
+
+### Manual Grid Layout
+
+For precise control (e.g., game boards, forms):
+
+```yaml
+- Container:
+ Control: GroupContainer
+ Variant: ManualLayout
+ Properties:
+ X: =100
+ Y: =100
+ Width: =300
+ Height: =300
+ Children:
+ - Button1:
+ Control: Button
+ Properties:
+ X: =0
+ Y: =0
+ Width: =90
+ Height: =90
+```
+
+**Pattern:** Calculate positions as `(size * index) + (spacing * index)`
+
+### Auto Layout (Responsive)
+
+For flexible, responsive designs:
+
+```yaml
+- Container:
+ Control: GroupContainer
+ Variant: AutoLayout
+ Properties:
+ LayoutDirection: =LayoutDirection.Horizontal
+ LayoutAlignItems: =LayoutAlignItems.Center
+ LayoutJustifyContent: =LayoutJustifyContent.SpaceBetween
+ LayoutGap: =16
+ PaddingTop: =8
+ PaddingBottom: =8
+ Children:
+ - Button1:
+ Properties:
+ FillPortions: =1 # Takes proportional space, change for relative proportions within a container
+```
+
+**Key Learnings:**
+
+1. **Dynamic Gallery Height:** Use `Height: =CountRows(Self.AllItems) * Self.TemplateHeight`
+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
+
+## Event Handling Patterns
+
+### Guard Clauses
+
+```yaml
+OnSelect: |-
+ =If(gameOver || pos1 <> "",
+ false, # Do nothing if condition met
+ Set(pos1, currentPlayer); # Otherwise execute logic
+ UpdateGameState()
+ )
+```
+
+### Sequential Operations
+
+```yaml
+OnSelect: |-
+ =Set(pos1, currentPlayer);
+ Set(gameOver, CheckWinCondition());
+ Set(currentPlayer, If(currentPlayer = "X", "O", "X"))
+```
+
+## Named Formulas (NFs) and User Defined Functions (UDFs)
+
+Define reusable logic in `App.Formulas`. This is ideal for constants, complex calculations,
+or any logic that needs to be shared across multiple controls or screens.
+
+```yaml
+App:
+ Properties:
+ Formulas: |-
+ =// Named constants
+ MaxItems = 100;
+ ColorPrimary = RGBA(52, 120, 246, 1);
+
+ // Functions with parameters
+ GetStatusColor(status: Text): Color =
+ If(
+ status = "complete", Color.Green,
+ status = "pending", Color.Yellow,
+ Color.Gray
+ );
+
+ TogglePlayer(current: Text): Text =
+ If(current = "X", "O", "X");
+```
+
+**Benefits:** Maintainability, readability, consistency, performance
+
+## Best Practices
+
+### State Management
+- ✅ Initialize all variables in `OnVisible`
+- ✅ Use descriptive variable names
+- ✅ Keep state updates sequential with semicolons
+
+### Formula Design
+- ✅ Use guard clauses to prevent invalid operations
+- ✅ Keep formulas readable with proper indentation
+- ❌ Don't create deeply nested If statements
+
+### Layout
+- ✅ Use ManualLayout for precise, fixed layouts
+- ✅ Use AutoLayout for responsive, flexible layouts
+- ✅ Use pure AutoLayout for scrollable screens
+- ✅ Set `LayoutOverflowY: =LayoutOverflow.Scroll` on scrollable containers
+- ✅ Set dynamic gallery heights: `Height: =CountRows(Self.AllItems) * Self.TemplateHeight`
+- ❌ Don't mix ManualLayout inside AutoLayout containers
+- ❌ Don't create nested scrollbars
+
+### Control Selection
+- ✅ Use ListControls tool to discover options
+- ✅ Use DescribeControl tool to verify properties
+- ❌ Don't guess at property names
+
+### Validation
+- ✅ Use compile_canvas tool to validate directory
+- ✅ Validate after major changes
+- ❌ Don't skip validation until the end
+
+### Data
+If the app you're building requires any references to external data sources, temporarily use `ClearCollect` in the App.OnStart property to populate collections with mock data.
+
+## Common Property Reference
+
+**Positioning:**
+- `X`, `Y` - Position (absolute in ManualLayout)
+- `Width`, `Height` - Size
+- `Align` - Text alignment (horizontal)
+- `VerticalAlign` - Text alignment (vertical)
+
+**Styling:**
+- `Fill` - Background color
+- `FontColor` - Text color
+- `BasePaletteColor` - Button color theme
+- `Size` - Font size
+- `FontWeight` - Font weight (Bold, Semibold, Normal)
+
+**Behavior:**
+- `DisplayMode` - Edit, View, Disabled
+- `Visible` - Boolean visibility
+- `OnSelect` - Click handler
+- `OnVisible` - Screen load handler
+
+**Layout (AutoLayout):**
+- `LayoutDirection` - Horizontal or Vertical
+- `LayoutAlignItems` - Center, Start, End, Stretch
+- `LayoutJustifyContent` - Center, SpaceBetween, Start, End
+- `LayoutGap` - Spacing between items
+- `LayoutOverflowY` - Vertical overflow (Scroll for scrollable containers)
+- `FillPortions` - Proportional sizing
+- `PaddingTop/Bottom/Left/Right` - Container padding
+
+## Troubleshooting
+
+- **Formula doesn't update UI:** Ensure you're using `Set()` to update variables
+- **Button text is too small:** Buttons don't support `Size` property - make button larger
+- **Variables reset unexpectedly:** Variables are screen-scoped - use `OnVisible` to initialize
+- **Layout doesn't look right:** Check if you're mixing ManualLayout and AutoLayout
+- **Validation fails with "Unknown property":** Use describe_control tool to see valid properties
+
+## Implementation Workflow
+
+1. **list_controls** — required before planning layout; know what exists before writing any YAML
+2. **describe_control** — verify property names and variants for each control you plan to use
+3. **Draft screen structure** — sketch the container/control hierarchy before filling in properties
+4. **Write properties and formulas** — positioning, colors, state, event handlers
+5. **Validate with compile_canvas** — catch errors early; don't wait until the end
+6. **Fix errors** — use describe_control to confirm valid property names before guessing
+7. **Iterate** — validate after each meaningful change until the screen compiles clean
\ No newline at end of file
diff --git a/plugins/canvas-apps/skills/configure-canvas-mcp/SKILL.md b/plugins/canvas-apps/skills/configure-canvas-mcp/SKILL.md
new file mode 100644
index 000000000..bc696d3e2
--- /dev/null
+++ b/plugins/canvas-apps/skills/configure-canvas-mcp/SKILL.md
@@ -0,0 +1,202 @@
+---
+name: configure-canvas-mcp
+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
+---
+
+# Configure the Canvas Authoring MCP Server
+
+This skill registers the Canvas Authoring MCP server with either Claude Code or GitHub Copilot using the user's Power Platform environment ID.
+
+## Instructions
+
+### 0. Check prerequisites
+
+Verify that .NET 10 SDK or higher is installed
+
+```bash
+dotnet --list-sdks
+```
+
+If a version 10.x.y or higher is not listed, tell the user:
+
+> ⚠️ .NET 10 SDK is required to run the Canvas Authoring MCP server. It looks like you don't have it installed. Please install it first to use this skill. https://dotnet.microsoft.com/download/dotnet/10.0
+
+Then wait for the user to install it before continuing. If they say it's installed, run the command again to confirm. If it's still not found, repeat the message until they have it installed.
+
+### 1. Determine which tool to configure
+
+Determine whether the user needs to configure MCP for GitHub Copilot or for Claude Code:
+- If explicitly mentioned in prompt, use that.
+- Otherwise, determine which tool the user is running from the context.
+- Only if choosing based on the context is impossible, ask the user:
+
+> Which tool would you like to configure the Canvas Authoring (canvas-authoring) MCP server for?
+> 1. **GitHub Copilot**
+> 2. **Claude**
+
+Based on the result, set the `TOOL_TYPE` variable to either `copilot` or `claude`. Store this for use in all subsequent steps.
+
+### 2. Determine the MCP scope
+
+Choose the configuration scope based on the tool. Use the scope explicitly mentioned by the user, or ask the user to choose.
+
+**If TOOL_TYPE is `copilot`:**
+
+The options are:
+1. **Globally** (default, available in all projects)
+2. **Project-only** (available only in this project)
+
+Based on the scope, set the `CONFIG_PATH` variable:
+- **Global**: `~/.copilot/mcp-config.json` (use the user's home directory)
+- **Project**: `.mcp/copilot/mcp.json` (relative to the current working directory)
+
+Store this path for use in steps 4 and 5.
+
+**If TOOL_TYPE is `claude`:**
+
+The options are:
+1. **User** (available in all projects for this user)
+2. **Project** (default, available only in this project)
+3. **Local** (scoped to current project directory)
+
+Based on the scope, set the `CLAUDE_SCOPE` variable:
+- **User**: `CLAUDE_SCOPE` = `user`
+- **Project**: `CLAUDE_SCOPE` = `project`
+- **Local**: `CLAUDE_SCOPE` = `local`
+
+Store this value for use in step 5.
+
+### 3. Ask for the studio URL
+
+Ask the user:
+
+> What is the URL of your canvas app studio session?
+>
+> Copy the URL from the browser address bar while your app is open in Power Apps Designer (it should look like `https://make.powerapps.com/e/Default-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/canvas/?action=edit&app-id=...`).
+>
+> Make sure coauthoring is enabled in the app (Settings → Updates → Coauthoring).
+
+Then extract from the URL:
+- **ENV_ID**: the path segment between `/e/` and the next `/` (e.g. `Default-91bee3d9-0c15-4f17-8624-c92bb8b36ead`).
+- **APP_ID**: URL-decode the `app-id` query parameter value, then take the last segment after the final `/` (e.g. `6fc3e3d1-292b-4281-8826-577f78512e56`)
+- **MAKER_HOSTNAME**: the hostname of the URL (e.g. `make.powerapps.com`)
+- **CLUSTER_CATEGORY**: determined from MAKER_HOSTNAME (see table below)
+
+**Determine CLUSTER_CATEGORY from MAKER_HOSTNAME:**
+
+| MAKER_HOSTNAME | CLUSTER_CATEGORY |
+| ---------------------------- | ---------------- |
+| `make.powerapps.com` | `prod` |
+| `make.preview.powerapps.com` | `prod` |
+| Any other hostname | `test` |
+
+**Example:**
+
+Example URL: `https://make.powerapps.com/e/Default-91bee3d9-0c15-4f17-8624-c92bb8b36ead/canvas/?action=edit&app-id=%2Fproviders%2FMicrosoft.PowerApps%2Fapps%2F6fc3e3d1-292b-4281-8826-577f78512e56`
+
+- ENV_ID → `Default-91bee3d9-0c15-4f17-8624-c92bb8b36ead`
+- APP_ID → `6fc3e3d1-292b-4281-8826-577f78512e56`
+- MAKER_HOSTNAME → `make.powerapps.com`
+- CLUSTER_CATEGORY → `prod`
+
+Store these as `ENV_ID`, `APP_ID`, and `CLUSTER_CATEGORY` for use in step 4.
+
+### 4. Register the MCP server
+
+**If TOOL_TYPE is `claude`:**
+Run the following command to register the server with Claude Code:
+
+```bash
+claude mcp add --scope {CLAUDE_SCOPE} canvas-authoring \
+ -e CANVAS_ENVIRONMENT_ID={ENV_ID} \
+ -e CANVAS_APP_ID={APP_ID} \
+ -e CANVAS_CLUSTER_CATEGORY={CLUSTER_CATEGORY} \
+ -- dnx Microsoft.PowerApps.CanvasAuthoring.McpServer --yes --prerelease --source https://msazure.pkgs.visualstudio.com/_packaging/Power-Fx/nuget/v3/index.json
+```
+
+If the command fails because `canvas-authoring` is already registered, remove it first, then re-add:
+
+```bash
+claude mcp remove canvas-authoring
+claude mcp add --scope {CLAUDE_SCOPE} canvas-authoring \
+ -e CANVAS_ENVIRONMENT_ID={ENV_ID} \
+ -e CANVAS_APP_ID={APP_ID} \
+ -e CANVAS_CLUSTER_CATEGORY={CLUSTER_CATEGORY} \
+ -- dnx Microsoft.PowerApps.CanvasAuthoring.McpServer --yes --prerelease --source https://msazure.pkgs.visualstudio.com/_packaging/Power-Fx/nuget/v3/index.json
+```
+
+**If TOOL_TYPE is `copilot`:**
+1. If `CONFIG_PATH` is for a **project-scoped** configuration (`.mcp/copilot/mcp.json`), ensure the directory exists first:
+ ```bash
+ mkdir -p .mcp/copilot
+ ```
+
+2. Read the existing configuration file at `CONFIG_PATH`, or create a new empty config if it doesn't exist:
+ ```json
+ {}
+ ```
+
+3. Determine which top-level key to use:
+ - If the config already has `"servers"`, use that
+ - Otherwise, use `"mcpServers"`
+
+4. Add or update the server entry:
+ ```json
+ {
+ "mcpServers": { // or "servers", depending on existing config
+ "canvas-authoring": {
+ "type": "stdio",
+ "command": "dnx",
+ "args": [
+ "Microsoft.PowerApps.CanvasAuthoring.McpServer",
+ "--yes",
+ "--prerelease",
+ "--source",
+ "https://msazure.pkgs.visualstudio.com/_packaging/Power-Fx/nuget/v3/index.json"
+ ],
+ "env": {
+ "CANVAS_ENVIRONMENT_ID": "{ENV_ID}",
+ "CANVAS_APP_ID": "{APP_ID}",
+ "CANVAS_CLUSTER_CATEGORY": "{CLUSTER_CATEGORY}"
+ }
+ }
+ }
+ }
+ ```
+
+5. Write the updated configuration back to `CONFIG_PATH` with proper JSON formatting (2-space indentation).
+
+**Important notes:**
+- Do NOT overwrite other entries in the configuration file
+- Preserve the existing structure and formatting
+
+### 5. Confirm and provide next steps
+
+If TOOL_TYPE is `claude`:
+
+Tell the user:
+
+> ✅ Canvas Authoring MCP server configured (`canvas-authoring`, scope: `{CLAUDE_SCOPE}`).
+>
+> **Restart Claude Code to activate it.** Remember to use `claude --continue` to resume this session without losing context.
+>
+> After restarting, verify the setup:
+> - `canvas-authoring` should appear in the MCP server list
+> - Ask Claude: "List available Canvas App controls" — should invoke `list_controls`
+
+If TOOL_TYPE is `copilot`:
+
+Tell the user:
+
+> ✅ Canvas Authoring MCP server configured (`canvas-authoring`, configPath: `{CONFIG_PATH}`).
+>
+> **Restart Copilot to activate it.**
+>
+> After restarting, verify the setup:
+> - `canvas-authoring` should appear in the MCP server list
+> - Ask Copilot: "List available Canvas App controls" — should invoke `list_controls`
\ No newline at end of file
diff --git a/plugins/canvas-apps/skills/edit-canvas-app/SKILL.md b/plugins/canvas-apps/skills/edit-canvas-app/SKILL.md
new file mode 100644
index 000000000..56394e5b6
--- /dev/null
+++ b/plugins/canvas-apps/skills/edit-canvas-app/SKILL.md
@@ -0,0 +1,34 @@
+---
+name: edit-canvas-app
+version: 1.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
+---
+
+# Edit a Canvas App
+
+Make the following changes to the existing Canvas App:
+
+$ARGUMENTS
+
+## CRITICAL: Review Guidance First
+
+Before making any changes, you MUST read and internalize the technical reference document:
+
+- `${CLAUDE_PLUGIN_ROOT}/references/TechnicalGuide.md` — Technical best practices, control selection, validation workflow, formulas, layout strategies
+
+Read this file before planning any edits.
+
+## CRITICAL: Sync the Canvas App First
+
+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.
+
+Only proceed to edit the YAML files after `sync_canvas` completes successfully.
+
+## Editing Workflow
+
+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
diff --git a/plugins/canvas-apps/skills/generate-canvas-app/SKILL.md b/plugins/canvas-apps/skills/generate-canvas-app/SKILL.md
new file mode 100644
index 000000000..70c031aa1
--- /dev/null
+++ b/plugins/canvas-apps/skills/generate-canvas-app/SKILL.md
@@ -0,0 +1,89 @@
+---
+name: generate-canvas-app
+version: 1.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
+---
+
+# Generate a Canvas App
+
+Create a complete Power Apps canvas app for the following requirements:
+
+$ARGUMENTS
+
+## CRITICAL: Review Guidance First
+
+Before designing anything, you MUST read and internalize both reference documents:
+
+- `${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
+
+Read both files before planning any layout or choosing any control types.
+
+## Generation Workflow
+
+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:
+
+ > **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"].
+
+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.
+
+ After creating all tasks, present the plan to the user:
+
+ > **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"]
+
+ Then use `AskUserQuestion`:
+
+ | Question | Options |
+ |----------|---------|
+ | Does this plan look good? | Approve and start building (Recommended), I'd like to make changes |
+
+ - If approved: proceed to Design.
+ - If changes requested: ask what they want changed, revise the plan, and re-present it.
+
+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.
+
+ After finalizing the design, share the direction with the user:
+
+ > **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]
+
+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:
+
+ > **Implementing [Screen Name] ([N] of [Total])...**
+
+ Call `TaskUpdate` to mark each screen's task complete as each screen is finished.
+
+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:
+
+ - On success: > **[Screen Name] compiled successfully.**
+ - On failure: > **[Screen Name] has [N] error(s) — fixing before moving on.** [brief description of errors]
+
+6. **Iterate** — Repeat validate → fix until all screens compile clean. Call `TaskUpdate` to mark the validation task complete when all screens pass.
+
+7. **Complete** — When all screens pass validation, present a final summary:
+
+ > **App generation complete.**
+ >
+ > | Screen | File | Status |
+ > |--------|------|--------|
+ > | [Screen Name] | [filename].pa.yaml | Compiled |
+ >
+ > **Aesthetic:** [one-line description] | **Screens:** [N] | **Data:** [source or collections]