webpack-docs

webpack-docs is a skill for Claude Code, Codex from pledgeandgrow/pledge-skills. It costs 30 tokens per session (2,385 once invoked), scanned A, original, MIT.

A reference guide to webpack, a tool that combines a web application's JavaScript and other files into browser-ready bundles.

In plain words
What is it for?
Use it to configure builds, transform CSS or TypeScript, manage assets, enable hot reloading, optimize bundles, or set up module federation.
Why use it?
It helps coding agents understand the dependency graph, loaders, plugins, development server, and production build settings instead of treating them as interchangeable options.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to configure builds, transform CSS or TypeScript, manage assets, enable hot reloading, optimize bundles, or set up module federation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pledgeandgrow/pledge-skills/webpack
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add pledgeandgrow/pledge-skills --skill webpack
Clone the repo
git clone --depth 1 https://github.com/pledgeandgrow/pledge-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for webpack-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/webpack/github.svg)](https://agentmods.dev/skills/pledgeandgrow/pledge-skills/webpack)
Your own site
<a href="https://agentmods.dev/skills/pledgeandgrow/pledge-skills/webpack"><img src="https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/webpack/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for webpack-docs

Your own site · 80×15
<a href="https://agentmods.dev/skills/pledgeandgrow/pledge-skills/webpack"><img src="https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/webpack.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,385 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00030 $0.02385
Opus 5 $0.00015 $0.01192
Sonnet 5 $0.00006 $0.00477
Haiku 4.5 $0.00003 $0.00238

Measured 5d ago against content hash 77434c8439b2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

webpack-docs scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/webpack/SKILL.md · 215 lines

How it starts

The opening of the file, as written. The whole thing — 215 lines — stays where its author put it; the contents beside it link to each section on GitHub.

webpack Skill

webpack — Static module bundler for modern JavaScript applications. Version: webpack 5.x (latest) | Docs: webpack.js.org

Quick Reference

Topic File Sections
Getting Started & Concepts getting-started.md Core concepts (entry, output, loaders, plugins, mode, browser compatibility), dependency graph, modules, module federation, HMR, guides, migration
Configuration configuration.md All configuration options: entry/context, output, module/rules, resolve, plugins, optimization, devtool, devServer, target, watch, cache, experiments, stats, performance, other options
Loaders, Plugins & API loaders-plugins-api.md Loader interface, plugin API, CLI, Node.js API, module methods, compiler hooks, compilation hooks, built-in plugins, loader catalog, plugin catalog

Core Concepts

  • Entry: Starting point for building the dependency graph (default: ./src/index.js)
  • Output: Where to emit bundles and how to name them (default: ./dist/main.js)
  • Loaders: Transform non-JS files (CSS, TS, images) into valid modules
  • Plugins: Perform wider range of tasks: bundle optimization, asset management, env injection
  • Mode: development, production, or none — enables built-in optimizations
  • Dependency Graph: webpack builds a graph from entry points, combining every needed module into bundles
  • Modules: webpack supports ES modules, CommonJS, AMD, and webpack-specific module methods
  • Module Federation: Multiple webpack builds share modules at runtime
  • HMR (Hot Module Replacement): Swap modules without full page reload during development
  • Browser Compatibility: Supports all ES5-compliant browsers (IE8 and below not supported)

webpack Versions

Version Key Features Status
webpack 5.x Module Federation, Asset Modules, Cache, experiments (CSS/HTML/TS), Node polyfill removal Active
webpack 4.x Zero config, mode optimization, WebAssembly support Maintenance

Read the full file on GitHub · 215 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 215 lines · 30 tokens per session scan A 77434c8439b2

Subscribe to this mod's changes

webpack-docs is a skill published in the GitHub repository pledgeandgrow/pledge-skills (10 stars, last pushed 1mo ago), licensed MIT. It adds 30 tokens to every session and 2,385 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

vite-advanced

Advanced Vite 8 patterns including Rolldown-powered builds, advancedChunks, Environment API, plugin development, SSR configuration, library mode, and build optimization. Use when customizing build pipelines, creating plugins, or configuring multi-environment builds.

yonatangross/orchestkit · 52 tokens

bundler

JavaScript module bundlers reference. Covers Vite config and dev server, esbuild CLI and API, Webpack 5 with loaders and plugins, Rollup for libraries, Rspack, code splitting, tree shaking, HMR, and source maps.

bytesagain/ai-skills · 55 tokens

compiler-orchestrator

Orchestrate the Rust compiler port end-to-end. Discovers the current frontier, fixes failing passes, ports new passes, reviews, and commits in a loop.

react/react · 38 tokens

angular-developer

Generates Angular code and provides architectural guidance. Trigger when creating projects, components, services, or HTTP communication, or for best practices on reactivity (signals, linkedSignal, resource, httpResource), forms, dependency injection, routing, SSR, accessibility (ARIA), animations, styling (component…

angular/angular · 77 tokens

angular-new-app

Creates a new Angular app using the Angular CLI. This skill should be used whenever a user wants to create a new Angular application and contains important guidelines for how to effectively create a modern Angular application.

angular/angular · 43 tokens

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits with the [compiler] or [rust-compiler] prefix.

react/react · 42 tokens