igniteui-react-optimize-bundle-size

igniteui-react-optimize-bundle-size is a skill for Claude Code from IgniteUI/igniteui-react. It costs 154 tokens per session (1,192 once invoked), scanned A, a copy of igniteui-react-optimize-bundle-size, MIT.

A guide for reducing the size of a React application that uses Ignite UI, a collection of user-interface components.

In plain words
What is it for?
It covers installing only needed packages, importing specific components so unused code can be removed, and loading large parts such as grids or charts only when needed.
Why use it?
Large bundles can make an application take longer to load, especially when they include components the app does not use.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit It covers installing only needed packages, importing specific components so unused code can be removed, and loading large parts such as grids or charts only when needed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/igniteui/igniteui-react/igniteui-react-optimize-bundle-size
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 IgniteUI/igniteui-react --skill igniteui-react-optimize-bundle-size
Clone the repo
git clone --depth 1 https://github.com/IgniteUI/igniteui-react

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-react-optimize-bundle-size

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/igniteui/igniteui-react/igniteui-react-optimize-bundle-size"><img src="https://agentmods.dev/badge/skills/igniteui/igniteui-react/igniteui-react-optimize-bundle-size.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 154 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,192 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 100% copy Near-identical to another mod 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.00154 $0.01192
Opus 5.5 $0.00062 $0.00477
Sonnet 5.5 $0.00031 $0.00238
Haiku 4.5 $0.00015 $0.00119

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

Security

Grade A, and why

igniteui-react-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 2mo 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.

Origin

This is a copy

100% identical to igniteui-react-optimize-bundle-size — 450 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/igniteui-react-optimize-bundle-size/SKILL.md · 88 lines

How it starts

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

Optimizing Ignite UI for React Bundle Size

Standard React techniques (React.lazy + Suspense, route splitting, minification, compression, bundle analyzers) apply unchanged. This skill covers only what is specific to Ignite UI.

Where the weight is

igniteui-react is published with "sideEffects": false and per-component modules, so named imports tree-shake well — a handful of core components costs little. The heavy families are separate packages:

Package Weight Notes
igniteui-react light per component core UI; tree-shakes cleanly
igniteui-grid-lite small MIT grid; far lighter than the premium grids
igniteui-react-grids heavy Data/Tree/Pivot/Hierarchical grid
igniteui-react-charts / -maps / -gauges heavy legacy DV packages, weaker tree-shaking

Two conclusions: install only the families you use, and split the heavy families out of the initial chunk. Downgrading IgrGrid to IgrGridLite is often the single largest win when the app only displays flat, read-only data — check the feature list in DATAVIZ.md first.

Import rules

import { IgrButton, IgrCard } from 'igniteui-react';        // ✅ tree-shakes
import * as IgniteUI from 'igniteui-react';                 // ❌ defeats tree-shaking
import { IgcButtonComponent } from 'igniteui-webcomponents'; // ❌ bypasses the wrapper

Never import from igniteui-webcomponents (or igniteui-webcomponents-grids) directly. It pulls a second copy of the element definitions alongside the wrappers and skips the auto-registration the wrapper performs.

Splitting the heavy families

Lazy-load at the route or panel boundary, not the component. IgrGrid and the DV charts are only worth splitting when the whole view that uses them is deferred.

const Dashboard = lazy(() => import('./pages/Dashboard')); // grid + its theme CSS
const Analytics = lazy(() => import('./pages/Analytics')); // charts + registration

Read the full file on GitHub · 88 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. 2mo ago Changed · +1 lines · +81 tokens per session d8c297e0a576
  2. 2mo ago Changed · -353 lines · +23 tokens per session 164654a9cc0a
  3. 3mo ago First seen · 440 lines · 50 tokens per session scan A cd0be380fbcf

Subscribe to this mod's changes

igniteui-react-optimize-bundle-size is a skill published in the GitHub repository IgniteUI/igniteui-react (57 stars, last pushed 5d ago), licensed MIT. It adds 154 tokens to every session and 1,192 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to igniteui-react-optimize-bundle-size, differing in 450 lines, and is treated as a copy.

Related

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

igniteui-react-optimize-bundle-size next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
igniteui-react-optimize-bundle-sizeIgniteUI/igniteui-reactSkill575d agoMITA154Claude Code
chakra-ui-builderchakra-ui/chakra-uiSkill41ktodayMITA214Claude Code, Codex
chakra-ui-migratechakra-ui/chakra-uiSkill41ktodayMITA137Claude Code, Codex
chakra-ui-refactorchakra-ui/chakra-uiSkill41ktodayMITA139Claude Code, Codex
material-ui-nextjsmui/material-uiSkill99ktodayMITA76Claude Code, Codex
material-ui-themingmui/material-uiSkill99ktodayMITA63Claude Code, Codex
material-ui-stylingmui/material-uiSkill99ktodayMITA52Claude Code, Codex