将现有 Power Pages 代码站点构建并部署到目标环境,完成认证与上传流程。
整体看这是一个仅提示词的开源技能,未见密钥、远程端点或超出部署场景的明确红旗;主要风险仅来自其会调用本机 PAC CLI 进行常规部署操作,因此总体为需留意而非高风险。
材料声明不需要任何密钥/环境变量,也未描述凭证收集或转发;仅涉及既有 PAC CLI 会话的使用,未见明确凭证滥用红旗。
未声明自有远程端点;但部署过程会通过 PAC CLI 与 Power Pages/PAC 相关服务交互并上传站点内容,这是该工具的常规外联能力。
README 要求运行 `pac help`、`pac auth who` 等本机命令,并可能进行构建/上传;属于在本机执行常规工具命令,未见任意代码执行或额外系统权限申请。
该技能会读取本地站点源码并将其部署到目标环境,属于典型的数据访问与写入范围;材料未显示其会访问超出部署所需的额外文件或资源。
来源为 GitHub 开源仓库且可审计,但社区采用为 0 star、维护状态未知、许可证未声明,供应链可信度一般,需保守审视依赖与更新情况。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "deploy-site" 技能: 1. 下载 https://raw.githubusercontent.com/microsoft/power-platform-skills/main/plugins/power-pages/skills/deploy-site/SKILL.md 2. 保存为 ~/.claude/skills/deploy-site/SKILL.md 3. 装好后重载技能,告诉我可以用了
请使用 deploy-site 技能,将本地已有的 Power Pages 代码站点部署到测试环境。先检查 PAC CLI 是否可用,确认登录状态和目标环境,再执行构建与上传,并告诉我结果。
完成工具检查、身份验证、环境确认、站点构建与部署,并返回部署状态或报错信息。
请把当前仓库中的 Power Pages 站点代码发布到生产环境。部署前再次确认目标环境名称,避免误发;如果缺少认证或依赖,请先提示并处理。
在明确生产环境后完成部署,必要时给出确认与修复步骤,并输出最终发布结果。
我在部署 Power Pages 代码站点时失败了。请使用 deploy-site 技能重新执行流程,并重点检查 PAC CLI、登录状态、环境选择、构建步骤和上传阶段,告诉我失败原因与修复建议。
重新执行部署流程,定位失败环节,并提供清晰的错误说明与修复建议。
Plugin check: Run
node "${CLAUDE_PLUGIN_ROOT}/scripts/check-version.js"— if it outputs a message, show it to the user before proceeding.
Guide the user through deploying an existing Power Pages code site to a Power Pages environment using PAC CLI. Follow a systematic approach: verify tooling, authenticate, confirm the target environment, build and upload the site, and handle any blockers.
Initial request: $ARGUMENTS
Goal: Ensure PAC CLI is installed and available on the system PATH
Actions:
Create todo list with all 6 phases (see Progress Tracking table)
Run pac help to check if the PAC CLI is installed and available on the system PATH.
pac help
If the command succeeds: PAC CLI is installed. Proceed to Phase 2.
If the command fails (command not found / not recognized):
Inform the user that PAC CLI is required but not installed.
Fetch installation instructions from https://aka.ms/PowerPlatformCLI using the following approach:
Tell the user: "PAC CLI is not installed. You can install it by running:"
dotnet tool install --global Microsoft.PowerApps.CLI.Tool
If dotnet is also not available, direct the user to https://aka.ms/PowerPlatformCLI for full installation instructions including .NET SDK setup.
After installation, verify by running pac help again.
If it still fails, stop and ask the user to resolve the installation manually.
Output: PAC CLI installed and verified
Goal: Ensure the user is authenticated with PAC CLI and has a valid session
Actions:
Run pac auth who to check the current authentication status.
pac auth who
If authenticated: Extract the following values from the output:
Environment ID:Cloud: (e.g., Public, UsGov, UsGovHigh, UsGovDod, China)Proceed to Phase 3.
If not authenticated:
Inform the user they are not authenticated with PAC CLI.
Use AskUserQuestion to ask for the environment URL:
| Question | Header | Options |
|---|---|---|
You are not authenticated with PAC CLI. Please provide your Power Pages environment URL (e.g., https://org12345.crm.dynamics.com) so I can authenticate you. | Auth | (free text input via "Other") |
Provide two placeholder options to guide the user:
Once the user provides the URL, run the authentication command:
pac auth create --environment "<USER_PROVIDED_URL>"
This will open a browser window for the user to sign in.
After the command completes, verify by running pac auth who again.
If authentication succeeds, proceed to Phase 3.
If authentication fails, present the error to the user and help them troubleshoot.
Output: Authenticated PAC CLI session with environment name and URL extracted
…
对已部署的 Power Pages 站点执行安全扫描并生成通俗风险摘要。
帮助你快速搭建 Power Platform 管道,实现 Power Pages 自动化部署。
检查并配置 Power Pages 站点安全响应头,定位风险并指导修复设置。
对 Power Pages 站点执行端到端安全审查,并汇总生成完整 HTML 报告。
用于对已部署的 Power Pages 网站进行运行时浏览、爬取与接口验证测试。
帮助你将 Power Automate 云端流程接入 Power Pages 站点并生成调用代码
帮助用户将 Power Apps 代码应用构建并部署到 Power Platform。
帮助你从需求梳理到部署上线,快速创建全新的 Power Pages 代码网站。
触发 Power Platform 管道部署并跟踪 Power Pages 解决方案发布状态
帮助用户在 Power Platform 环境中激活并开通 Power Pages 网站。
为 Power Pages 站点配置环境变量与部署设置,支持多环境 ALM 发布。
帮助你将 Power Pages Web API 集成到前端,并完成权限配置与部署上线。