Apply bundle size optimizations
Scanned 9/9/2026
Install to Claude Code
npx -y skills add baekenough/oh-my-customcode --skill optimize-bundle --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Optimize Bundle?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/baekenough-optimize-bundle)More formats (shields.io, HTML) on the badges page.
---
name: optimize-bundle
description: Apply bundle size optimizations
scope: core
argument-hint: "[--dry-run] [--safe]"
disable-model-invocation: true
user-invocable: true
---
# Bundle Optimization Skill
Apply bundle size optimizations to reduce build output and improve performance.
## Options
```
--dry-run Show what would be changed without applying
--safe Only apply safe, reversible optimizations
```
## Workflow
```
1. Run full bundle analysis
2. Identify optimization opportunities
3. Prioritize by impact and risk
4. Apply recommended changes (or show dry-run)
5. Rebuild if changes applied
6. Verify improvements
7. Report before/after metrics
```
## Optimization Levels
### Safe
- Configure code splitting
- Enable tree-shaking for ESM
- Add terser/minification
- Configure chunk optimization
### Moderate
- Replace heavy dependencies with lighter alternatives
- Add dynamic imports for routes
- Configure asset optimization
### Aggressive
- Remove unused dependencies
- Inline small modules
- Configure aggressive minification
## Output
- Applied changes list
- Before/after size comparison
- Build time comparison
- Risk assessment for each change
## Examples
```bash
# Apply all safe optimizations
optimize-bundle
# Preview changes without applying
optimize-bundle --dry-run
# Only apply safe optimizations
optimize-bundle --safe
```
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Playbook for creating and editing uCoz landing pages via MCP tools (`templates_tool`, `ftp_tool`, `modules_tool`). Use for tasks such as: "build a landing page", "update the homepage as a landing page", "create a promo page on the homepage", "add a lead form / menu / SEO to the homepage". Homepage: `page_list`, `page_get`; first publish — `page_update` with full `page_tmpl`; HTML edits after generation — `patch_template` (module_id=2, template_id=1), not `update_template`. Activate the mail f...
Interact with the Paperclip control plane API to manage tasks, coordinate with other agents, and follow company governance. Use when you need to check assignments, update task status, delegate work, post comments, set up or manage routines (recurring scheduled tasks), or call any Paperclip API endpoint. Do NOT use for the actual domain work itself (writing code, research, etc.) — only for Paperclip coordination.
Instantly.ai cold email outreach API - manage campaigns, leads, accounts, and analytics. Use for cold email automation, lead management, campaign creation/monitoring, and email account warmup.
Digital Audio Workstation usage, music composition, interactive music systems, and game audio implementation for immersive soundscapes.
Compress natural language memory files (CLAUDE.md, todos, preferences) into caveman format to save input tokens. Preserves all technical substance, code, URLs, and structure. Compressed version overwrites the original file. Human-readable backup saved as FILE.original.md. Trigger: /caveman-compress FILEPATH or "compress memory file"