perf-astro
Assimilated TLC Astro performance skill. Optimize Astro sites for Lighthouse: critical CSS, compression, fonts, LCP. Triggers: Astro performance, Astro Lighthouse, astro-critters, optimize Astro. Do not use for non-Astro sites or as the only skill to run a Lighthouse audit.
- License 许可
- CC-BY-4.0
- 最近更新
- 2026-11-14
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- perf-astro
- license
- CC-BY-4.0
- metadata
- { "author": "Tech Leads Club", "version": "1.0.0", "owner_agent": "codenavi-agent" }
- description
- Assimilated TLC Astro performance skill. Optimize Astro sites for Lighthouse: critical CSS, compression, fonts, LCP. Triggers: Astro performance, Astro Lighthouse, astro-critters, optimize Astro. Do not use for non-Astro sites or as the only skill to run a Lighthouse audit.
02 资源文件 9
- 参考文档.skill-meta.json120 B
- 参考文档PERMISSIONS.yaml338 B
- 参考文档POLICY.md192 B
- 参考文档references/lenses/retained/legacy-contract.md197 B
- 参考文档references/ORIGINAL_SKILL.md3.6 KB
- 参考文档references/package-notes.md174 B
- 参考文档references/provenance.md927 B
- 参考文档references/tlc/UPSTREAM.md3.6 KB
- 参考文档references/usage-and-verification.md1.2 KB
03 SKILL.md 正文
Perf Astro
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-astro. Original contract: references/ORIGINAL_SKILL.md.
Identity
A skill of the single canonical codenavi-agent. It creates no new agent identity.
Mission
Apply Astro-specific performance patterns: critical CSS inlining, build compression, font-display/preload, LCP image preload, deferred third-party scripts. Verify current Astro and integration APIs against the project and official docs before changing astro.config.
Activation
- The repo is an Astro site (or the user is adding Astro) and they ask to improve performance or Lighthouse scores.
Non-activation
- Non-Astro apps (
best-practices,core-web-vitals,perf-web-optimization). - Only run/report Lighthouse with no Astro config work (
perf-lighthouse).
Critical rules
- Confirm
astro.config.*, Astro version and existing integrations before adding packages. Do not addastro-crittersor@playform/compresssilently if the project already has an equivalent. - Check current official docs for those integrations; the original playbook may be stale.
- Surgical changes only. Do not rewrite unrelated layouts.
- Do not persist analytics IDs or secrets in the repo or notebook.
- Follow layout, checklist and measure commands in
references/ORIGINAL_SKILL.mdafter the live config is known. - Commits only with explicit user authorization.
Continuity
Promote only verified durable Astro perf decisions (chosen integrations, LCP strategy) 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.