帮助用户为 Power Pages 站点配置登录认证、权限控制与身份提供商接入。
该技能材料显示其为开源的 prompt-only 技能,未声明需要密钥或远程端点,整体风险较低。其主要作用是指导为 Power Pages 站点配置认证与授权;需注意它会引导修改本地项目认证相关代码与配置,但未见明确数据外传或高危红旗。
材料明确标注无需密钥/环境变量,README 也未要求提交 token、API key 或账户凭证。虽然其业务主题涉及身份提供商配置,但当前披露内容未显示技能本身收集、存储或外传凭证。
已声明无远程端点;从现有材料看,这是用于生成/指导认证配置的 prompt-only 技能,未见将用户数据发送到第三方服务的描述。文档中提到的 Entra ID、Google、Facebook 等仅为可配置身份提供商类型,不等于该技能自身直接联网外发。
README 出现 `node "${CLAUDE_PLUGIN_ROOT}/scripts/check-version.js"` 的插件检查指令,并且工作流包含验证构建成功等步骤,说明其使用场景可能涉及在本地项目环境执行检查或构建命令。对技能/工具而言,这属于常规本地开发能力,需留意但材料未显示越权执行或高危系统权限申请。
文档要求查找 `powerpages.config.json`、检查 `.powerpages-site`、检测现有认证代码并创建/修改认证服务、授权工具和 UI,表明其会接触并修改本地项目文件。该访问范围与其声明功能基本一致,未见超出认证配置目标的过度数据访问描述。
来源为 GitHub 上的 Microsoft 相关开源仓库,源码可审计,这明显降低供应链风险。需注意仓库 star 为 0、许可证未声明、维护状态未知,可信度虽不如成熟高活跃项目,但现有材料未见闭源、失真来源或可疑注入红旗。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "setup-auth" 技能: 1. 下载 https://raw.githubusercontent.com/microsoft/power-platform-skills/main/plugins/power-pages/skills/setup-auth/SKILL.md 2. 保存为 ~/.claude/skills/setup-auth/SKILL.md 3. 装好后重载技能,告诉我可以用了
请为我的 Power Pages 站点配置 Microsoft Entra ID 登录,包含登录、登出、受保护页面访问控制,并说明需要修改的配置步骤。
提供基于 Entra ID 的认证与授权配置方案,包括登录登出流程和页面保护设置。
帮我在 Power Pages 中启用本地用户名密码登录,并设置注册、登录、登出以及仅登录用户可访问的页面。
给出本地认证启用方法、用户访问限制配置和相关实施步骤。
请为我的 Power Pages 站点接入 Google 登录,并配置登录后按用户角色控制不同页面访问权限。
输出第三方登录接入方案,以及基于角色的页面授权配置建议。
Plugin check: Run
node "${CLAUDE_PLUGIN_ROOT}/scripts/check-version.js"— if it outputs a message, show it to the user before proceeding.
Configure authentication (login/logout) and role-based authorization for a Power Pages code site. This skill supports multiple identity providers -- Microsoft Entra ID, Entra External ID (for customer-facing apps with self-service sign-up), OpenID Connect (generic), SAML2, WS-Federation, local authentication (username/password), Microsoft Account, Facebook, and Google. It also supports optional features including invitation-based registration and Terms & Conditions acceptance. Power Pages built-in 2FA is intentionally not scaffolded because the SendCode/VerifyCode pages are server-rendered and cannot be integrated into a SPA experience — use IdP-level MFA instead. It creates an auth service, type declarations, authorization utilities, auth UI components, and role-based access control patterns appropriate to the site's framework and chosen identity provider(s).
Initial request: $ARGUMENTS
Prerequisites:
- An existing Power Pages code site created via
/create-site- The site must be deployed at least once (
.powerpages-sitefolder must exist)- Web roles must be created via
/create-webroles
Goal: Confirm the project exists, identify the framework, verify deployment status and web roles, and check for existing auth code.
Look for powerpages.config.json in the current directory or immediate subdirectories:
**/powerpages.config.json
If not found: Tell the user to create a site first with /create-site.
Read package.json to determine the framework (React, Vue, Angular, or Astro). See ${CLAUDE_PLUGIN_ROOT}/references/framework-conventions.md for the full framework detection mapping.
Look for the .powerpages-site folder:
**/.powerpages-site
If not found: Tell the user the site must be deployed first:
"The
.powerpages-sitefolder was not found. The site needs to be deployed at least once before authentication can be configured."
Use AskUserQuestion:
| Question | Options |
|---|---|
| Your site needs to be deployed first. Would you like to deploy now? | Yes, deploy now (Recommended), No, I'll do it later |
If "Yes, deploy now": Invoke /deploy-site, then resume.
If "No": Stop — the site must be deployed first.
Look for web role YAML files in .powerpages-site/web-roles/:
**/.powerpages-site/web-roles/*.yml
…
检查并配置 Power Pages 站点安全响应头,定位风险并指导修复设置。
对 Power Pages 站点执行端到端安全审查,并汇总生成完整 HTML 报告。
用于对已部署的 Power Pages 网站进行运行时浏览、爬取与接口验证测试。
帮助你为 Power Apps 代码应用添加数据源或连接器,并引导到合适操作流程。
为 Power Apps 代码应用接入 Azure DevOps 连接器,便于查询工单、提报缺陷与管理流水线。
帮助你快速搭建 Power Platform 管道,实现 Power Pages 自动化部署。
帮助你将 Power Automate 云端流程接入 Power Pages 站点并生成调用代码
帮助你为 Convex 应用配置认证、身份映射与访问控制流程。
指导完成 Microsoft Entra ID 应用注册、OAuth 配置与 MSAL 接入。
为 Power Pages 站点创建发布者与解决方案,并完成组件打包以支持 ALM 部署。
为 Power Pages 代码站点补齐 SEO 基础配置,提升搜索可见性与分享展示效果。
检查并配置 Power Pages 站点前的 WAF 防火墙,提升抗攻击与访问控制能力。