Install any skill in seconds. Free to start, no credit card required.
Get Started Free →onewave-ai/api-endpoint-scaffolder
Generate REST API endpoints with proper structure, validation, error handling, and types.
Passed 20 of 22 test cases with the skill, and 18 of 22 without it.
2 fixed18 passed either way2 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
Write a Next.js App Router POST handler in TypeScript to handle user registration. A developer suggested returning status 200 with `{ created: true }` upon success. Provide the route implementation.
| Checked | Without skill | With skill |
|---|---|---|
| The handler returns HTTP status code 201 for successful resource creation. | Missed | Passed |
The instructions your model reads when the skill loads.
When creating a new API endpoint:
// app/api/[resource]/route.ts
import { NextRequest, NextResponse } from 'next/server';
import { z } from 'zod';
const RequestSchema = z.object({
// Define your schema
});
export async function GET(request: NextRequest) {
try {
const { searchParams } = new URL(request.url);
// Implementation
return NextResponse.json({ data }, { status: 200 });
} catch (error) {
console.error('[API] Error:', error);
return NextResponse.json(
{ error: 'Internal server error' },
{ status: 500 }
);
}
}
export async function POST(request: NextRequest) {
try {
test cases passed, vs 18 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.