帮助用户将 Power Apps 代码应用构建并部署到 Power Platform。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "deploy" 技能: 1. 下载 https://raw.githubusercontent.com/microsoft/power-platform-skills/main/plugins/code-apps/skills/deploy/SKILL.md 2. 保存为 ~/.claude/skills/deploy/SKILL.md 3. 装好后重载技能,告诉我可以用了
请将当前 Power Apps 代码应用构建并部署到指定的 Power Platform 环境,包含部署前检查、构建步骤和部署结果说明。
完成应用构建与首次部署,并返回部署状态、关键步骤及可能的问题提示。
请将现有 Power Apps 应用重新部署到 Power Platform,保留当前配置,并说明是否部署成功。
输出重新部署结果,说明是否成功、沿用的配置以及失败时的报错信息。
请把我对 Power Apps 代码应用的最新更改构建后部署到 Power Platform,并总结本次更新内容与发布结果。
返回更新后的部署结果,并概述本次发布包含的变更与发布状态。
📋 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.
npx power-apps push
Capture the app URL from the output if present.
If deploy fails, report the error and stop — do not retry silently. Common fixes:
npx power-apps logout, 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:
为 Power Apps 代码应用接入 Azure DevOps 连接器,便于查询工单、提报缺陷与管理流水线。
将聊天中的应用想法快速生成并部署为全栈网页应用