Install any skill in seconds. Free to start, no credit card required.
Get Started Free →microck/rsc-data-optimizer
Optimize Next.js App Router data fetching by converting slow client-side fetching to fast server-side fetching using React Server Components (RSC).
Passed 18 of 22 test cases with the skill, and 19 of 22 without it.
1 fixed17 passed either way2 still failing2 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.
We are auditing several React pages in our app directory that currently perform fetching on the browser side. Could you provide a practical approach to diagnose these components, split out interactive UI hooks into dedicated client pieces, and transform the main page into an async server component?
| Checked | Without skill | With skill |
|---|---|---|
| Recommends ripgrep commands targeting TSX files to locate browser fetching anti-patterns | Missed | Passed |
| Presents a 3-step workflow where interactive hooks are moved into client components that receive server data via props | Missed | Passed |
| Includes a type adapter pattern to map database model structures to frontend component props | Missed | Passed |
The instructions your model reads when the skill loads.
Optimize slow client-side data fetching to instant server-side rendering.
Search for these anti-patterns in the codebase:
# Find client-side fetching patterns
rg -n "useEffect.*fetch|useState.*loading|useStore\(\)" --type tsx
rg -n '"use client"' app/ --type tsx
Red flags:
"use client" + useEffect + fetch() = slow initial loaduseState(true) for isLoading = user sees spinneruseStore() or useContext for initial page data = waterfall fetchingDetermine what data the page needs on initial render:
Move sections with useInView, useState, onClick to separate Client Components:
// components/data-section.tsx
"use client";
interface DataSectionProps {
data: Item[]; // Receive data as props
}
export function DataSection({ data }: DataSectionProps) {
test cases passed, vs 19 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.