/seri-api

Generate Next.js API routes with Prisma, Neon PostgreSQL, and JWT auth.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/abdoulayesow/pharmacy-guinea-app-002-2026 --skill seri-api
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: /seri-api
Source: https://github.com/abdoulayesow/pharmacy-guinea-app-002-2026/tree/main/.claude/skills/seri-api
Command: npx skills add https://github.com/abdoulayesow/pharmacy-guinea-app-002-2026 --skill seri-api

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates the generation of backend API routes for Next.js apps, streamlining data access layers with a consistent, scalable pattern.

Core Features & Use Cases

  • Automated API Route Generation: Create CRUD routes under src/app/api/ for resources with Prisma and Neon PostgreSQL integration.
  • Authentication: Includes JWT-based auth middleware to protect endpoints.
  • Sync & Offline: Handles sync payloads from offline clients to keep data consistent.
  • Use Case: When building a new SaaS with Next.js and PostgreSQL, generate standardized API endpoints with authentication and sync support in minutes.

Quick Start

Run the Seri API generator in your Next.js project to scaffold route handlers and auth middleware for a new resource like products, then customize as needed.

Frequently Asked Questions about /seri-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Next.js API routes with Prisma and Neon PostgreSQL?

To generate Next.js API routes with Prisma and Neon PostgreSQL, use this skill to scaffold CRUD route handlers under src/app/api/. It integrates Prisma client queries with a Neon database connection to provide standardized, scalable data access layers.

Can I add JWT authentication to generated Next.js API routes?

Yes, you can add JWT authentication to generated Next.js API routes. The skill includes JWT-based auth middleware to protect endpoints and provides a configured authentication helper example for securing backend services.

Does this skill support offline sync for Next.js backend services?

Yes, this skill supports offline sync for Next.js backend services. It handles sync payloads from offline clients to keep PostgreSQL data consistent, making it suitable for small to mid-sized apps requiring offline capabilities.

What do I need to set up before scaffolding Next.js API endpoints with Prisma?

Before scaffolding Next.js API endpoints, you need a Node.js environment with Next.js installed, a Prisma client configured, an active Neon PostgreSQL connection, and a configured JWT authentication helper.

What is the best way to create authenticated CRUD endpoints in a Next.js SaaS app?

The best way to create authenticated CRUD endpoints in a Next.js SaaS app is using this skill to generate standardized API routes with Prisma, Neon PostgreSQL, and JWT authentication in minutes.