igniteui-wc-optimize-bundle-size

igniteui-wc-optimize-bundle-size is a skill for Claude Code from IgniteUI/igniteui-cli. It costs 25 tokens per session (3,907 once invoked), scanned A, original, MIT.

A guide for reducing the size of web applications that use Ignite UI Web Components, a library of ready-made interface elements. It focuses on importing only the elements the application actually uses.

In plain words
What is it for?
Use it to review Ignite UI imports, enable tree-shaking (removing unused code during the build), analyze what is included, and improve production load times.
Why use it?
Large application files take longer to download and can slow page loading. This guide helps remove unused components and load some components only when needed.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is component: () => import('../views/Home.vue') // Lazy load.

Good fit Use it to review Ignite UI imports, enable tree-shaking (removing unused code during the build), analyze what is included, and improve production load times.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/IgniteUI/igniteui-cli
agentmods
npx agentmods add skills/igniteui/igniteui-cli/igniteui-wc-optimize-bundle-size

Made for: Claude Code.

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 igniteui-wc-optimize-bundle-size

README.md
[![agentmods](https://agentmods.dev/badge/skills/igniteui/igniteui-cli/igniteui-wc-optimize-bundle-size/github.svg)](https://agentmods.dev/skills/igniteui/igniteui-cli/igniteui-wc-optimize-bundle-size)
Your own site
<a href="https://agentmods.dev/skills/igniteui/igniteui-cli/igniteui-wc-optimize-bundle-size"><img src="https://agentmods.dev/badge/skills/igniteui/igniteui-cli/igniteui-wc-optimize-bundle-size/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 igniteui-wc-optimize-bundle-size

Your own site · 80×15
<a href="https://agentmods.dev/skills/igniteui/igniteui-cli/igniteui-wc-optimize-bundle-size"><img src="https://agentmods.dev/badge/skills/igniteui/igniteui-cli/igniteui-wc-optimize-bundle-size.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,907 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00025 $0.03907
Opus 5.5 $0.00010 $0.01563
Sonnet 5.5 $0.00005 $0.00781
Haiku 4.5 $0.00003 $0.00391

Measured 3mo ago against content hash 66bd8a7f8ea4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

igniteui-wc-optimize-bundle-size 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 3mo 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.

packages/cli/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-optimize-bundle-size/SKILL.md · 710 lines

How it starts

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

Optimize Bundle Size

This skill helps users minimize their application's bundle size when using Ignite UI Web Components by importing only the components they need and following best practices for tree-shaking.

Example Usage

  • "My bundle size is too large"
  • "How do I reduce the size of igniteui-webcomponents?"
  • "Import only the components I need"
  • "Tree-shake unused components"
  • "Optimize imports for production"

When to Use

  • User's bundle size is too large
  • User wants to optimize for production
  • User is importing more components than needed
  • User asks about tree-shaking or optimization
  • User wants to improve load times

Key Principles

  1. Import only what you use - Don't use defineAllComponents()
  2. Use named imports - Enable tree-shaking
  3. Analyze your bundle - Identify what's being included
  4. Lazy load when possible - Load components on demand

Import Strategies

❌ Bad: Import Everything

// DON'T DO THIS - imports ALL components (~500KB+)
import { defineAllComponents } from 'igniteui-webcomponents';

defineAllComponents();

Impact: Includes all 60+ components whether you use them or not.

✅ Good: Import Specific Components

// DO THIS - import only what you need
import {
  defineComponents,
  IgcButtonComponent,
  IgcInputComponent,
  IgcCardComponent
} from 'igniteui-webcomponents';

defineComponents(IgcButtonComponent, IgcInputComponent, IgcCardComponent);

Impact: Bundle includes only 3 components and their dependencies.

React Applications

If you're using React, consider using the igniteui-react package instead of igniteui-webcomponents. It provides the same components with React-friendly wrappers and typically results in better tree-shaking:

Read the full file on GitHub · 710 lines

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. 3mo ago First seen · 710 lines · 25 tokens per session scan A 66bd8a7f8ea4

Subscribe to this mod's changes

igniteui-wc-optimize-bundle-size is a skill published in the GitHub repository IgniteUI/igniteui-cli (137 stars, last pushed yesterday), licensed MIT. It adds 25 tokens to every session and 3,907 once invoked, about $0.0001 per session on Opus 5.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-08-30.

Related

igniteui-wc-optimize-bundle-size compared with skills from other repositories

igniteui-wc-optimize-bundle-size next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
igniteui-wc-optimize-bundle-sizeIgniteUI/igniteui-cliSkill137yesterdayMITA25Claude Code
agent-upkeepNVIDIA/elementsSkill122yesterdayApache-2.0A115Claude Code, Codex
summarize-video-releasesNVIDIA/elementsSkill122yesterdayApache-2.0A109Claude Code, Codex
agent-dependenciesNVIDIA/elementsSkill122yesterdayApache-2.0A73Claude Code, Codex
summarize-releasesNVIDIA/elementsSkill122yesterdayApache-2.0A77Claude Code, Codex
authoring-benchmarksNVIDIA/elementsSkill122yesterdayApache-2.0A105Claude Code, Codex
guidance-webgpu-performanceNVIDIA/elementsSkill122yesterdayApache-2.0A98Claude Code, Codex