Agent skill · software engineering · aiskillstore

api-endpoint-creation

Next.js 15+ API endpoint creation patterns with Supabase and workspace validation

Why this skill is useful

Provides specific Next.js 15+ API endpoint patterns with Supabase integration that the AI wouldn't reliably generate on its own.

What it needs

Requires supabase account access. About 1k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

API Endpoint Creation Skill Next.js 15+ API Route Patterns When to Use: Creating new API endpoints in src/app/api/ --- Standard Pattern --- POST Endpoint Pattern --- Required Imports --- Checklist [ ] Use withErrorBoundary wrapper [ ] Validate workspaceid from query params [ ] Call validateUserAndWorkspace [ ] Use getSupabaseServer() for DB access [ ] Filter ALL queries by workspaceid [ ] Return successResponse or errorResponse [ ] Handle errors properly [ ] Add TypeScript types --- Standard: Every API route MUST validate workspace and filter by workspaceid

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/api-endpoint-creation

View the source on GitHub

Browse the @skills marketplace