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

skillguard-hardened

Security guard for OpenClaw skills, developed and maintained by rose北港(小红帽 / 猫猫帽帽). Audits installed or incoming skills with local rules plus Zenmux AI intent review, then recommends pass, warn, block, or quarantine.

Archived SourceRecently Updated
Security

api-contract-auditor

审查 API 文档、示例和字段定义是否一致,输出 breaking change 风险。;use for api, contract, audit workflows;do not use for 直接改线上接口, 替代契约测试平台.

Archived SourceRecently Updated
Security

ai-workflow-red-team-lite

对 AI 自动化流程做轻量红队演练,聚焦误用路径、边界失败和数据泄露风险。;use for red-team, ai, workflow workflows;do not use for 输出可直接滥用的攻击脚本, 帮助破坏系统.

Archived SourceRecently Updated
Security

openclaw360

Runtime security skill for AI agents — prompt injection detection, tool call authorization, sensitive data leak prevention, skill security scanning, and one-click backup & restore

Archived SourceRecently Updated