What problem does it solve?
This Skill solves the problem of slow Astro pages and missed Core Web Vitals by providing a focused, Astro-specific performance playbook that you can apply consistently to production builds.
Core Features & Use Cases
- Critical CSS inlining using astro-critters to reduce render-blocking resources and speed up above-the-fold paint.
- End-to-end build compression with @playform/compress to minify HTML, CSS, and JavaScript in the final output.
- Performance-first Layout pattern to reduce FOIT, improve font loading behavior, preload likely LCP images, and defer third-party scripts until user interaction or a timeout.
- Use case: Improving a marketing site built in Astro so it routinely reaches strong Lighthouse performance by combining build tooling, layout conventions, and measurement discipline.
Quick Start
Apply astro-critters and @playform/compress in your astro.config.mjs, then update your Layout.astro to use non-blocking Google Fonts, preload the LCP image, and defer third-party scripts.