website_audit

对指定 URL 运行 Lighthouse 审计,产出结构化 JSON。返回 performance 分数与完整原始报告,便于在代理、流水线或质量门禁中消费与比对。

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "website_audit" with this command: npx skills add nyhxiaoning/skill_webaudit_henry/nyhxiaoning-skill-webaudit-henry-website-audit

website_audit

描述

对指定 URL 运行 Lighthouse 审计,产出结构化 JSON。返回 performance 分数与完整原始报告,便于在代理、流水线或质量门禁中消费与比对。

使用场景

  • 开发阶段快速评估页面性能

  • PR/CI 中设定性能阈值做质量门禁

  • 上线前建立/对比性能基线

  • 定时巡检以发现性能回归

  • 用户提出“审计网站性能/生成 Lighthouse 报告/检测页面速度”等需求时触发

指令

  • 接收入参 { url } ,校验为 http/https 且非空。

  • 执行命令 npx lighthouse <url> --output=json 获取审计结果。

  • 在无头或 CI 环境可追加 --chrome-flags="--headless=new" 。

  • 解析 stdout 为 JSON,读取 categories.performance.score 。

  • 构造并返回: { "score": <number>, "raw": { /* Lighthouse 完整 JSON */ } }

  • 异常处理:捕获执行/解析错误,返回错误信息或抛出异常以便上层处理。

示例(可选)

或:npm link && website-audit --url https://example.com

  • 代码: import { websiteAuditSkill } from "websiteauditskill_henry"; const res = await websiteAuditSkill({ url: "https://example.com" }); console.log(res.score); // { score: 0.92, raw: { ... } }

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Security

Nginx Config

Nginx配置生成。服务器配置、反向代理、SSL、缓存、安全加固、性能优化。Nginx config generator with reverse proxy, SSL, caching, security, optimization. Nginx、服务器、运维。

Registry SourceRecently Updated
Security

Credential Tester

A little tool to play with Windows security credential-tester, c. Use when you need credential-tester capabilities. Triggers on: credential-tester.

Registry SourceRecently Updated
780Profile unavailable
Security

Voidly Agent Relay

Give agents encrypted private messaging — send, receive, discover, and call other AI agents with post-quantum E2E encryption. No API key needed. Zero config.

Registry SourceRecently Updated
1593Profile unavailable
Security

Certcheck

SSL/TLS certificate checker and analyzer. Inspect SSL certificates for any domain, check expiration dates, verify certificate chain, detect security issues,...

Registry SourceRecently Updated
760Profile unavailable