本文へスキップ
Skillpedia
WebサイトとUI(フロントエンド)75k · #2967

page-weight

できること

このスキルは、すべてのファイルを含めたページ全体の重さを測り、より軽くするための方法を提案します。モバイル回線で遅く感じるページを改善したい制作者向けです。

使う場面

  • ✓ページ全体の重さを確認するようエージェントに頼むとき。
  • ✓ページが大量のデータをダウンロードし、モバイル回線の訪問者から遅いと報告されたとき。
  • ✓時間とともにページが重くなるのを防ぐために、パフォーマンスの予算を立てたいとき。

スキルのリンク

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

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“私のページはダウンロードがとても重いです。全体のサイズを確認して、何を削ればよいか教えてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、ページ上のすべてのリソースのサイズを合計し、目標と比べます。次に、主な原因である画像やJavaScriptのバンドルを示し、最適化の手順を提案します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Keep page weight under 1500KB

Page weight directly correlates with load time—a 1.5MB page takes 3-5 seconds on 4G mobile. Every 100KB reduction improves user experience, especially on slower networks.

Quick Reference

  • Target under 500KB for optimal performance, max 1500KB
  • Images typically account for 50-70% of page weight
  • JavaScript bundles are often the second largest contributor
  • Monitor with performance budgets in CI/CD

Check

Analyze the total page weight including all resources. Check if it's under 1500KB (ideally under 500KB).

Fix

Optimize this page to reduce its total weight through image optimization, code minification, and removing unnecessary resources.

Explain

Explain how page weight impacts loading time, especially on mobile networks, and affects user experience.

Code Review

Review the routes, assets, and loading behavior that affect Keep page weight under 1500KB. 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/page-weight

よくある質問

ページの重さの良い目標は何ですか?

このスキルは、最高の性能のためには500KB未満、最大は1500KBとすることを提案しています。

ページで最も容量を取るものは何ですか?

このスキルによると、画像がページの重さの50から70パーセントを占めることが多く、次に大きいのはJavaScriptのバンドルです。

ページが再び重くなるのを防げますか?

はい。このスキルは、ビルドやデプロイのチェックでパフォーマンスの予算を使って監視することを勧めています。

詳細

作者による元の説明

Use when auditing slow page loads, heavy assets, or rendering delays related to Keep page weight under 1500KB. Verify the actual bottleneck in DevTools, Lighthouse, or field data before recommending changes.

repo: thedaviddias/Front-End-Checklist

人気

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

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

0

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

コメント

  • …

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

似ているスキル