Agent skill · Backend & API

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.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
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.

Facts
Files in the skill folder: 2
SKILL.md size: 8 KB
Bundled scripts: none
Path: skills/api/adynato-web-api/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Stack
  2. Route Handlers (App Router)
  3. Basic Structure
  4. Route Handler Pattern
  5. Dynamic Route Handler
  6. Response Format
  7. Success Responses
  8. Error Responses
  9. Validation with Zod
  10. Schema Definition
  11. Query Parameter Validation
  12. Authentication
  13. Auth Check Helper
  14. Protected Route Pattern
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
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.

Keep going