power-app-yamllisted
Install: claude install-skill YKUNAKORN/power-app-yaml
# HTML / Image → Power Apps Canvas YAML
Turn a mockup into a `.pa.yaml` that pastes cleanly into Studio ("Paste code" on a blank
screen). Work the steps in order, use only catalogued controls, never improvise schema.
Rationale: [`README.md`](../../README.md).
## The workflow (in order)
Two branches. **App already exists** — run `scripts/app_inventory.py` first, then
[`extend-existing-app.md`](references/extend-existing-app.md) alongside these steps.
**Data-bound** — [`data-binding.md`](references/data-binding.md); none of it is
confirmed, so hand over the matching [`assets/test-snippets/`](assets/test-snippets/).
1. **Read [`references/controls.yaml`](references/controls.yaml)** — the catalog of what
works. Fresh each time; the user may have added entries since.
[`confirmed-controls.md`](references/confirmed-controls.md) is the same facts in prose,
plus gotchas and the paste-error table.
2. **Pick pattern(s) from [`assets/patterns/`](assets/patterns/)** — 13 lint-clean 30–85
line snippets extracted from the examples. Read only what you need:
`screen-shell`, `sidebar-nav-item`, `top-bar`, `card-container`, `section-header`,
`form-field-text`, `form-field-dropdown`, `tile-grid-cell`, `badge`, `divider`,
`avatar-row`, `footer-nav`, `two-column-split`.
3. **Apply [`references/layout-mapping.md`](references/layout-mapping.md)** for absolute
`X`/`Y`/`Width`/`Height`: canvas size and scale, Tailwind→px, flex/grid arithmetic,
nesting, screen `Height`. T