adynato-web-api
Web API development conventions for Adynato projects. Covers API routes, middleware, authentication, error handling, validation, and response formats for Next.js and Node.js backends. Use when building or modifying API endpoints, server actions, or backend logic.
npx skills add majiayu000/claude-skill-registry --skill adynato-web-api --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Web API Skill Use this skill when building APIs for Adynato web projects. ## Stack - **Framework**: Next.js API Routes or App Router Route Handlers - **Validation**: Zod - **Auth**: NextAuth.js / Auth.js - **Database**: Prisma + PostgreSQL - **Rate Limiting**: Upstash ## Route Handlers (App Router) ### Basic Structure ``` app/ └── api/ ├── auth/ │ └── [...nextauth]/ │ └── route.ts ├── users/ │ ├── route.ts # GET /api/users, POST /api/users │ └── [id]/ │ └── route.ts # GET/PATCH/DELETE /api/users/:id └── health/ └── route.ts ``` ### Route Handler Pattern ```typescript // app/api/users/route.ts import { NextRequest, NextResponse } from 'next/server' import { z } from 'zod' import { prisma } from '@/lib/prisma' import { auth } from '@/lib/auth' const createUserSchema = z.object({ email: z.string().email(), name: z.string().min(1).max(100), }) export async function GET(request: NextRequest) { try { const session = await auth() if (!session) { return NextResponse.json( { error: 'Unauthorized' }, { status: 401 } ) } const users = await prisma.user.findMany({ select: { id: true, email: true, name: true }, }) return NextResponse.json({ data: users }) } catch (error) { console.error('GET
- Stack
- Route Handlers (App Router)
- Basic Structure
- Route Handler Pattern
- Dynamic Route Handler
- Response Format
- Success Responses
- Error Responses
- Validation with Zod
- Schema Definition
- Query Parameter Validation
- Authentication
- Auth Check Helper
- Protected Route Pattern
What does the adynato-web-api skill do?
Web API development conventions for Adynato projects. Covers API routes, middleware, authentication, error handling, validation, and response formats for Next.js and Node.js backends. Use when building or modifying API endpoints, server actions, or backend logic.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill adynato-web-api --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
