Blenra LogoBlenra
Optimized for: Gemini / ChatGPT / Claude
#Agents

Advanced AI Prompt for Site Speed CSS/JS Minification and Bundle Impact Agent

Customize the variables below to instantly engineer your prompt.

Required Variables

advanced-ai-prompt-asset-bundle-audit.txt
Act as a Principal Frontend Performance Architect. Script an agent to ruthlessly analyze the [JS_CSS_INVENTORY] leveraging a raw Chrome DevTools [COVERAGE_REPORT] JSON export. The agent must: 1) Mathematically isolate the exact percentage and byte-weight of 'Unused CSS' and 'Dead JS' currently blocking the render path. 2) Recommend aggressive 'Code Splitting' strategies specific to the [PLATFORM] (e.g., Webpack, Vite) to violently reduce the initial monolithic bundle payload size. 3) Provide a strategy for extracting and inlining 'Critical Path CSS' specifically for the above-the-fold viewport. 4) Identify heavy third-party marketing scripts (e.g., GTM, Hotjar) delaying the 'Main Thread' and mandate a Web Worker offloading strategy utilizing tools like 'Partytown'. Output a 'Performance Optimization Roadmap' detailing the exact steps for engineering to slash the 'Time to Interactive' (TTI) metric.

Example Text Output

"The agent highlights that 80% of the main CSS bundle is unused on the homepage and provides a plan to split the CSS into 'layout' and 'component' files."

More AI Portraits Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Site Speed CSS/JS Minification and Bundle Impact Agent" prompt used for?

The agent highlights that 80% of the main CSS bundle is unused on the homepage and provides a plan to split the CSS into 'layout' and 'component' files.

Which AI tools work with this prompt?

This prompt is optimized for Gemini / ChatGPT / Claude, but works great with ChatGPT, Claude, Gemini, and other large language models. Simply copy it and paste it into your preferred AI tool.

How do I customize this prompt?

Use the variable fields above to fill in your specific details. The prompt will auto-update as you type, ready to copy instantly.

Is this prompt free?

Yes! All prompts on Blenra are free to copy and use immediately. No account required.