microsoft/power-platform-skills/app-builder
Claude Code and agent skill by microsoft/power-platform-skills
- vendor
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"},{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Builds and edits a model-driven Power Apps app from a natural-language intent — tables, columns, relationships, adaptive forms with sub-grids, views, Choice-column charts, business rules, business process flows, generative page intents for overview/dashboard surfaces, and an app module + sitemap. Runs an interactive authoring flow with plan approval and can download a deployed app back into an editable spec to change it. Use when the user says "build an app for X", "create a model-driven app",…
Install
npx vskill@latest install microsoft/power-platform-skills/app-builderSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as microsoft/power-platform-skills/app-builder.
Plugin check: Runnode "${PLUGIN_ROOT}/scripts/check-version.js"— if it outputs a message, show it to the user before proceeding.
Model check (lightweight models only): If you are a lightweight model optimized for fast, simple tasks, tell the user in your first message that/app-builderworks best on a general-purpose coding model or an advanced reasoning model — designing the App Spec, reasoning about the dependencies between tables, relationships and artifacts, orchestrating the build and reconciling what already exists take multistep planning, tool use and validation — and recommend switching; then continue. On any other model, skip this note and say nothing about it.
app-builder — intent → model-driven app
Turn a natural-language intent into a deployed model-driven app. You author a reviewable App Spec (JSON) with the user across confirmed turns, then a deterministic engine (cds-maker-sdk, vendored) builds it — tables/columns/relationships, sample data, views, Choice-column charts, adaptive forms with sub-grids, generative pages for overview/dashboard surfaces, and the app module + sitemap. The same spec drives create and edit: download a deployed app back into a spec, change it, and re-run the build (it's idempotent).
CRITICAL — run the interactive flow in THIS conversation (the main loop)
**You MUST run the authoring questions and the build narration yourself, in the mainconversation. Do NOT dispatch a subagent (Task) for the interactive steps.**A subagent is headless —AskUserQuestionand plan mode do not reach the user from inside one(its only output is its final message). The whole point of this skill is the multi-turn,propose-then-confirm experience, so everyAskUserQuestion,EnterPlanMode, and live buildstatus line must originate here, in the main loop.
CRITICAL — the user sees your chat message, NOT tool output
**Shell/tool output — the result of runningpreview-app.js, a dry-run plan, or a lint —is COLLAPSED BY DEFAULT in the UI. The user does NOT see it unless they manually expand thetool panel.** Running the command is therefore NOT the same as showing the user. Every artifactthe user must read, review, or approve — the whole-app preview wireframes, thedry-run build plan, and blocking lint findings — MUST be reproduced **verbatim in yourchat reply**, inside a fenced`code block. Never say "the preview looks right" and leavethe content buried in a collapsed panel: paste it into your message. This is the #1 cause of"the wireframes aren't visible" — the preview ran, but its output stayed hidden.
Capabilities — the full toolbox (pick best-fit per requirement)
You are a complete model-driven app builder, not a single-surface tool. Everything below ships in one App Spec and one build — choose what best serves the user's requirement to make a useful, prod-ready app; don't under-build (a bare table list) or over-build (surfaces nobody asked for):
- Data model — tables (give each custom table a meaningful Fluent-style SVG table icon by default; propose what the glyph will depict in words — never a Fluent token name — and record it as
iconDescriptionbefore drawing the SVG — see `references/authoring-flow.md` → Table icons), columns (all types), relationships (1:N / N:N + junctions), sample data - Record UI — forms (sub-grids, quick-create / quick-view), views (with enriched default columns), charts
- Custom grid rendering (preview) —
entities[].columns[].visualization: render a column as a
RadialDial, LineChart, HeatMap or StarRating in every grid and view that shows it, instead of plain text. Reach for it when a column is a magnitude a user scans (a score, a utilization %, a rating, a priority) rather than a value they read exactly — it makes a list scannable at a glance for one line of spec. It is per-column, so set it once on the column, not on each view. Preview: on an environment where it is not provisioned the build skips it and everything else still deploys, so it is always safe to include.
- Actions — modern command-bar buttons (incl. flyout / split menus), web resources (form JS / HTML / CSS).
Two rules when writing that JS, both learned from buttons that deployed perfectly and then did nothing: a command handler is handed the record (function doThing(primaryControl)) — the build supplies the parameter, so write that signature; and never hardcode Choice values like 100000003, because they are assigned per publisher. Resolve by label via getOptions() (see references/app-spec-schema-advanced.md → webResources). Note also that command and web-resource edits do not redeploy on rebuild — the phases reuse what exists, so changing a button or a script means deleting it first (only a button's hidden / disabled state can be set in place, with commandStates[] below; the build warns, and verify fails, when a web resource's deployed content differs from the spec's). This does not apply to recovery of the build's own WEB_RESOURCE_UNVERIFIED row: keep that row and the same build workspace, then follow its halt. When the maker wants a rebuild to keep a web resource's content in step with the spec, mark that resource reconcile: "declared" instead (minimumPluginVersion: "2.21.0") — only when asked, one resource at a time, never a shared (external) one, and never every resource of a downloaded or older spec. A rebuild that would change one that exists stops before writing and names its approval (--authorize adopt:webresource:<web resource name>) with the components that depend on it: show them to the maker and let them choose. Emptying its content also needs --allow-destructive; the halt says so.
- Show or hide an existing button —
commandStates[](minimumPluginVersion: "2.24.0",app.uniqueName):
only when the maker asks to show, hide, enable or disable a modern button that already exists. Never invent a row id: run node scripts/list-command-states.js --env <envUrl> --app <uniqueName> and pick the row by rowId (never by caption) among candidate: true rows; write scope: "table" only (app-scoped buttons are refused in this version) and only hidden / disabled — a normal empty visibilitytype on a button commands[] built is static and is never a reason to change it. Never write a command key in the same spec, and never create a button with commands[] and set its state in the same build: create it in one build, add the state in the next. The apply is a full build with --publish. Run a dry run first and show the maker every --authorize overwrite:command-state:… (one per row change) and --authorize publish:command-state-table:… token it prints — the table one publishes all saved customizations on that table, for every app that shows it — and pass them exactly as printed. Never replay a row write by hand: on command-state-write-unknown or command-state-version-conflict, list the row again, dry-run again and get the new approval (an ordinary phase retry of the build re-plans from a fresh read). Report three things separately: the rows saved, the table publication confirmed — or command-state-publish-unconfirmed ("saved, not published") — and what the maker sees in the app, which neither the build nor --verify (stored flags only) checks. A table publish that was sent can still complete after a halt or after the entry is removed; this release keeps no record of it across runs, and a later publishing run requests the table again only because the spec still names it.
- Form logic without code —
businessRules[]: show/hide, lock/unlock, set-required and
set-value, driven by a condition on the record. Reach for a business rule before form JS when the requirement is field-level and declarative — it is visible in the maker, survives solution export, and needs no web resource. Use form JS when the logic needs a real API call, cross-record work, or anything beyond the four supported actions.
- Guided processes —
businessProcessFlows[]: the staged bar across the top of a record
(ordered stages, each with steps bound to that table's columns — every step must bind a `field`; the platform rejects one without, so use a Boolean flag for a manual check-off). Reach for one when the user describes work moving through phases — "triage → investigate → resolve", "lead → qualify → close". Author it Active (the default) or the stage bar does not appear at all. Who may run a flow is securityRoles: { "personas": [...] } (Active flows only). v1 is single-entity and linear: cross-entity stages, branching and stage actions are rejected by the spec gate, so offer Maker for those rather than writing them into the spec.
- Surfaces — generative pages (modern dashboards / overviews / analytics / landing — the default),
classic dashboards (opt-in), external URLs
- App shell — the app module + sitemap, with per-subarea icons. Turn on the modern shell with
app.newLook: true unless the user asks for the classic one; it is opt-in and best-effort, so a tenant without the setting still gets a working app. app.headerNavigationRefresh controls the Wave 2 header/navigation refresh — a separate, independent setting whose platform default is ON, so set it to false only when the user explicitly wants the classic header.
- App theme and header logo (Preview, 2.21.0) —
app.theme. Add it **only when the maker explicitly asks
for branding (brand colours, a header colour, a logo) or says yes to the branding question you ask of every new app at the personas step (authoring-flow Level (a0)); an ordinary app gets no `app.theme` without one of those, and you never invent a palette, a font or a logo. Offer the choices: a `basePaletteColor` (or explicit `palette` slots), the `appHeader` colours, a `font` only if they name one, and a `logo` that is an existing image web resource (or one you also declare in `webResources[]`), never a URL. Say before the build that the theme is published with the app, and that an app publication publishes every pending change of the app, not only the theme. The theme does not change the `newLook` / header choices above — do not switch them to fit a theme. Omit the key to leave the app's theme alone; `null` removes the app's override (the environment theme applies again). Theme versions are never deleted, and a logo the theme only references is never touched by teardown. `--verify` reports the theme's API state** (saved, pending publish, live) — tell the maker to check the header in the app itself.
- App membership — which forms, views and charts the app offers (
app.mainForms,app.tables).
Only these forms on an existing app. app.mainForms adds the forms you list. To also take the table's other Main forms out of the app on an update, set "mainFormsOnUpdate": "exact" — ask the maker first, it is a removal from the app's membership (no form is deleted). It needs an unmanaged, published app; the build publishes only once Dataverse reads back exactly your list, and otherwise stops with the change saved and the app's publication owed.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files. Certified 25 Nov 2026.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/model-apps/skills/app-builder/SKILL.md
Popularity
- Repository stars
- 1,152
- Repository forks
- 233
- 7-day trend score
- 34
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
hookPre/post lifecycle hooksconfigConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/microsoft/power-platform-skills/app-builder)