本文へスキップ
Skillpedia
PDF・Word・スライド75k · #2974

pdf-size

できること

このスキルは、サイトからリンクされたPDFを確認し、検索エンジンが全体を読めなくなるほどのサイズの問題を探します。報告書、マニュアル、その他のPDFを公開するサイト運営者向けです。

使う場面

  • ✓サイトからリンクされているPDFファイルを確認するようエージェントに頼むとき。
  • ✓公開した大きなPDFが検索結果に出てこないとき。
  • ✓ダウンロード用の報告書やマニュアルを準備していて、検索エンジンにインデックスさせやすくしたいとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/pdf-size/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“私のサイトには大きなPDFの報告書が多くあります。サイズを確認して、Googleが読みやすくしてください。”

毎週5つの新しいスキル。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のどのサイズが大きすぎますか?

このスキルは、10MBを超えるファイルを圧縮対象とし、15MBを超えるファイルはGooglebotに途中で切られる可能性があるとしています。

PDFを圧縮するツールは何がありますか?

このスキルは、Adobe Acrobat、Ghostscript、Smallpdfに触れています。

PDFは提供し続けるべきですか?

はい。このスキルは、コンテンツのHTML版と並べて、PDFもダウンロード用に残すよう勧めています。

詳細

作者による元の説明

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.

repo: thedaviddias/Front-End-Checklist

人気

GitHubのスター
75k
ランキング
#2974
ライセンス
MIT
更新日
2026/10/31

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル