webpackbundleanalyzeragent

Analyzes webpack bundle composition using webpack-bundle-analyzer and the source-map-explorer API, identifies duplicate dependencies, and suggests rewriting specific imports to enable tree-shaking optimizations.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "webpackbundleanalyzeragent" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-1c47c4feb86f80712cdf7bafe2d0e435cdbcd73797b40ae454baf98a429c6ab6. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/webpack-bundle-analyzer-agent before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Analyzes webpack bundle composition using webpack-bundle-analyzer and the source-map-explorer API, identifies duplicate dependencies, and suggests rewriting specific imports to enable tree-shaking optimizations.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "Webpack Bundle Analyzer Agent"
slug: "webpack-bundle-analyzer-agent"
version: "1.0.0"
displayName: "Webpack Bundle Analyzer Agent"
summary: "使用 webpack-bundle-analyzer 和 source-map-explorer API 分析 webpack bundle 组成。识别重复依赖并建议通过特定导入重写进行 tree-shaking 优化。"
license: "MIT"
description: "使用 webpack-bundle-analyzer 和 source-map-explorer API 分析 webpack bundle 组成。识别重复依赖并建议通过特定导入重写进行 tree-shaking 优化。"
github_stars: 65837
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
category: "Developer Tools"
framework: "Cursor"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 65837
  npm_package: "webpack"
  npm_weekly_downloads: 44532842

Webpack Bundle Analyzer Agent

Analyzes webpack bundle composition using webpack-bundle-analyzer and source-map-explorer APIs. Identifies duplicate dependencies and suggests tree-shaking optimizations with specific import rewrites.

Installation

Use the upstream install or setup path that matches your environment:

  • npm install --save-dev webpack
  • yarn add webpack --dev

Requirements and caveats from upstream:

  • [![node][node]][node-url]
  • Highly modular plugin system to do whatever else your application requires.
  • Webpack supports all browsers that are ES5-compliant (IE8 and below are not supported).

Basic usage or getting-started notes:

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 提供 webpack bundle 组成分析和 tree-shaking 优化建议,解决前端开发中的明确痛点
  • 识别重复依赖并提供具体导入重写方案,具有实际工程价值
Trigger Precision90/100

Highlights

  • 触发描述清晰完整,准确覆盖 bundle 分析、重复依赖识别和优化建议等核心功能
Structure and Standards65/100

Areas to improve

  • 缺少 When to Use/示例章节 Reported severity: Minor

    文档缺少具体的使用场景说明和端到端示例

    Recommendation: 建议补充 When to Use 章节和具体的使用示例,帮助用户更好地理解应用场景

  • 文档结构不完整 Reported severity: Minor

    缺少具体的 Phase/步骤划分和出口条件说明

    Recommendation: 建议补充具体的执行步骤划分和完成条件说明,提升文档完整性

Highlights

  • frontmatter 信息完整,包含必要的元数据
Execution Reliability70/100

Areas to improve

  • 异常处理覆盖不足 Reported severity: Minor

    未覆盖主要异常情况(如分析失败、依赖缺失等)

    Recommendation: 建议补充异常处理说明和错误恢复机制

Highlights

  • 工具来源明确,参数正确,基础执行流程可靠
Evidence Verifiability (mean of the first four)78/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 28
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com
  • kangax.github.io
  • raw.githubusercontent.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.