スキル公式
plugin-bundle-size
Apache-2.02026年11月10日 更新307GitHubスター
A Grafana skill for making an app plugin load faster by shrinking the module.js bundle the browser fetches first.
スキルの内容
A Grafana skill for making an app plugin load faster by shrinking the module.js bundle the browser fetches first. The agent can add bundle size reporting in CI, checks the plugin type and updates @grafana/create-plugin, looks for code worth splitting, then applies React.lazy, Suspense and webpack code splitting in priority order: the module entry point, routes in App.tsx, extension components and component registries or tabs. It regroups chunks if splitting goes too far, measures the result and tests the running plugin. Risk levels are given for each change.
できること
- Report plugin bundle size in CI
- Lazy load plugin pages and extensions
- Split module.js with webpack code splitting
- Measure bundle size before and after
概要
- 公開元
- Grafana Labs
- ツール
- Grafana
インストール
含まれるファイル
- references/datasource-plugins.md
- references/troubleshooting.md
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
詳細
出典
- スキルファイル(SKILL.md)github.com/grafana/skills · 根拠となる項目:ライセンス2026年11月10日
- README(README.md)github.com/grafana/skills2026年11月13日
- GitHubリポジトリgithub.com/grafana/skills · 根拠となる項目:公式かどうか, 公開元, 活動状況, ライセンス2026年11月11日
- リポジトリ内のフォルダ(plugin-bundle-size)github.com/grafana/skills · 根拠となる項目:スクリプトを含む2026年11月10日