मुख्य सामग्री पर जाएँ
Skillpedia
वेबसाइट और UI (frontend)75k · #2796

css-critical

यह क्या करती है

यह स्किल समझाती है कि पहली स्क्रीन के लिए ज़रूरी critical CSS को इनलाइन कैसे करें और बाकी को बाद में लोड करें। यह तेज़ पहला पेंट और बेहतर लोडिंग स्कोर चाहने वाले डेवलपर के लिए है।

कब इस्तेमाल करें

  • ✓जब एक बड़ी स्टाइलशीट की वजह से पहली स्क्रीन दिखने में लंबा समय लगता है।
  • ✓जब Lighthouse रेंडर रोकने वाली CSS चिह्नित करता है।
  • ✓जब आप बिल्ड प्रक्रिया सेट कर रहे हैं जो critical स्टाइल अपने-आप निकाले।

Skill का लिंक

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

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/css-critical/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरे होमपेज के ऊपरी हिस्से के लिए ज़रूरी स्टाइल खोजें और उन्हें इनलाइन करें, ताकि पेज तेज़ दिखे।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट above-the-fold स्टाइल निकालता है, उन्हें head में रखता है, और बाकी CSS को बिना रुकावट लोड करता है, आदर्श रूप से किसी स्वचालित बिल्ड टूल के ज़रिए।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

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 <head>
  • 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.

Explain

Explain how critical CSS improves Core Web Vitals by reducing render-blocking resources and enabling faster First Contentful Paint and Largest Contentful Paint.

Code Review

Review stylesheets, component styles, and responsive states related to Inline critical CSS for faster rendering. Flag exact selectors, declarations, or breakpoints that violate the rule in the rendered UI.


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

Rule page: https://frontendchecklist.io/rules/css/css-critical

अक्सर पूछे जाने वाले सवाल

कितनी CSS इनलाइन करनी चाहिए?

स्किल लगभग 14 KB critical above-the-fold CSS का सुझाव देती है।

इसे कौन-से टूल निकालते हैं?

स्किल critical, critters और Lighthouse का ज़िक्र करती है।

क्या critical CSS हाथ से बनाए रखनी चाहिए?

नहीं। स्किल कहती है कि इसे बिल्ड प्रक्रिया में स्वचालित करें।

जानकारी

लेखक का मूल विवरण

Use when reviewing stylesheets, component styles, and responsive behavior related to Inline critical CSS for faster rendering. Check the rendered layout across breakpoints and interaction states before proposing a fix.

repo: thedaviddias/Front-End-Checklist

लोकप्रियता

GitHub स्टार
75k
रैंकिंग में स्थान
#2796
लाइसेंस
MIT
अपडेट की गई
31/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills