bundle-checker

Analyze project dependencies and build configuration to identify bundle size issues.

1|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/jieni777/opencode-config-backup --skill bundle-checker
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bundle-checker
Source: https://github.com/jieni777/opencode-config-backup/tree/main/skills/bundle-analyzer
Command: npx skills add https://github.com/jieni777/opencode-config-backup --skill bundle-checker

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill analyzes your project’s bundle to identify size drivers and optimization opportunities, helping you reduce bloating and improve load times.

Core Features & Use Cases

  • Bundle analysis: breaks down bundle composition to show why it grew.
  • Dependency optimization: identifies largest dependencies and suggests lighter alternatives or replacements.
  • Use Case: Use in a React or frontend project to trim unused code, enable tree-shaking, and optimize startup performance.

Quick Start

Run npx ai-bundle-check in your project directory to receive an AI-generated bundle optimization report.

Frequently Asked Questions about bundle-checker

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

FAQPage Schema
How do I analyze my Webpack or Vite bundle size to find bloat?

To analyze bundle size, the tool parses package.json, lockfile, and build config files to break down bundle composition. It identifies large dependencies and unused code to show exactly why your bundle grew.

What is tree-shaking and how do I enable it for my frontend dependencies?

Tree-shaking eliminates unused code from dependencies. The tool analyzes build configuration to identify potential tree-shaking opportunities and recommends specific config tweaks to enable it.

Does this bundle analysis work with Next.js or Rollup configurations?

Yes, bundle analysis works with Next.js and Rollup. The tool requires standard build config files like next.config.js or rollup.config.js alongside package.json and a lockfile to generate precise recommendations.

How do I find lighter alternatives for large dependencies in my project?

To find lighter alternatives, the tool evaluates your largest dependencies against actual usage. It generates actionable recommendations for lighter replacements to trim unused code and reduce bloating.

What files do I need to run a bundle optimization report?

You need package.json, a lockfile, and standard build config files like webpack.config.js or vite.config.js. Providing these files allows the tool to generate precise AI-driven bundle optimization recommendations.