帮助用户在 Power Platform 环境中激活并开通 Power Pages 网站。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "activate-site" 技能: 1. 下载 https://raw.githubusercontent.com/microsoft/power-platform-skills/main/plugins/power-pages/skills/activate-site/SKILL.md 2. 保存为 ~/.claude/skills/activate-site/SKILL.md 3. 装好后重载技能,告诉我可以用了
请在指定的 Power Platform 环境中激活并开通这个 Power Pages 网站,返回执行状态、网站标识和后续访问建议。
返回网站激活与开通结果,包括状态、关键标识信息及后续操作建议。
帮我检查这个 Power Pages 网站是否已启用;如果没有,请执行激活与开通,并说明结果。
说明站点当前状态,并在需要时完成启用与开通,反馈最终结果。
在目标 Power Platform 环境中为该 Power Pages 网站执行开通流程,并输出是否成功、可能的前置条件和错误信息。
提供开通执行结果,包含成功与否、前置条件提示及错误详情。
Plugin check: Run
node "${CLAUDE_PLUGIN_ROOT}/scripts/check-version.js"— if it outputs a message, show it to the user before proceeding.
Provision a new Power Pages website in a Power Platform environment via the Power Platform REST API.
Prerequisite: This skill expects an existing Power Pages code site created via
/create-site. Run that skill first if the site does not exist yet.
pac auth who.Initial request: $ARGUMENTS
Goal: Ensure PAC CLI is installed and authenticated, and verify the user is logged in to Azure CLI (scripts handle token acquisition internally).
Run pac help to check if the PAC CLI is installed and available on the system PATH.
pac help
If the command fails (command not found / not recognized):
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.
After installation, verify by running pac help again.
Run pac auth who to check current authentication status.
pac auth who
If authenticated: Extract these values from the output:
Environment ID:Organization ID: (this is the Dataverse org ID)Cloud: (e.g., Public, UsGov, UsGovHigh, UsGovDod, China)If not authenticated: Follow the same authentication flow as deploy-site — ask the user for their environment URL and run pac auth create --environment "<URL>".
Verify the user is logged in to Azure CLI (the activation scripts acquire tokens internally):
az account show
If az is not installed or not logged in: Instruct the user to install Azure CLI and run az login --allow-no-subscriptions (this form works whether or not the user has an Azure subscription — the activation flow only needs an AAD token).
Before gathering parameters, check whether the site is already activated by running the shared activation status script:
node "${CLAUDE_PLUGIN_ROOT}/scripts/check-activation-status.js" --projectRoot "<PROJECT_ROOT>"
Where <PROJECT_ROOT> is the directory containing powerpages.config.json or .powerpages-site folder.
Evaluate the JSON result:
activated is true: Inform the user their site is already activated at websiteUrl. Suggest next steps (Phase 5.3) and stop — do NOT proceed to Phase 2.activated is false: Proceed to Phase 2.error is present: Proceed to Phase 2 (do not block the activation flow).…
对已部署的 Power Pages 站点执行安全扫描并生成通俗风险摘要。
帮助你快速搭建 Power Platform 管道,实现 Power Pages 自动化部署。
检查并配置 Power Pages 站点安全响应头,定位风险并指导修复设置。
对 Power Pages 站点执行端到端安全审查,并汇总生成完整 HTML 报告。
用于对已部署的 Power Pages 网站进行运行时浏览、爬取与接口验证测试。
帮助你将 Power Automate 云端流程接入 Power Pages 站点并生成调用代码
将现有 Power Pages 代码站点构建并部署到目标环境,完成认证与上传流程。
帮助你从需求梳理到部署上线,快速创建全新的 Power Pages 代码网站。
为 Power Pages 多环境部署生成并执行可审核的 ALM 规划方案。
帮助你将 Power Pages Web API 集成到前端,并完成权限配置与部署上线。
检查并配置 Power Pages 站点前的 WAF 防火墙,提升抗攻击与访问控制能力。
为 Power Pages 站点创建发布者与解决方案,并完成组件打包以支持 ALM 部署。