ui-analyze

Analyze frontend JavaScript bundle sizes to identify optimization opportunities.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/maminul007/trading-platform --skill ui-analyze
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ui-analyze
Source: https://github.com/maminul007/trading-platform/tree/main/.claude/skills/ui-analyze
Command: npx skills add https://github.com/maminul007/trading-platform --skill ui-analyze

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps identify and resolve issues related to large frontend bundle sizes, leading to faster load times and improved user experience.

Core Features & Use Cases

  • Bundle Analysis: Provides a detailed breakdown of your frontend application's bundle size.
  • Dependency Optimization: Highlights large dependencies and suggests alternatives or optimization strategies.
  • Dead Code Detection: Identifies unused code that can be safely removed.
  • Use Case: A developer can use this skill to analyze their React application's build output, discover that ag-grid-community is taking up 20% of the bundle, and decide to implement lazy loading for the component that uses it.

Quick Start

Run the ui-analyze skill with the --treemap argument to visualize your bundle composition.

Frequently Asked Questions about ui-analyze

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reduce frontend bundle size in my web application?

To reduce frontend bundle size, you can analyze chunk composition and dependency sizes to identify optimization opportunities. This involves detecting unused code exports and implementing code splitting or dependency management strategies to reduce overall build size and load times.

What is the best way to analyze JavaScript bundle composition?

Analyzing JavaScript bundle composition involves breaking down chunk sizes and evaluating dependency footprints to identify large libraries. You can visualize this composition to see which dependencies consume the most space and target them for replacement or lazy loading.

How does dead code detection work for frontend optimization?

Dead code detection for frontend optimization identifies unused code exports within your JavaScript bundle that can be safely removed. By analyzing the build output, it highlights modules that are included but never executed, allowing you to strip unnecessary bytes from the final bundle.

Can I use bundle analysis to optimize React application load times?

Yes, bundle analysis can optimize React application load times by identifying large dependencies like heavy grid components. By discovering which libraries occupy significant bundle percentages, you can implement lazy loading for the specific components that use them to improve performance.

How do I identify large dependencies causing slow web performance?

You can identify large dependencies causing slow web performance by analyzing your frontend build output for dependency sizes. This process highlights heavy libraries and suggests optimization strategies or alternative packages to reduce the overall bundle footprint.

When should I implement code splitting for frontend optimization?

You should implement code splitting for frontend optimization when bundle analysis reveals large dependencies or unused code exports inflating your build size. Splitting chunks allows the application to load only the necessary JavaScript for the initial view, reducing load times.