microsoft/power-platform-deploy
Builds and deploys a Power Apps code app to Power Platform. Use when deploying changes, redeploying an existing app, or pushing updates.
npx skills add https://github.com/microsoft/power-platform-skills --skill deploy
📋 Shared Instructions: shared-instructions.md - Cross-cutting concerns.
Builds and deploys the app in the current directory to Power Platform.
Check for memory-bank.md in the project root. If found, read it for the project name and environment. If not found, proceed — the project may have been created without the plugin.
npm run build
If the build fails:
Verify dist/ exists with index.html before continuing.
Ask the user: _"Ready to deploy to [environment name]? This will update the live app."_ Wait for explicit confirmation before proceeding.
> Resolve the CLI first (see cli-binary.md): run as $PA app push (npx --no-install pa …), never a bare pa. On power-apps-only projects, translate to power-apps push.
pa app push
Capture the app URL from the output if present.
If deploy fails, report the error and stop — do not retry silently. Common fixes:
pa auth logout (or power-apps logout on power-apps-only projects), then retry — the CLI will re-prompt browser login.environmentId in power.config.json to the correct value and retry.If memory-bank.md exists, update:
Take microsoft/power-platform-deploy from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.
The instructions reference npx.
Without those the skill loads but fails at the first command.