Install any skill in seconds. Free to start, no credit card required.
Get Started Free →rohitg00/frontend-excellence
Modern frontend patterns for React Server Components, performance optimization, and Core Web Vitals
Passed 24 of 24 test cases with the skill, and 23 of 24 without it.
1 fixed23 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
A test case the skill fixed. Same model, same prompt, with and without the skill.
Our landing page is getting poor Core Web Vitals performance scores due to delayed hero image painting, layout movement during font rendering, and layout shifts from media elements. Please give me an optimized code example for loading above-the-fold media and custom fonts that addresses these rendering delays and instability issues.
| Checked | Without skill | With skill |
|---|---|---|
| Uses next/image for image rendering. | Missed | Passed |
| Includes priority prop on the hero image component. | Missed | Passed |
| Configures fonts using next/font package. | Missed | Passed |
| Sets display to swap in font configuration options. | Passed | Passed |
The instructions your model reads when the skill loads.
Server Components run on the server and send rendered HTML to the client. They can directly access databases, filesystems, and internal APIs without exposing them to the browser.
// app/products/page.tsx (Server Component by default)
async function ProductsPage() {
const products = await db.query("SELECT * FROM products WHERE active = true");
return (
<main>
<h1>Products</h1>
<ProductList products={products} />
<AddToCartButton /> {/* Client Component */}
</main>
);
}
Rules:
useState, useEffect, or browser APIs'use client' at the top of the file'use client' boundary as deep in the tree as possibleimport { Suspense } from 'react';
export default function Dashboard() {
return (
<div>
<Header /> {/* renders immediately */}
<Suspense fallback={<ChartSkeleton />}>
<AnalyticsChart /> {/* streams when ready */}
</Suspense>
<Suspense fallback={<TableSkeleton />}>
<RecentOrders /> {/* streams independently */}
test cases passed, vs 23 / 24 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.