astro-performance-expert

Apply engineering rules to improve Astro site performance and Core Web Vitals.

Updated Feb 6, 2026
One-click install
npx skills add https://github.com/rahlplx/elite-astro-workforce-template --skill astro-performance-expert
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: astro-performance-expert
Source: https://github.com/rahlplx/elite-astro-workforce-template/tree/main/.agent/skills/astro-performance-expert
Command: npx skills add https://github.com/rahlplx/elite-astro-workforce-template --skill astro-performance-expert

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Astro sites frequently suffer from waterfalls, oversized bundles, and slow hydration. This skill provides a consolidated, prioritized set of rules to systematically reduce latency and improve Core Web Vitals.

Core Features & Use Cases

  • 57 rules across 8 sections covering waterfalls elimination, bundle size optimization, server-side performance, client-side data fetching, re-render optimization, rendering performance, JavaScript performance, and advanced patterns.
  • Apply sections selectively based on need (e.g., focus on Section 1 for waterfalls, Section 2 for bundles, Section 3 for SSR; combine with memoization and dynamic imports for best results).
  • Use with the content map to navigate and implement targeted improvements in real projects.

Quick Start

  • Open the Astro Performance Expert skill and start with Section 1 (Eliminating Waterfalls) and Section 2 (Bundle Size Optimization) to identify and fix the most impactful bottlenecks. Then proceed to Section 3 (Server-Side Performance) and Section 5 (Re-render Optimization) as needed.

Frequently Asked Questions about astro-performance-expert

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I eliminate waterfalls and reduce bundle size in Astro apps?

Eliminate waterfalls and reduce bundle size in Astro apps by applying prioritized engineering rules targeting client-side data fetching and bundle optimization. Start with Section 1 and Section 2 to systematically identify and fix latency bottlenecks.

What causes slow hydration and poor Core Web Vitals in server-side rendered Astro sites?

Slow hydration and poor Core Web Vitals in server-side rendered Astro sites are frequently caused by waterfalls, oversized JavaScript bundles, and inefficient server-side rendering. Applying targeted SSR and re-render optimization rules systematically reduces latency.

How do I optimize Time to Interactive in an Astro islands architecture?

Optimize Time to Interactive in an Astro islands architecture by applying server-first performance rules across eight groups including bundle size optimization, memoization, and dynamic imports. Selectively apply sections to implement targeted improvements based on project needs.

Does this Astro performance optimization approach work for modern web apps using server-side rendering?

This Astro performance optimization approach works for modern web apps using server-side rendering that seek faster Time to Interactive and improved Core Web Vitals. It applies server-first, islands-architecture practices to systematically reduce latency and bundle size.

What's the best way to fix JavaScript performance and re-render bottlenecks in Astro?

The best way to fix JavaScript performance and re-render bottlenecks in Astro is to apply curated rules for memoization and rendering performance. Use the included content map to navigate and implement targeted improvements alongside dynamic imports.

When do I need advanced performance patterns for Astro client-side data fetching?

You need advanced performance patterns for Astro client-side data fetching when basic bundle optimization and server-side performance rules are insufficient to reduce latency. Combine these advanced patterns with code-splitting to achieve optimal Core Web Vitals.