frontend-bundle-size
CommunityShrink frontend bundles, speed up load
Software Engineering#performance#react#tree-shaking#preloading#code-splitting#bundle-size#dynamic-import
Authoradrian729
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps developers reduce frontend bundle size and improve load and HMR performance by identifying heavy or unnecessary imports and recommending safer loading patterns.
Core Features & Use Cases
- Barrel import avoidance: prefer direct module imports to prevent pulling large re-exported libraries into client bundles.
- Dynamic loading & React.lazy: recommend moving heavy modules behind dynamic import() or React.lazy with Suspense and client-side guards to avoid SSR bundling.
- Intent-based preloading: suggest preloading on hover, focus, or feature-flag activation to improve perceived performance without inflating initial payloads.
- Use Case: optimize a React/Next.js app that currently imports large UI libraries like @mui/material or lucide-react to reduce dev boot time, build size, and cold starts.
Quick Start
Ask the skill to analyze a component or import graph and return actionable recommendations to replace barrel imports, add dynamic imports or React.lazy, and implement intent-based preloading.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: frontend-bundle-size Download link: https://github.com/adrian729/skills/archive/main.zip#frontend-bundle-size Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.