Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Next.js 15 App Router patterns and best practices.
.claude/skills/aiskillstore-nextjs-15-patterns/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-06 | ✗→✓ | ▲ Improved | 165% | 0% |
| case-01 | ✓→✓ | = Same ✓ | 28% | 0% |
| case-02 | ✓→✓ | = Same ✓ | 27% | 0% |
| case-03 | ✓→✓ | = Same ✓ | 27% | 0% |
| case-04 | ✓→✓ | = Same ✓ | 51% | 0% |
typescript// app/users/page.tsx - Server Component (default) export default async function UsersPage() { const users = await getUsers(); // Direct DB access return <UserList users={users} />; }
typescript// components/counter.tsx 'use client'; import { useState } from 'react'; export function Counter() { const [count, setCount] = useState(0); return <button onClick={() => setCount(c => c + 1)}>{count}</button>; }
typescript// actions/user-actions.ts 'use server'; import { revalidatePath } from 'next/cache'; import { z } from 'zod'; const CreateUserSchema = z.object({ name: z.string().min(1), email: z.string().email(), }); export async function createUser(formData: FormData) { const validated = CreateUserSchema.safeParse({ name: formData.get('name'), email: formData.get('email'), }); if (!validated.success) { return { error: validated.error.flatten() }; } const user = await db.insert(users).values(validated.data).returning(); revalidatePath('/users'); return { data: user }; }
typescript// Direct async/await - no useEffect needed async function UserProfile({ id }: { id: string }) { const user = await getUser(id); if (!user) notFound(); return <Profile user={user} />; }
typescript// app/users/loading.tsx export default function Loading() { return <UserListSkeleton />; }
typescript// app/users/error.tsx 'use client'; export default function Error({ error, reset, }: { error: Error; reset: () => void; }) { return ( <div> <h2>Something went wrong</h2> <button onClick={reset}>Try again</button> </div> ); }
typescript// app/api/users/route.ts import { NextResponse } from 'next/server'; export async function GET() { const users = await getUsers(); return NextResponse.json(users); } export async function POST(request: Request) { const body = await request.json(); const user = await createUser(body); return NextResponse.json(user, { status: 201 }); }
typescript// app/users/[id]/page.tsx import { Metadata } from 'next'; export async function generateMetadata({ params, }: { params: { id: string }; }): Promise<Metadata> { const user = await getUser(params.id); return { title: user?.name ?? 'User', description: `Profile for ${user?.name}`, }; }
app/
├── @modal/
│ └── (.)photo/[id]/page.tsx # Intercepted modal
├── layout.tsx
└── page.tsx| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | pass→pass | 8,775 | 12,117 | +38% | 1 | 1 | 0% | 1,722 | 2,202 | +28% | 0 | 0 | — |
case-02 | pass→pass | 20,519 | 12,881 | -37% | 1 | 1 | 0% | 2,809 | 3,565 | +27% | 0 | 0 | — |
case-03 | pass→pass | 10,976 | 9,176 | -16% | 1 | 1 | 0% | 2,070 | 2,624 | +27% | 0 | 0 | — |
case-04 | pass→pass | 11,607 | 13,197 | +14% | 1 | 1 | 0% | 1,566 | 2,357 | +51% | 0 | 0 | — |
case-05 | pass→pass | 7,293 | 11,849 | +62% | 1 | 1 | 0% | 1,293 | 2,007 | +55% | 0 | 0 | — |
case-06 | fail→pass | 3,260 | 8,015 | +146% | 1 | 1 | 0% | 539 | 1,427 | +165% | 0 | 0 | — |
case-07 | pass→pass | 3,872 | 8,984 | +132% | 1 | 1 | 0% | 769 | 1,659 | +116% | 0 | 0 | — |
case-08 | pass→pass | 14,687 | 6,428 | -56% | 1 | 1 | 0% | 1,854 | 2,118 | +14% | 0 | 0 | — |
case-09 | pass→pass | 9,455 | 8,098 | -14% | 1 | 1 | 0% | 740 | 1,362 | +84% | 0 | 0 | — |
case-10 | pass→pass | 5,118 | 3,557 | -31% | 1 | 1 | 0% | 989 | 1,475 | +49% | 0 | 0 | — |
case-11 | pass→pass | 11,018 | 9,258 | -16% | 1 | 1 | 0% | 2,049 | 2,560 | +25% | 0 | 0 | — |
case-12 | pass→pass | 8,727 | 8,871 | +2% | 1 | 1 | 0% | 701 | 1,433 | +104% | 0 | 0 | — |
case-13 | pass→pass | 4,809 | 11,412 | +137% | 1 | 1 | 0% | 755 | 1,935 | +156% | 0 | 0 | — |
case-14 | pass→pass | 19,091 | 16,470 | -14% | 1 | 1 | 0% | 2,587 | 3,338 | +29% | 0 | 0 | — |
case-15 | pass→pass | 9,788 | 8,349 | -15% | 1 | 1 | 0% | 814 | 1,399 | +72% | 0 | 0 | — |
case-16 | pass→pass | 10,196 | 13,957 | +37% | 1 | 1 | 0% | 968 | 1,794 | +85% | 0 | 0 | — |
case-17 | pass→pass | 17,968 | 10,089 | -44% | 1 | 1 | 0% | 2,094 | 2,786 | +33% | 0 | 0 | — |
case-18 | pass→pass | 15,775 | 13,703 | -13% | 1 | 1 | 0% | 1,773 | 2,302 | +30% | 0 | 0 | — |
case-19 | pass→pass | 5,225 | 13,056 | +150% | 1 | 1 | 0% | 729 | 2,077 | +185% | 0 | 0 | — |
case-20 | pass→pass | 13,388 | 29,231 | +118% | 1 | 1 | 0% | 1,748 | 2,704 | +55% | 0 | 0 | — |
case-21 | pass→pass | 10,031 | 10,094 | +1% | 1 | 1 | 0% | 1,511 | 2,244 | +49% | 0 | 0 | — |
case-22 | pass→pass | 11,423 | 22,804 | +100% | 1 | 1 | 0% | 1,867 | 2,146 | +15% | 0 | 0 | — |
case-23 | pass→pass | 16,866 | 10,277 | -39% | 1 | 1 | 0% | 788 | 1,853 | +135% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 23 cases were attempted. The headline lift of +4 percentage points is the difference between those two pass rates over the 23 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.