backend-api

Generate Next.js 15 App Router API endpoints with Zod validation and authentication.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/TheKeithStewart/claude-workflows --skill backend-api-thekeithstewart
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: backend-api
Source: https://github.com/TheKeithStewart/claude-workflows/tree/main/example-orchestrator-workflow/.claude/skills/backend-api
Command: npx skills add https://github.com/TheKeithStewart/claude-workflows --skill backend-api-thekeithstewart

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the development of Next.js 15 App Router API endpoints and service layer classes, enforcing best practices for authentication, validation, and error handling. It reduces boilerplate and ensures consistent, secure backend logic.

Core Features & Use Cases

  • Automated Endpoint Creation: Generate new API routes with Zod validation, comprehensive error handling, and optional authentication checks.
  • Singleton Service Pattern: Implement business logic in reusable, testable service classes following the required singleton pattern.
  • External API Integration: Seamlessly integrate with external services like Reddit and OpenAI, handling caching, rate limiting, and structured data.
  • Use Case: Create a new protected POST API endpoint at 'ingest/data' that requires authentication, validates incoming data with Zod, calls a service to process it, and ensures only authorized requests are accepted.

Quick Start

Create a new protected POST API endpoint at 'ingest/data' that requires authentication.