跳到正文
Skillpedia
SEO48k · #5402

pagespeed-enhancer

它能做什么

这个工具可以帮你找出并修复让网站变慢或难以使用的问题。它会分析你网站的性能、无障碍访问、最佳实践以及 SEO。

适用场景

  • ✓当你粘贴一份 PageSpeed Insights 报告时。
  • ✓当你想改善 Core Web Vitals 指标(比如 LCP、CLS)时。
  • ✓当你想优化图片、修复阻塞渲染的 CSS,或提升 SEO 时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/pagespeed-enhancer/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/pagespeed-enhancer/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“分析这份 PageSpeed Insights 报告,告诉我该如何改进我的网站。”

每周 5 个新技能,1 分钟读完。

工作原理

这个工具会先根据你提供的报告分析网站,然后找出问题,并按步骤有条理地给出修复建议,不会遗漏重要环节。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

PageSpeed Enhancer Skill

A structured, batch-wise audit-and-fix workflow for all four Lighthouse pillars. Always follow the batch flow in order. Never jump straight to fixes without completing the scan and risk assessment phases.


Detailed Guide

Read the detailed guide before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.

When to Use This Skill

  • User pastes a PageSpeed Insights report or mentions Lighthouse scores
  • User asks to improve Core Web Vitals (LCP, FCP, CLS, TBT, SI)
  • User needs help with render-blocking resources, unused JavaScript, image optimisation, security headers, ARIA compliance, or SEO meta-tag fixes
  • User asks "why is my LCP slow", "fix accessibility issues", "improve my SEO score", or "my site scores 80 on performance"
  • Any mention of PageSpeed, Lighthouse, Web Vitals, or site speed

Examples

Example 1: User pastes a PageSpeed report

User: "My site scores 65 on Performance. LCP is 4.2s."

Agent:

  1. Parses the score summary table — identifies LCP as critical bottleneck
  2. Runs Batch A scan — finds lazy-loaded hero image and render-blocking CSS
  3. Outputs risk report: F1.1 (CSS @import → link) ranked P1, F1.5 (LCP image eager) ranked P1
  4. Applies Fix Batch 1, verifies with re-test

Example 2: User asks about slow LCP

User: "Why is my LCP slow?"

Agent:

  1. Asks for a PageSpeed report URL or pasted results
  2. Runs LCP-specific audit from Batch A — checks TTFB, element render delay, lazy loading
  3. Identifies the LCP element, its current loading strategy, and the critical path chain
  4. Recommends targeted fix (preload, eager loading, or server response time improvement)

Limitations

  • Does not run actual Lighthouse or PageSpeed tests — the user must provide the report or URL
  • Security header recommendations assume the user controls the deployment platform (Netlify, Vercel, etc.)
  • Fixes are general patterns; exact file paths and config syntax may vary by project setup
  • Does not cover server-level optimisations (CDN config, PHP opcode caching, database queries, etc.)
  • Image conversion commands assume the user has the required tools installed (cwebp, sharp, Pillow)
  • CSP guidance uses a report-only iterative approach — the final policy must be tuned to each project's actual resource origins

常见问题

这个工具会自己运行 PageSpeed 测试吗?

不会,你需要提供 PageSpeed Insights 报告或报告链接,工具本身不会直接运行测试。

它能修复哪些类型的问题?

它可以处理性能问题(网站速度慢)、无障碍访问(所有人都能顺畅使用)、最佳实践(安全性等方面),以及 SEO(在搜索引擎中获得更好的排名)。

它会优化我网站的服务器吗?

不会,这个工具专注于你可以在网站代码或设置中做出的优化。CDN 配置等服务器层面的优化不在其覆盖范围内。

详情

作者的原始描述

Scan, audit, and fix web performance issues across all four Lighthouse/PageSpeed Insights pillars — Performance, Accessibility, Best Practices, and SEO — in structured batches.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#5402
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能