AGENT SKILL

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

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

  1. Confirm astro.config.*, Astro version and existing integrations before adding packages. Do not add astro-critters or @playform/compress silently if the project already has an equivalent.
  2. Check current official docs for those integrations; the original playbook may be stale.
  3. Surgical changes only. Do not rewrite unrelated layouts.
  4. Do not persist analytics IDs or secrets in the repo or notebook.
  5. Follow layout, checklist and measure commands in references/ORIGINAL_SKILL.md after the live config is known.
  6. 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

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