sitespeed
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "sitespeed" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-ec70fca3db43c377f0fdcd04d50a6b4b7a0a66551382c9a7906a60f787db84c6. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/site-speed-optimization-bq2s before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
A SiteSpeed optimization skill to help AI agents efficiently perform tasks related to SiteSpeed optimization.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Audit HTML-level factors that affect page load speed.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: SiteSpeed优化
slug: site-speed-optimization
version: 1.0.0
displayName: SiteSpeed优化
description: >
SiteSpeed优化专用技能,帮助AI Agent高效完成相关任务。
summary: "SiteSpeed优化专用技能,帮助AI Agent高效完成相关任务。"
license: MIT
category: 开发者工具
framework:
- Claude Code
- Codex
- Hermes Agent
- OpenClaw
- QClaw
- WorkBuddy
platform: multi-platform
homepage: "https://github.com/1991513ccie-png"
repository: "https://github.com/1991513ccie-png"Site Speed Optimization
Audit HTML-level factors that affect page load speed.
Note: Render-blocking scripts, image dimensions/lazy loading, preconnect hints, and font loading are handled by the core-web-vitals skill. Do not duplicate those checks here.
1. Total script count
Count all <script src="..."> elements:
- More than 10 external scripts → ⚠️ WARN "Consider bundling or removing unused scripts"
- 10 or fewer → ✅ PASS
2. Inline CSS volume
Measure total character count of all style="..." attributes + <style> element contents:
| Condition | Status |
|---|---|
| Total > 5000 characters | ⚠️ WARN "Move styles to external stylesheet for caching" |
| Total ≤ 5000 | ✅ PASS |
3. Stylesheet loading
- Count
<link rel="stylesheet">elements - If stylesheets > 3 → ⚠️ WARN "Consider combining CSS files"
4. Image alt text
| Condition | Status |
|---|---|
All images have alt attribute |
✅ PASS |
Any image missing alt |
❌ FAIL "Critical for SEO and accessibility" |
5. Image formats
- Images with
.jpg,.jpeg,.png,.gifextensions → ⚠️ WARN "Consider WebP or AVIF for smaller file sizes"
6. Next.js Image component
- Images not using
/_next/imagesrc → ⚠️ WARN "Consider using Next.js<Image>component for automatic optimization" - Skip this check if the site is not a Next.js project
Edge cases
- Inline
<script>tags (nosrc) should be counted separately from external scripts — they contribute to page weight but not network requests <style>elements inside<noscript>blocks should be excluded from inline CSS volume- Base64-encoded images (
src="data:image/...") bypass network loading but increase HTML size — flag as ⚠️ WARN if total base64 content exceeds 10KB - SVG images (
<img src="*.svg">) do not need WebP/AVIF conversion — exclude from image format checks - Next.js
<Image>component detection: look for/_next/imageinsrcorsrcsetattributes, ordata-nimgattribute - Dynamically injected scripts (via JS) are not visible in static HTML — note this limitation
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供网站性能优化的具体检查项,包括脚本数量、内联 CSS、样式表加载、图片优化等
- 面向开发者工具类别,具有明确的实用价值
- 覆盖了常见的性能优化场景和边缘情况处理
Areas to improve
-
触发词覆盖不足 Reported severity: Minor
description 提供了基本触发描述,但缺乏更具体的触发关键词变体
Recommendation: 建议增加更多触发关键词,如 '网站性能'、'页面加载速度'、'前端优化'、'HTML优化' 等,以覆盖更多用户表达方式
Highlights
- description 内容完整,明确指向 SiteSpeed 优化任务
- frontmatter 中 description 字段位置正确且内容完整
Areas to improve
-
缺少端到端示例 Reported severity: Minor
文档结构清晰,但缺乏完整的端到端使用示例
Recommendation: 建议添加一个完整的示例,展示从输入 HTML 到输出优化建议的完整流程,帮助用户更好地理解和使用
Highlights
- 文档结构清晰,分为 6 个主要检查项,每个都有明确的条件和状态判断
- frontmatter 完整,包含所有必要字段
- 每个检查项都有明确的 PASS/WARN/FAIL 出口条件
Areas to improve
-
工具来源不明确 Reported severity: Minor
未明确说明使用哪些具体工具或 API 来执行检查
Recommendation: 建议在文档中说明将使用哪些工具或库来执行 HTML 解析和性能检测,提高执行透明度
Highlights
- 检查条件和阈值明确,如 10 个外部脚本、5000 字符内联 CSS 等
- 文档中列出了多个 edge cases 和处理方式,覆盖较全面
- 不涉及不可逆操作,执行风险较低
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.