pdf-size
यह क्या करती है
यह स्किल वेबसाइट से लिंक की गई PDF फ़ाइलों में ऐसे आकार की समस्याएँ जाँचती है जो सर्च इंजन को उन्हें पूरा पढ़ने से रोक सकती हैं। यह उन साइट मालिकों के लिए है जो रिपोर्ट, मैनुअल या अन्य PDF प्रकाशित करते हैं।
कब इस्तेमाल करें
- ✓जब आप एजेंट से अपनी वेबसाइट से लिंक की गई PDF फ़ाइलें जाँचवाएँ।
- ✓जब आपकी प्रकाशित कोई बड़ी PDF सर्च परिणामों में न दिखे।
- ✓जब आप डाउनलोड के लिए रिपोर्ट या मैनुअल तैयार करें और चाहें कि सर्च इंजन उसे आसानी से इंडेक्स करें।
Skill का लिंक
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/pdf-size/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरी साइट पर कई बड़ी PDF रिपोर्ट हैं। क्या आप उनका आकार जाँचकर बता सकते हैं कि Google के लिए उन्हें पढ़ना आसान कैसे बनाऊँ?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट साइट पर PDF लिंक खोजता है और हर फ़ाइल का आकार जाँचता है। वह बड़ी फ़ाइलों को कंप्रेस करने का सुझाव देता है, जिसमें हाई रेज़ोल्यूशन इमेज, फ़ॉन्ट और अतिरिक्त मेटाडेटा हटाए जाएँ, और ज़रूरत हो तो उसी कंटेंट का वेब पेज बनाता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Keep linked PDFs under 60 MB
PDFs larger than Googlebot's download threshold are partially crawled or skipped, meaning their content may not appear in search results even when linked from well-indexed pages.
Quick Reference
- Googlebot truncates files larger than 15 MB for crawling; 60 MB is a documented upper limit
- Large PDFs may be partially indexed or skipped entirely
- Compress PDFs before publishing: use PDF optimisation tools to reduce file size
- Add HTML landing pages alongside PDFs to ensure content is indexable
Check
Find all <a href='*.pdf'> links on the site. For each linked PDF, perform a HEAD request and check the Content-Length header. Flag any PDF exceeding 10 MB (recommend compression) or 15 MB (likely to be truncated by Googlebot).
Fix
Compress large PDFs using a PDF optimisation tool (Adobe Acrobat, Ghostscript, or Smallpdf). Remove embedded high-resolution images, fonts, and metadata not required for reading. If compression is insufficient, create an HTML page with the same content as the primary indexable version, and offer the PDF as a download.
Explain
Googlebot downloads and indexes the content of PDFs linked from your site. However, it has a file size limit for downloads — files beyond this limit are partially indexed or skipped. Large PDFs also slow down crawling and consume crawl budget. Keeping PDFs small ensures their full content appears in search results.
Code Review
Find all <a href> links with .pdf extension. For each PDF URL, perform a HEAD request and check Content-Length header value. Flag PDFs exceeding 10,485,760 bytes (10 MB) for compression review. Flag PDFs exceeding 15,728,640 bytes (15 MB) as at-risk for partial indexing. Verify PDF URLs return 200 status and appropriate Content-Type: application/pdf header.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/rules/seo/pdf-size
अक्सर पूछे जाने वाले सवाल
PDF के लिए कितना आकार बहुत बड़ा है?
स्किल 10 MB से बड़ी फ़ाइलों को कंप्रेस करने के लिए और 15 MB से बड़ी फ़ाइलों को Googlebot द्वारा अधूरी पढ़ी जाने वाली मानकर चिह्नित करती है।
PDF कंप्रेस करने के लिए कौन-से टूल हैं?
स्किल Adobe Acrobat, Ghostscript और Smallpdf का ज़िक्र करती है।
क्या मुझे PDF फिर भी देनी चाहिए?
हाँ, स्किल कहती है कि PDF डाउनलोड के रूप में रखें और कंटेंट का HTML संस्करण भी साथ दें।
जानकारी
लेखक का मूल विवरण
Use when auditing a site that publishes downloadable PDFs (reports, white papers, legal documents, manuals). Applies to any site where PDFs are linked as indexable content resources.
लोकप्रियता
- GitHub स्टार
- 75k
- रैंकिंग में स्थान
- #2974
- लाइसेंस
- MIT
- अपडेट की गई
- 31/10/2026
कमेंट
- …
इस repository की और skills
frontendchecklist
75kकमांड-लाइन टूल से फ़्रंटएंड कोड और लाइव पेजों को एक्सेसिबिलिटी, स्पीड, SEO और सिक्योरिटी के 380 से ज़्यादा नियमों से जाँचती है।
frontend-checklist-global
75kफ़्रंटएंड प्रोजेक्ट को Front-End Checklist के सभी 386 नियमों से ऑडिट करती है, और हर मिली समस्या का ठोस समाधान देती है।
404-page
75kजाँचती है कि आपका गुम पेज उपयोगी लिंक देता है और सही 404 स्टेटस लौटाता है, ताकि भटके हुए विज़िटर रास्ता ढूँढ सकें।
about-page
75kजाँचती है कि आपकी साइट पर एक साफ़ About पेज है जो बताता है कि उसे कौन चलाता है, ताकि विज़िटर और सर्च इंजन का भरोसा बढ़े।
मिलती-जुलती skills
feishu-doc
394kयह आपके एजेंट को document टूल से Feishu क्लाउड दस्तावेज़ पढ़ने, बनाने और बदलने में मदद करती है, जिसमें टेक्स्ट, इमेज और टेबल शामिल हैं।
feishu-drive
394kयह आपके एजेंट को बॉट के साथ साझा किए गए Feishu क्लाउड फ़ोल्डर में फ़ाइलें देखने, व्यवस्थित करने और उन पर टिप्पणी करने देती है।
feishu-perm
394kयह आपके एजेंट को Feishu फ़ाइल तक किसकी पहुंच है, यह जांचने और बदलने देती है, और आपके अनुरोध के लिए सबसे छोटी अनुमति चुनती है।