perf-web-optimization
Assimilated TLC web performance skill. Measure, then cut bundle size, images, caching, lazy loading and page speed. Triggers: web performance, bundle size, page speed, slow site, lazy loading. Do not use for CWV-only metric work (core-web-vitals), only running Lighthouse (perf-lighthouse), or Astro-only config (perf-astro).
- License 许可
- CC-BY-4.0
- 最近更新
- 2026-11-14
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- perf-web-optimization
- license
- CC-BY-4.0
- metadata
- { "author": "Tech Leads Club", "version": "1.0.0", "owner_agent": "codenavi-agent" }
- description
- Assimilated TLC web performance skill. Measure, then cut bundle size, images, caching, lazy loading and page speed. Triggers: web performance, bundle size, page speed, slow site, lazy loading. Do not use for CWV-only metric work (core-web-vitals), only running Lighthouse (perf-lighthouse), or Astro-only config (perf-astro).
02 资源文件 15
- 参考文档.skill-meta.json120 B
- 参考文档PERMISSIONS.yaml358 B
- 参考文档POLICY.md114 B
- 参考文档references/bundle-optimization.md3.3 KB
- 参考文档references/core-web-vitals.md3.1 KB
- 参考文档references/image-optimization.md3.3 KB
- 参考文档references/lenses/retained/legacy-contract.md202 B
- 参考文档references/ORIGINAL_SKILL.md4.1 KB
- 参考文档references/package-notes.md196 B
- 参考文档references/provenance.md971 B
- 参考文档references/tlc/references/bundle-optimization.md3.3 KB
- 参考文档references/tlc/references/core-web-vitals.md3.1 KB
- 参考文档references/tlc/references/image-optimization.md3.3 KB
- 参考文档references/tlc/UPSTREAM.md4.1 KB
- 参考文档references/usage-and-verification.md1.2 KB
03 SKILL.md 正文
Perf Web Optimization
Governance: CodENavi Full Workspace v2. Skill of codenavi-agent; inherit AGENTS.md.
Lifecycle: BRIEFING → RECON → PLAN → EXECUTE → VERIFY → DEBRIEF.
Source roles/workers are internal lenses. Never create agent identities or bypass runtime secret/permission gates.
Assimilated from installed perf-web-optimization. Original contract: references/ORIGINAL_SKILL.md. Topic files: references/image-optimization.md, references/bundle-optimization.md, references/core-web-vitals.md.
Identity
A skill of the single canonical codenavi-agent. It creates no new agent identity.
Mission
Systematic page-speed work: Measure → Identify → Prioritize → Implement → Verify. Use project-native tooling and current official guidance. Load the matching reference file only for the bottleneck in scope.
Activation
- User says the site is slow, wants a smaller bundle, faster TTI, lazy loading, or general Lighthouse-oriented remediations.
Non-activation
- Only LCP/INP/CLS diagnosis (
core-web-vitals). - Only run/parse Lighthouse (
perf-lighthouse). - Astro-only integrations (
perf-astro).
Critical rules
- Measure first. Do not invent timings or scores.
- Check lockfile before adding image/bundle tooling.
- Surgical changes. Follow
references/ORIGINAL_SKILL.mdafter the live stack is known. - Hand CWV-threshold claims to current Google docs, not training memory.
- Commits only with explicit authorization. Do not persist CDN/analytics secrets.
Continuity
Promote only verified durable perf strategies into .notebook/MEMORY.md.
TLC source
For the catalog workflow and its local resources, read TLC contract. Apply root governance and the local constraints above; upstream does not grant extra authority.
Provenance and source freshness: provenance.
Example usage and failure handling: read usage and verification when selecting this skill or a required step fails. Read package-notes.md only when the domain workflow needs that supporting context; root governance and this entry take precedence.
04 同仓库更多 Skills
workspace-brain
Operate the CodENavi workspace brain MCP and CLI — cloud DeepSeek RAG, disk corpus at WORKSPACE_BRAIN_ROOT, Jev URL curation, and event logging for Cursor/Codex/OpenCode/Claude. Use when ingesting repo knowledge, asking the brain, mapping web seeds, or recording AI-driven file changes. Do NOT use for local Ollama RAG or storing API keys in git.
workbench-profile-resolver
Provide enterprise-grade capability for `workbench-profile-resolver` inside AEOS v1.1. Use when the user requests workbench profile resolver or invokes workbench-profile-resolver. Do NOT use for unrelated tools or unapproved remote writes.
wordpress-expert
Staff-level WordPress engineering super-skill for one-shot site mapping, clean-code AI-assisted project creation/modification, the complete installed plugin universe, governed remote wp-admin operations, themes/blocks/layout, third-party integrations and production-safe changes. Use when the user requests wordpress expert or invokes wordpress-expert. Do NOT use for unrelated languages, domains or production deployment.
whatsapp-simulator
Generate synthetic WhatsApp-style conversation fixtures for testing conversational systems, support flows and automation. Use when the user requests whatsapp simulator or invokes whatsapp-simulator. Do NOT use for unrelated tools or unapproved remote writes.
web-quality-audit
Assimilated TLC/web-quality multi-area audit. Review performance, accessibility, SEO and best practices in one pass. Triggers: audit my site, review web quality, check page quality, optimize my website across areas. Do not use for a single-area job (core-web-vitals, ai-seo, best-practices, perf-lighthouse).
voiceai
Provide an evidence-backed voice interface for AEOS. Activating this skill is treated as explicit current-session consent for `voiceai` to record user audio or transcribe audio from user-authorized audio/video media within the declared scope. The skill can: Use when the user requests voiceai or invokes voiceai. Do NOT use for unrelated tools or unapproved remote writes.