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 Frontend Performance Architect. Script an agent to analyze [JS_CSS_INVENTORY] based on a Chrome DevTools [COVERAGE_REPORT]. The agent must: 1. Identify 'Unused CSS' and 'Dead JS' percentages. 2. Recommend 'Code Splitting' strategies for [PLATFORM] to reduce initial bundle size. 3. Suggest 'Critical CSS' inlining for the above-the-fold content. 4. Identify third-party scripts that are delaying the 'Main Thread' and suggest 'Partytown' or 'Web Worker' offloading. Output a 'Performance Optimization Roadmap' with specific instructions for the engineering team on how to reduce 'Time to Interactive' (TTI).

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.