Optimize bundle

From baekenough/oh-my-customcode · View interactive version

Optimize bundle is an AI agent skill from the GitHub repository baekenough/oh-my-customcode. Apply bundle size optimizations

How to use this skill

Skill file

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

Moderate

Aggressive

Output

Examples

# Apply all safe optimizations
optimize-bundle

# Preview changes without applying
optimize-bundle --dry-run

# Only apply safe optimizations
optimize-bundle --safe
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.