为 Power Pages 代码站点补齐 SEO 基础配置,提升搜索可见性与分享展示效果。
该技能材料显示其为开源的 prompt-only SEO 辅助技能,不要求密钥、未声明远程端点,整体风险较低。主要注意点是 README 含有要求执行本地 Node 检查脚本和后续修改/提交站点文件的流程描述,但基于当前客观检查项,未见明确高风险红旗。
材料明确标注无需密钥或环境变量,未见 API token、云凭证或第三方账号接入要求,凭证泄露与滥用面较小。
未声明任何远程端点,技能目标是为本地/现有 Power Pages 代码站点添加 robots.txt、sitemap.xml 与 meta 标签。文档中虽提到生产 URL 和站点路由信息,但材料未显示会将这些数据发送到外部服务。
README 包含执行本地命令 `node "${CLAUDE_PLUGIN_ROOT}/scripts/check-version.js"` 的指令,并描述验证与提交变更流程;这意味着存在本地脚本执行和潜在开发工具调用的常规能力。鉴于系统客观检查项为 prompt-only,未见更高权限或可疑执行范围的具体红旗,因此评为需留意而非高风险。
技能流程会查找并读取 `powerpages.config.json`、`package.json` 等项目文件,生成或修改 robots.txt、sitemap.xml、index.html 等站点资源,属于与其声明功能一致的本地项目文件访问。未见索取超出 SEO 目的的系统级或无关数据访问。
来源为 GitHub 上的开源仓库 `microsoft/power-platform-skills`,源码可审计,这对供应链风险是明显的降低因素。虽然许可证未声明、star 为 0 且维护状态未知,存在一定不确定性,但仅凭这些不足以构成高风险红旗。
复制安装指令,让 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:
…
检查并配置 Power Pages 站点安全响应头,定位风险并指导修复设置。
对 Power Pages 站点执行端到端安全审查,并汇总生成完整 HTML 报告。
用于对已部署的 Power Pages 网站进行运行时浏览、爬取与接口验证测试。
帮助你为 Power Apps 代码应用添加数据源或连接器,并引导到合适操作流程。
为 Power Apps 代码应用接入 Azure DevOps 连接器,便于查询工单、提报缺陷与管理流水线。
帮助你快速搭建 Power Platform 管道,实现 Power Pages 自动化部署。
帮助你从需求梳理到部署上线,快速创建全新的 Power Pages 代码网站。
用自然语言查询 SE Ranking 的 SEO 数据与分析结果,辅助洞察网站表现。
连接谷歌搜索控制台与页面内容,按预估营收排序SEO优化机会
为 Power Pages 编写、配置并部署安全的服务器端逻辑与接口。
帮助用户抓取并审计网站SEO问题,输出结构化诊断报告与关键指标。
帮助你将 Power Automate 云端流程接入 Power Pages 站点并生成调用代码