为 Power Pages 代码站点补齐 SEO 基础配置,提升搜索可见性与分享展示效果。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "add-seo" 技能: 1. 下载 https://raw.githubusercontent.com/microsoft/power-platform-skills/main/plugins/power-pages/skills/add-seo/SKILL.md 2. 保存为 ~/.claude/skills/add-seo/SKILL.md 3. 装好后重载技能,告诉我可以用了
请为我的 Power Pages 代码站点添加 SEO 基础配置,包括 robots.txt、sitemap.xml、meta description、Open Graph 标签和 favicon,并说明每项用途。
返回可用于站点的 SEO 配置内容或代码,并附上各配置项的作用说明。
我的 Power Pages 网站不容易被搜索到,请帮我补充有利于搜索引擎收录的基础 SEO 文件和标签配置。
生成适合收录优化的 robots.txt、sitemap.xml 与页面头部标签建议或代码。
请检查并补充我的 Power Pages 站点的 Open Graph 标签和 favicon 配置,让页面分享到社交平台时显示更完整。
输出用于社交分享预览优化的标签配置,以及站点图标设置建议。
Plugin check: Run
node "${CLAUDE_PLUGIN_ROOT}/scripts/check-version.js"— if it outputs a message, show it to the user before proceeding.
Add essential SEO assets to a Power Pages code site: robots.txt, sitemap.xml, and meta tags.
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.
robots.txt and sitemap.xml before any other SEO work matters.Initial request: $ARGUMENTS
Goal: Confirm a Power Pages code site exists and understand its structure.
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 and config.
Read package.json to determine the framework and locate key files. See ${CLAUDE_PLUGIN_ROOT}/references/framework-conventions.md for the full framework → public directory → index HTML mapping and route discovery patterns.
Build a list of all routes (e.g., /, /about, /contact, /blog).
Goal: Collect all SEO preferences from the user before making any changes.
Use AskUserQuestion to collect SEO preferences:
| Question | Header | Options |
|---|---|---|
| What is the production URL for your site? (e.g., https://contoso.powerappsportals.com) | Site URL | (free text — use single generic option so user types via "Other") |
| Which pages should be excluded from search engine indexing? | Exclusions | None — index all pages (Recommended), Admin/auth pages only, Let me specify |
| Question | Header | Options |
|---|---|---|
| What meta description should appear in search results? | Description | (free text — use single generic option so user types via "Other") |
| Add Open Graph tags for social media sharing? | OG Tags | Yes — add Open Graph and Twitter Card tags (Recommended), No — skip social tags |
Goal: Present the full SEO plan to the user and get explicit approval before making changes.
Present the SEO additions that will be made as a clear, inline summary:
…
帮助你为当前协作会话配置 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 插件问题整理并提交为 GitHub Issue。
为 Power Pages 编写、配置并部署安全的服务器端逻辑与接口。
帮助你将 Power Automate 云端流程接入 Power Pages 站点并生成调用代码
用于对已部署的 Power Pages 网站进行运行时浏览、爬取与接口验证测试。
对 Power Pages 站点执行端到端安全审查,并汇总生成完整 HTML 报告。