powerapps-canvas-yaml-generator

powerapps-canvas-yaml-generator is a skill for Claude Code, Codex from pnp/copilot-prompts. It costs 79 tokens per session (10,868 once invoked), scanned A, original, MIT.

A generator for Power Apps canvas screen files written in YAML, a structured text format. It creates screens such as forms, galleries, dialogs, dashboards, and detail views, including Power Fx formulas, the expression language used in Power Apps.

In plain words
What is it for?
Use it to scaffold or modify Power Apps canvas screens and generate their Power Fx formulas. It supports screens connected to SharePoint lists, Dataverse tables, or collections.
Why use it?
It helps avoid hand-writing YAML that Power Apps may reject. It also prompts for the screen’s name, purpose, data source, controls, and navigation context before creating it.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to scaffold or modify Power Apps canvas screens and generate their Power Fx formulas. It supports screens connected to SharePoint lists, Dataverse tables, or collections.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pnp/copilot-prompts/powerapps-canvas-yaml-generator
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add pnp/copilot-prompts --skill powerapps-canvas-yaml-generator
Clone the repo
git clone --depth 1 https://github.com/pnp/copilot-prompts

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for powerapps-canvas-yaml-generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/pnp/copilot-prompts/powerapps-canvas-yaml-generator/github.svg)](https://agentmods.dev/skills/pnp/copilot-prompts/powerapps-canvas-yaml-generator)
Your own site
<a href="https://agentmods.dev/skills/pnp/copilot-prompts/powerapps-canvas-yaml-generator"><img src="https://agentmods.dev/badge/skills/pnp/copilot-prompts/powerapps-canvas-yaml-generator/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for powerapps-canvas-yaml-generator

Your own site · 80×15
<a href="https://agentmods.dev/skills/pnp/copilot-prompts/powerapps-canvas-yaml-generator"><img src="https://agentmods.dev/badge/skills/pnp/copilot-prompts/powerapps-canvas-yaml-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,868 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Prompt Injection · line 99
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00079 $0.10868
Opus 5 $0.00039 $0.05434
Sonnet 5 $0.00016 $0.02174
Haiku 4.5 $0.00008 $0.01087

Measured 11d ago against content hash 9eb5a6d7903e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

powerapps-canvas-yaml-generator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

samples/skills/powerapps-canvas-yaml-generator/SKILL.md · 1,137 lines

How it starts

The opening of the file, as written. The whole thing — 1,137 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Power Apps Canvas App YAML Generator

Generates production-ready Power Apps Source Code YAML for canvas app screens, following the official Power Apps YAML source format rules and a consistent enterprise design system.


Before Starting

Always confirm the following before generating any YAML:

  1. Screen or component name — what to name the output (e.g. ScnDashboard, ScnRequestForm, DlgConfirmDelete)
  2. Component type — full screen, dialog/overlay, form, gallery list, detail view, dashboard, or other
  3. Navigation context — if a sidebar is needed, which nav item should be active; if no sidebar is needed, say so
  4. Screen purpose — one sentence describing what the screen or component does
  5. Data source — SharePoint list, Dataverse table, or collection name and any known column names (if data-driven)
  6. Controls needed — gallery, form fields, dropdowns, status badges, buttons, dialogs, etc.

If any detail is missing, ask before generating.


Step 1: Confirm the Component Type

The component type determines the top-level YAML structure:

  • Full screens → wrapped in Screens: block
  • Dialogs, popups, components, partial UI → bare container tree, NO Screens: wrapper
Type Screens: wrapper? When to use
Full screen with sidebar YES A primary app screen with global navigation
Full screen without sidebar YES A login, splash, or single-purpose screen
Dialog / overlay / popup NO A confirmation, quick-entry panel, or modal overlaid on another screen
Reusable component / card NO A panel, card, or UI fragment embedded within a screen
Standalone form screen YES A dedicated create or edit screen without a sidebar
Gallery list screen YES A searchable, filterable list of records
Detail view screen YES A read-only or editable single-record view
Dashboard screen YES A summary screen with KPI cards
Custom / other Ask Describe it

Read the full file on GitHub · 1,137 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 1,137 lines · 79 tokens per session scan A 9eb5a6d7903e

Subscribe to this mod's changes

powerapps-canvas-yaml-generator is a skill published in the GitHub repository pnp/copilot-prompts (875 stars, last pushed 3d ago), licensed MIT. It adds 79 tokens to every session and 10,868 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

image-prompt-guide

A reference guide for writing prompts that tell an AI image generator what picture to create.

treylom/prompt-engineering-skills · 103 tokens

image-prompt-builder-nl

Craft high-quality natural-language image prompts for any modern text-to-image or image-edit model that accepts flowing English. Trigger when the user wants help writing, rewriting, improving, or translating an English natural-language image prompt — including "write me an image prompt", "improve this image prompt"…

jim60105/copilot-prompt · 125 tokens

docsify

Comprehensive guide for building, configuring, customizing, and deploying Docsify documentation sites. Use when the user wants to (1) initialize a new Docsify site, (2) add or organize Markdown pages, sidebars, navbars, or cover pages, (3) configure window.$docsify options, (4) customize themes / CSS variables /…

jim60105/copilot-prompt · 250 tokens

ai-engineering-toolkit

6 production-ready AI engineering workflows: prompt evaluation (8-dimension scoring), context budget planning, RAG pipeline design, agent security audit (65-point checklist), eval harness building, and product sense coaching.

sickn33/agentic-awesome-skills · 47 tokens

guidance

Control LLM output with regex and grammars, guarantee valid JSON/XML/code generation, enforce structured formats, and build multi-step workflows with Guidance - Microsoft Research's constrained generation framework.

davila7/claude-code-templates · 38 tokens

promptfoo-provider-setup

Configure promptfoo providers or redteam targets for hosted models, live HTTP APIs, Python/JavaScript local scripts, agent SDKs, or multi-input systems. Use when connecting promptfoo to the system under test, mapping vars, auth env vars, request bodies, response transforms, or static-code-derived provider wrappers. Do…

promptfoo/promptfoo · 91 tokens