Web Artifacts Builder
anthropics/skills
Builds multi-component claude.ai HTML artifacts as a small React, TypeScript and Tailwind project, then bundles it into one shareable HTML file.
Systematically reduce the shipped bundle size of a JS/TS library without sacrificing code readability or breaking consumer APIs.
$ npx skills add kcsujeet/ilamy-calendar --skill reduce-bundle-size -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install kcsujeet/ilamy-calendar reduce-bundle-size --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/kcsujeet/ilamy-calendar.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/reduce-bundle-size .claude/skills/reduce-bundle-size && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "reduce-bundle-size" agent skill from https://github.com/kcsujeet/ilamy-calendar/tree/main/.agents/skills/reduce-bundle-size into .claude/skills/reduce-bundle-size/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "reduce-bundle-size", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/kcsujeet/ilamy-calendar/tree/main/.agents/skills/reduce-bundle-sizeType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add kcsujeet/ilamy-calendar --skill reduce-bundle-size -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install kcsujeet/ilamy-calendar reduce-bundle-size --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kcsujeet/ilamy-calendar.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/reduce-bundle-size .agents/skills/reduce-bundle-size && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "reduce-bundle-size" agent skill from https://github.com/kcsujeet/ilamy-calendar/tree/main/.agents/skills/reduce-bundle-size into .agents/skills/reduce-bundle-size/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "reduce-bundle-size", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add kcsujeet/ilamy-calendar --skill reduce-bundle-size -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install kcsujeet/ilamy-calendar reduce-bundle-size --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kcsujeet/ilamy-calendar.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/reduce-bundle-size .cursor/skills/reduce-bundle-size && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "reduce-bundle-size" agent skill from https://github.com/kcsujeet/ilamy-calendar/tree/main/.agents/skills/reduce-bundle-size into .cursor/skills/reduce-bundle-size/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "reduce-bundle-size", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/kcsujeet/ilamy-calendar.git --path .agents/skills/reduce-bundle-size--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add kcsujeet/ilamy-calendar --skill reduce-bundle-size -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install kcsujeet/ilamy-calendar reduce-bundle-size --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kcsujeet/ilamy-calendar.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/reduce-bundle-size .gemini/skills/reduce-bundle-size && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "reduce-bundle-size" agent skill from https://github.com/kcsujeet/ilamy-calendar/tree/main/.agents/skills/reduce-bundle-size into .gemini/skills/reduce-bundle-size/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "reduce-bundle-size", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install kcsujeet/ilamy-calendar reduce-bundle-sizeInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add kcsujeet/ilamy-calendar --skill reduce-bundle-size -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/kcsujeet/ilamy-calendar.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/reduce-bundle-size .github/skills/reduce-bundle-size && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "reduce-bundle-size" agent skill from https://github.com/kcsujeet/ilamy-calendar/tree/main/.agents/skills/reduce-bundle-size into .github/skills/reduce-bundle-size/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "reduce-bundle-size", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add kcsujeet/ilamy-calendar --skill reduce-bundle-size -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install kcsujeet/ilamy-calendar reduce-bundle-size --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kcsujeet/ilamy-calendar.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/reduce-bundle-size .opencode/skills/reduce-bundle-size && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "reduce-bundle-size" agent skill from https://github.com/kcsujeet/ilamy-calendar/tree/main/.agents/skills/reduce-bundle-size into .opencode/skills/reduce-bundle-size/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "reduce-bundle-size", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
reduce-bundle-sizeSystematically reduce the shipped bundle size of a JS/TS library without sacrificing code readability or breaking consumer APIs.
Reduce Bundle Size is an agent skill from kcsujeet/ilamy-calendar. Systematically reduce the shipped bundle size of a JS/TS library without sacrificing code readability or breaking consumer APIs. Use this skill whenever the user mentions bundle size, tree-shaking, code duplication to cut, "reduce size of", "make lighter", "shrink output", looks for wins in dist/, or asks to audit a library's heaviest files. Also trigger when the user pastes a bun run build / npm run build / bunup / tsup / rollup output showing dist/index.js size and asks for reductions. Prefer this over vague…
Its SKILL.md is about 2.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Frontend & Design, covering Web performance, Plain language and style rules and LLM guardrails. It works with npm, TypeScript, React and shadcn/ui. The repository describes itself as: A modern, open-source Full Calendar alternative for React. Month, week, day, and year views with drag-and-drop, horizontal and vertical resource views, and RFC 5545 recurring… The licence is MIT.
10 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit d1ee535. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
bunnpmFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Reduce Bundle Size loads about 2.9k tokens when it runs. Until then it costs about 170 tokens; SKILL.md has 1,426 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from kcsujeet/ilamy-calendar at commit d1ee535, republished under its MIT licence (© kcsujeet). 1,426 words, ~2,906 tokens.
.claude/skills/reduce-bundle-size/SKILL.md (or your agent's skills folder).A disciplined workflow for shrinking a JavaScript/TypeScript library bundle. The core move is measure every change, revert anything that regresses, and stay within readability guardrails — not "shorten the code."
Do this for every change, no exceptions:
dist/index.js size (raw + gzip). For bunup/tsup, the output includes both. Write it down.bun run ci (or equivalent npm test && npm run build). Tests must stay green. If any test fails, fix the test (if the behavior truly changed) or fix the refactor (if the test caught a regression) — never weaken the assertion.Anti-habit to avoid: batching 10 changes then running CI once. You lose signal on which change caused the regression, and you can't cherry-pick.
Before hunting for wins, verify the mental model:
head -c 500 dist/index.js. If you see import { X } from "some-dep" at the top, deps are externalized and the bundle is mostly your own source code. Removing a dep won't shrink the bundle much — but it saves install footprint. If deps are inlined, dep removal is a bigger lever.unused() plugin, etc.). A reported unused dep may be a false positive (type-only import that still has runtime co-entry) — grep the source for actual runtime usage before removing.sideEffects: false apply? If the whole build is one minified file, consumer tree-shaking can't re-split it. Multi-entry bundling (when you're OK with the API impact) enables downstream tree-shaking.Scan in roughly this order. Each subsection lists the shape of the opportunity and what the cleanup looks like.
src/. If truly unused, bun remove <dep>.src/index.ts.export statements (re-exports nobody consumes) → remove from the top-level entry.react-day-picker (30-50 KB) replaced with ~100 lines of dayjs-based month grid is a typical win.When three near-identical <Button> (or any element) blocks differ only in onClick/label/key/some prop:
{ id, label, ...vars } objects, map over it, render one element with vars interpolated.const arrays over in-render literals when the data doesn't depend on props/state.isEdit), declare the array inside the component right before the return.When multiple form fields have identical wrapper/Label/Input markup (title/description/location fields in a form, for example), extract a local component inside the file:
const TextField = ({ name, placeholder, required = false }: {...}) => (
<div className="grid gap-1 sm:gap-2">
<Label htmlFor={name}>{t(name)}</Label>
<Input id={name} name={name} value={formValues[name]} ... />
</div>
)Local-to-the-file first. Promote to a shared component only when 2+ files show the same shape.
When two feature folders (e.g. day-view/ and week-view/) render near-identical sub-structures, extract to a shared module one level up. Example: a TimeHeaderRow that both a day view and a week view render with small style/timing differences. Parameterize only the things that actually differ (view name, animation timing), bake the rest into the component.
Watch for: if the shared component's props balloon (8+ visual knobs for two callers), the abstraction is leaking. Better to keep two 20-line variants than one 60-line abstract "configurable" variant.
The sniff test: the same 5-10 line function appears in 2+ files with identical logic. Example:
const effectiveBusinessHours = useMemo(() => resourceId && getResourceById(resourceId)?.businessHours || fallback, ...) appearing in both grid-cell.tsx and event-form.tsx → extract to useEffectiveBusinessHours(resourceId).toHiddenDaysSet(days?: WeekDays[]) helper duplicated in both library entry components → hoist to lib/utils.Long algorithmic functions (positioning code, layout code) often have 2-3 near-identical inner loops. Extract each step as a locally-declared closure:
const findAvailableRow = (startCol, endCol) => { ... }
const place = (row, startCol, endCol, event, ...flags) => { ... }Then the main logic becomes a short sequence of place(findAvailableRow(...), ...) calls. Big line savings, usually small bundle savings (minifiers handle token-level duplication), but maintenance wins compound.
When contextValue = useMemo(() => ({ field1: engine.field1, field2: engine.field2, ...23 more }), [...]), replace with ...engine spread:
const contextValue = useMemo(() => ({ ...engine, override1: handler1, ...extras }), [engine, ...])Saves 15-25 lines per provider, no behavior change.
If { isOpen: false, event: null, updates: null } appears as both initial state AND 3 reset points, lift to const CLOSED_DIALOG = { isOpen: false, event: null, updates: null } as const. Small win but cleaner.
COLOR_OPTIONS = [{ value: '...', label: 'Blue' }, { value: '...', label: 'Green' }, ...] on 3-line blocks → one line each. The data is visual and repetitive; vertical density helps readability here.
Two exported functions like buildDateTime and buildEndDateTime differing only in an allDay branch — merge if the merged signature stays clear; keep separate if one argument disambiguates poorly. Err on the side of keeping two named functions over one confusing parameterized one.
These will reduce lines and usually reduce bundle, but they destroy readability. Don't.
a && b ? ... : a ? ... : b ? ... : ... is unreadable. Use if/else cascade.cn(...) stacks with multi-clause conditionals:cn(base, a && b && !c && 'x', !a && b && 'y', ...)cn().const isCurrentWeek = ... is better than inlining the expression 3 lines later).motion/react or framer-motion is heavy. Measure it first — stub the relevant component with a plain <div> and rebuild. Modern ESM libs often ship only 2-5 KB of their code into your bundle. If the empirical delta is small, the swap isn't worth the complexity."sideEffects": false on a single-file bundled output. Consumer bundlers can't re-split a single minified file. This flag mostly helps multi-file ESM distributions.head -c 500 dist/index.js — if you see from "rrule", it's already external.The loop in practice (for a bunup-based library — adapt to the local bundler):
# Baseline
bun run build 2>&1 | grep "index.js"
# After each change
bun run ci # lint + type-check + tests + build
bun run build | grep "index.js" # just the size line
# Occasional deeper check when suspicious
head -c 500 dist/index.js # verify deps are still externalized
grep -c "some-dep-name" dist/index.js # confirm a dep was removedIf a test fails, investigate the failure before deciding whether to revert. Often the test caught a real behavior change you didn't intend (e.g., you removed a check that guarded an edge case). That's the test doing its job.
A session has diminishing returns. Stop when:
Before you stop, update the session's dev log (if the project keeps one) with: final bundle size, total delta, files touched, and any deferred opportunities. Future sessions start from that context.
Be concrete about numbers. "This saved 2.77 KB raw, 0.87 KB gzip" beats "this should help". Report both raw and gzip — they diverge (gzip handles text-level duplication well; raw doesn't). When a change fails to shrink the bundle but removed real duplication, say so honestly: "line count −53, bundle unchanged — the minifier already handled this one. Keeping it for maintenance value."
© kcsujeet, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/reduce-bundle-size of kcsujeet/ilamy-calendar.
Open the folder on GitHubat commit d1ee535
Reduce Bundle Size next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Reduce Bundle Size this skillkcsujeet/ilamy-calendar | 351 | — | ~2.9k | Automated safety check: Pass | MIT | |
| Web Artifacts Builderanthropics/skills | 180k | 41 repos | ~769 | Automated safety check: Pass | Apache-2.0 | |
| Ss Learnbitjaru/styleseed | 974 | — | ~1.3k | Automated safety check: Pass | MIT | |
| Animated React Component LibrariesHainrixz/editor-pro-max | 264 | 1 repos | ~5.7k | Automated safety check: Pass | Custom licence | |
| Morphous CatalogAmeyanagi/morphos | 102 | — | ~2.1k | Automated safety check: Pass | Apache-2.0 | |
| Shadmin Devahaodev/shadmin | 174 | — | ~2.8k | Automated safety check: Pass | MIT |
anthropics/skills
Builds multi-component claude.ai HTML artifacts as a small React, TypeScript and Tailwind project, then bundles it into one shareable HTML file.
bitjaru/styleseed
Capture a human-approved UI design lesson as a privacy-minimized local StyleSeed candidate, review it, and prepare an opt-in share package without transmitting project code, prompts, screenshots, or…
Hainrixz/editor-pro-max
Helps choose and drop in animated React components from Magic UI and React Bits for landing pages, marketing sites and dashboards, instead of hand-coding animations.
Ameyanagi/morphos
Create or refresh Morphous website design-system/theme bundles from animal, insect, plant, landscape, mineral, weather, or other nature motifs.
ahaodev/shadmin
Apply Shadmin feature-development standards (backend Go/Gin/Ent + frontend React/TS).
bitjaru/styleseed
Build, improve, or inspect UI with StyleSeed. An agent skill from bitjaru/styleseed.
kcsujeet/ilamy-calendar
Reviews code changes for reuse, composition, codebase consistency, and slop.
kcsujeet/ilamy-calendar
Cut a new release of @ilamy/calendar — analyze commits since the last tag, suggest a semver bump, draft a CHANGELOG entry in the project's existing style, run the CI gate, commit, tag, push to…
Works with
Systematically reduce the shipped bundle size of a JS/TS library without sacrificing code readability or breaking consumer APIs. Reduce Bundle Size is an agent skill from kcsujeet/ilamy-calendar. Systematically reduce the shipped bundle size of a JS/TS library without sacrificing code readability or breaking consumer APIs.
Reduce Bundle Size fits situations like: the user mentions bundle size; code duplication to cut; looks for wins in dist/; asks to audit a librarys heaviest files.
Run `npx skills add kcsujeet/ilamy-calendar --skill reduce-bundle-size -a claude-code`. Or copy the skill folder (.agents/skills/reduce-bundle-size in kcsujeet/ilamy-calendar) into .claude/skills/reduce-bundle-size in your project. Claude Code loads it when a task matches its description.
Run `npx skills add kcsujeet/ilamy-calendar --skill reduce-bundle-size -a codex`. Or copy the skill folder (.agents/skills/reduce-bundle-size in kcsujeet/ilamy-calendar) into .agents/skills/reduce-bundle-size in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add kcsujeet/ilamy-calendar --skill reduce-bundle-size -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/reduce-bundle-size, .gemini/skills/reduce-bundle-size, .github/skills/reduce-bundle-size and .opencode/skills/reduce-bundle-size in your project.
Going by SKILL.md and its folder, Reduce Bundle Size needs the command-line tools its instructions call (bun and npm).
SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Reduce Bundle Size is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.9k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Reduce Bundle Size: Web Artifacts Builder (anthropics/skills, 180k stars), Ss Learn (bitjaru/styleseed, 974 stars), Animated React Component Libraries (Hainrixz/editor-pro-max, 264 stars) and Morphous Catalog (Ameyanagi/morphos, 102 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
kcsujeet (a GitHub user) maintains it in kcsujeet/ilamy-calendar, which has 351 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 9, 2026.
Source: kcsujeet/ilamy-calendar on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.