frontend-performance-review
Skill27 starsChanged 8 months agoMITView on GitHub
Review Laravel frontend performance, responsiveness, and Lighthouse-impacting best practices.
In this repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- api-hardening-patternsSkill
- data-migration-strategySkill
- deployment-readinessSkill
- migration-index-reviewerSkill
- resilient-checkSkill
- upgrade-assistantSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Use this skill when reviewing a Laravel project's frontend for slow page loads, weak Lighthouse scores, layout instability, mobile …
- Distinctive: line 33
If Lighthouse concerns are part of the request, focus recommendations on likely wins for Performance, Accessibility, Best Practices, and …
- Distinctive: line 35
Keep the answer practical and prioritized.
- Distinctive: line 77
Run the skill on a Laravel frontend that uses large images, shared JS entrypoints, and mobile-heavy layouts.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Frontend Performance Review
When to use
Use this skill when reviewing a Laravel project's frontend for slow page loads, weak Lighthouse scores, layout instability, mobile responsiveness issues, or generally inefficient UI implementation. It is most useful for Blade, Livewire, Inertia, Vue, React, Alpine, and Vite-based Laravel apps.
Input parameters
- The frontend area, route, or page flow to inspect.
- Relevant Blade, Livewire, Inertia, Vue, React, Tailwind, or Vite files.
- Known performance complaints such as slow first load, poor mobile UX, or weak Lighthouse scores.
- Constraints such as SEO goals, mobile-first requirements, or Core Web Vitals targets.
- Whether images, third-party scripts, charts, maps, or heavy UI libraries are involved.
Procedure
- Identify the frontend stack and rendering path. Inspect Blade views, Livewire components, Inertia pages, frontend components,
vite.config.*, asset entrypoints, Tailwind usage, and any CDN, cache, or image pipeline configuration. - Review the critical rendering path. Look for oversized JS or CSS bundles, blocking scripts, unused assets, poor code splitting, large images, webfont issues, layout shifts, missing lazy loading, and expensive above-the-fold components.
- Review responsiveness and runtime UX. Check mobile breakpoints, overflow issues, cumulative layout shift, interaction latency, heavy DOM trees, unnecessary re-renders, chatty Livewire updates, and components that degrade badly on smaller screens.
- Focus on Laravel-specific frontend tradeoffs. Review Vite entrypoints, dynamic imports, Blade partial reuse, Livewire request frequency, Inertia page payloads, asset versioning, cache headers, image storage patterns, and how third-party scripts are loaded.
- If Lighthouse concerns are part of the request, focus recommendations on likely wins for Performance, Accessibility, Best Practices, and SEO without padding the response with generic score advice.
- Return findings under
Critical issues,Performance improvements,Responsive UX issues,Lighthouse opportunities, andValidation steps. Point each recommendation to the relevant file, component, asset, or rendering layer. - Keep the answer practical and prioritized. Favor the smallest high-impact changes first, and avoid generic frontend advice that is not grounded in the actual Laravel app structure.
Output expectations: return the highest-impact performance and responsiveness issues first, then concrete Laravel-appropriate fixes and the validation steps needed to confirm improvement.
Examples
Prompt 1:
Use frontend-performance-review on this Laravel + Livewire app. Focus on slow mobile load times, layout shifts, and anything hurting Lighthouse performance.Prompt 2:
Review this Laravel Inertia + Vue frontend for responsiveness and performance. Prioritize bundle size, image handling, route-level code splitting, and Core Web Vitals.JSON:
{
"skill": "frontend-performance-review",
"context": {
"stack": ["laravel", "vite", "inertia", "vue", "tailwind"],
"focus": ["lighthouse", "responsiveness", "bundle_size", "images", "core_web_vitals"],
"files": ["resources/js", "resources/views", "vite.config.js"],
"targets": ["mobile_homepage", "dashboard"]
}
}Code example:
const AnalyticsPage = defineAsyncComponent(() =>
import('./Pages/AnalyticsPage.vue')
);Smoke test
Run the skill on a Laravel frontend that uses large images, shared JS entrypoints, and mobile-heavy layouts. Verify that the response flags concrete performance bottlenecks, responsive UX issues, and Laravel-specific improvements such as Vite code splitting, lazy loading, or Livewire/Inertia payload reductions.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

