css-critical
Installation
SKILL.md
Inline critical CSS for faster rendering
Critical CSS eliminates render-blocking resources, enabling browsers to paint content immediately—directly improving LCP and FCP scores.
Quick Reference
- Inline ~14KB of critical above-the-fold CSS in
- Use tools: critical, critters, or Lighthouse to extract
- Load remaining CSS asynchronously after page load
- Automate in build process—don't manually maintain
Check
Analyze this page's CSS loading strategy to identify critical above-the-fold styles that should be inlined and non-critical styles that can be loaded asynchronously.
Fix
Extract and inline critical CSS for above-the-fold content, then load remaining CSS asynchronously to improve initial page render performance.