Skip to content
Skillpedia
Websites & UI (frontend)75k · #2994

render-blocking

What it does

This skill finds CSS and JavaScript files that stop a page from appearing and changes how they load. It is for web builders who want pages to show content faster.

When to use it

  • ✓When you ask the agent to find what keeps a page blank while it loads.
  • ✓When a page shows a white screen for a long time before any content appears.
  • ✓When you are reviewing how scripts and stylesheets are loaded in the page head.

Skill link

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/render-blocking/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/render-blocking/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“My page stays blank for a while before it shows anything. Can you find the files blocking it and fix how they load?”

5 new skills a week. 1 minute to read.

How it works

The agent looks through the CSS and JavaScript the page loads at the start and finds the ones that stop the first paint. It then adds defer or async where safe, moves non-critical styles, or inlines the critical CSS.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Eliminate render-blocking resources

Render-blocking resources prevent the browser from painting anything on the screen, leading to a "white screen" effect and poor user experience.

Quick Reference

  • Load non-critical CSS and JS asynchronously using defer, async, or media queries
  • Inline critical CSS to allow the page to start rendering immediately
  • Avoid @import in CSS as it creates serial request chains

Check

Review the page's resources and identify any CSS or JavaScript files that are blocking the initial render of the page.

Fix

Update the loading strategy for render-blocking resources by using defer, async, or inlining critical styles.

Explain

Explain how render-blocking resources impact the First Contentful Paint (FCP) and how to resolve them.

Code Review

Review the routes, assets, and loading behavior that affect Eliminate render-blocking resources. Flag exact files, requests, or rendering steps that add unnecessary network, CPU, or layout cost, and describe the measurement method used to confirm the issue.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/performance/render-blocking

FAQ

What is the difference between defer and async?

The skill mentions both as ways to load scripts without stopping the page, and the right one depends on how the script is used.

Why avoid the import rule in CSS?

The skill says it creates chains of requests that are loaded one after another.

How does this affect the page?

It improves First Contentful Paint, which is when the first content appears on screen.

Details

Original description by the author

Use when auditing slow page loads, heavy assets, or rendering delays related to Eliminate render-blocking resources. Verify the actual bottleneck in DevTools, Lighthouse, or field data before recommending changes.

repo: thedaviddias/Front-End-Checklist

Popularity

GitHub stars
75k
Ranking position
#2994
License
MIT
Updated
10/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills