AGENT SKILL

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

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

  1. Measure first. Do not invent timings or scores.
  2. Check lockfile before adding image/bundle tooling.
  3. Surgical changes. Follow references/ORIGINAL_SKILL.md after the live stack is known.
  4. Hand CWV-threshold claims to current Google docs, not training memory.
  5. 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

paulosantanna
paulosantanna/ai-assistent-universal-coder

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.

★ 1
paulosantanna
paulosantanna/ai-assistent-universal-coder

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.

★ 1
paulosantanna
paulosantanna/ai-assistent-universal-coder

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.

★ 1
paulosantanna
paulosantanna/ai-assistent-universal-coder

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.

★ 1
paulosantanna
paulosantanna/ai-assistent-universal-coder

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).

★ 1
paulosantanna
paulosantanna/ai-assistent-universal-coder

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.

★ 1