帮助你将 Power Pages Web API 集成到前端,并完成权限配置与部署上线。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "integrate-webapi" 技能: 1. 下载 https://raw.githubusercontent.com/microsoft/power-platform-skills/main/plugins/power-pages/skills/integrate-webapi/SKILL.md 2. 保存为 ~/.claude/skills/integrate-webapi/SKILL.md 3. 装好后重载技能,告诉我可以用了
请帮我在 Power Pages 站点前端接入 Web API,从 Dataverse 的 Contact 表读取当前用户可见的数据。请提供前端调用示例、所需表权限配置,以及部署注意事项。
返回用于前端读取数据的示例代码、对应的表权限设置说明,以及可上线的部署步骤清单。
我想在 Power Pages 页面表单提交后,通过 Web API 向 Dataverse 的 Case 表新增一条记录。请帮我设计前端调用代码、权限配置和发布流程,确保访客提交能成功写入。
输出创建记录的前端代码方案、访客可用的权限配置建议,以及从测试到发布的实施步骤。
请为我的 Power Pages 站点规划一个完整的 Web API CRUD 集成方案,目标表为 Custom Requests。需要包含读取、创建、更新、删除的前端代码结构、表权限策略,以及部署到正式环境的建议。
给出覆盖 CRUD 的集成方案,包括代码结构、权限矩阵和正式环境部署建议,便于直接落地实施。
Plugin check: Run
node "${CLAUDE_PLUGIN_ROOT}/scripts/check-version.js"— if it outputs a message, show it to the user before proceeding.
Integrate Power Pages Web API into a code site's frontend. This skill orchestrates the full lifecycle: analyzing where integrations are needed, implementing API client code for each table, configuring permissions and site settings, and deploying the site.
powerPagesApi.ts client. Once that exists, remaining tables can be processed in parallel since each creates independent files (types, service, hooks).table-permissions-architect and webapi-settings-architect agents are independent — invoke them in parallel rather than sequentially..powerpages-site folder must exist before table permissions and site settings can be configured. Integration code can be written without it, but permissions cannot.Prerequisites:
- An existing Power Pages code site created via
/create-site- A Dataverse data model (tables/columns) already set up via
/setup-datamodelor created manually- The site must be deployed at least once (
.powerpages-sitefolder must exist) for permissions setup
Initial request: $ARGUMENTS
webapi-integration agent for each table/deploy-site if confirmedGoal: Locate the Power Pages project root and confirm that prerequisites are met
Actions:
Look for powerpages.config.json in the current directory or immediate subdirectories to find the project root. Use your file-search tool (e.g., Glob with patterns powerpages.config.json and */powerpages.config.json) rather than a shell-specific command.
If not found: Tell the user to create a site first with /create-site.
Read powerpages.config.json to get the site name.
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 .datamodel-manifest.json to discover available tables:
**/.datamodel-manifest.json
If found, read it — this is the primary source for table discovery.
Look for the .powerpages-site folder:
**/.powerpages-site
If not found: Warn the user that the permissions phase (Phase 5) will require deployment first. The integration code (Phases 2–4) can still proceed.
Output: Confirmed project root, framework, data model availability, and deployment status
Goal: Analyze the site code and data model to identify all tables needing Web API integration
Actions:
…
帮助你为当前协作会话配置 Canvas Authoring MCP 服务器并排查连接问题
帮助用户将 canvas-apps 插件问题整理并提交为规范的 GitHub issue。
为 Power Apps 代码应用接入 Azure DevOps 连接器,便于查询工单、提报缺陷与管理流水线。
帮助你为 Power Apps 代码应用添加数据源或连接器,并引导到合适操作流程。
为 Power Apps 代码应用快速接入任意 Power Platform 连接器。
为 Power Apps 代码应用添加 Excel Online 连接器,便于读写 OneDrive 或 SharePoint 中的表格数据。
分析业务需求并推荐 Power Pages 最合适的后端集成方案与实施路径。
根据数据模型方案为 Power Pages 站点创建 Dataverse 表、字段与关系。
为 Power Apps 代码应用添加 Dataverse 表,并生成 TypeScript 模型与服务。
帮助你将 Power Automate 云端流程接入 Power Pages 站点并生成调用代码
审计 Power Pages 站点表权限配置,输出分级安全报告并给出修复建议。
为 Dataverse 表批量生成示例记录,便于测试和演示 Power Pages 站点。