Blenra
Optimized for: Gemini / ChatGPT / Claude

Advanced AI Prompt for Lighthouse Performance Regression CI

Use this engineered prompt to drastically optimize your workflow and output.

Required Variables

  • [URL_LIST]
  • [PERF_BUDGET]
  • [REPORT_DIR]
lighthouse-performance-regression-ci.txt
Design a GitHub Actions workflow that acts as a performance gate using Lighthouse CI. The workflow should: 1) Deploy a preview version of the site or use a staging URL from [URL_LIST]. 2) Run Lighthouse audits for Performance, Accessibility, and SEO. 3) Compare results against a [PERF_BUDGET] (e.g., score > 90). 4) Fail the build if budgets are not met. 5) Upload the HTML reports to [REPORT_DIR] and link them in the PR comment.

Example Output

"A front-end quality YAML using 'treosh/lighthouse-ci-action' to enforce web performance standards on every pull request."