API Route Generator Skill

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

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/alldigitalrewards/changemaker-minimal --skill api-route-generator-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: API Route Generator Skill
Source: https://github.com/alldigitalrewards/changemaker-minimal/tree/main/.claude/archive/skills-old-20251112/api-route-generator
Command: npx skills add https://github.com/alldigitalrewards/changemaker-minimal --skill api-route-generator-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires zod.

What problem does it solve?

Manually creating new API routes that adhere to strict security, consistency, and multi-tenant isolation patterns can be repetitive and prone to errors. This skill automates the generation of API routes and their corresponding tests, ensuring adherence to Changemaker's architecture.

Core Features & Use Cases

  • Pattern-Based Generation: Creates API routes following established Next.js App Router patterns for CRUD operations and custom actions.
  • Built-in Security: Automatically includes authentication, workspace isolation, and role-based access control.
  • Type-Safe & Validated: Integrates Zod schemas for input validation and ensures TypeScript type safety.
  • Use Case: When you need to add CRUD (Create, Read, Update, Delete) endpoints for a new Submission database model, this skill will generate the necessary route files, populate them with boilerplate code including auth and workspace filtering, and create a corresponding test file, saving significant development time.

Quick Start

Generate API endpoints for a new Submission model, including list, create, read, update, and delete operations. Ensure they enforce workspace isolation and include basic validation.