bundle-size-optimization
Reduce JavaScript and CSS bundle sizes through code splitting, tree shaking, and optimization techniques. Improve load times and overall application performance.
By aj-geddes · 543 installs
npx skills add aj-geddes/useful-ai-prompts --skill bundle-size-optimization
Source repository · Upstream listing
Bundle Size Optimization
Table of Contents
[Overview]( overview)
[When to Use]( when to use)
[Quick Start]( quick start)
[Reference Guides]( reference guides)
[Best Practices]( best practices)
Overview
Smaller bundles download faster, parse faster, and execute faster, dramatically improving perceived performance especially on slower networks.
When to Use
Build process optimization
Bundle analysis before deployment
Performance baseline improvement
Mobile performance focus
After adding new dependencies
Quick Start
Minimal working example:
Reference Guides
Detailed implementations in the references/ directory:
Guide Contents
[Bundle Analysis](references/bundle analysis.md) Bundle Analysis
[Optimization Techniques](references/optimization techniques.md) Optimization Techniques
[Implementation Strategy](references/implementation strategy.md) Implementation Strategy
[Best Practices](references/best practices.md) Best Practices
Best Practices
✅ DO
Follow established patterns and conventions
Write clean, maintainable code
Add appropriate documentation
Test thoroughly before deploying
❌ DON'T
Skip testing or validation
Ignore error handling
Hard code configuration values